CN114911390B - Display method and electronic equipment - Google Patents

Display method and electronic equipment Download PDF

Info

Publication number
CN114911390B
CN114911390B CN202210837948.7A CN202210837948A CN114911390B CN 114911390 B CN114911390 B CN 114911390B CN 202210837948 A CN202210837948 A CN 202210837948A CN 114911390 B CN114911390 B CN 114911390B
Authority
CN
China
Prior art keywords
window
floating
display
application
suspension
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210837948.7A
Other languages
Chinese (zh)
Other versions
CN114911390A (en
Inventor
张炳建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210837948.7A priority Critical patent/CN114911390B/en
Publication of CN114911390A publication Critical patent/CN114911390A/en
Application granted granted Critical
Publication of CN114911390B publication Critical patent/CN114911390B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The embodiment of the application provides a display method and electronic equipment. In the display method, when a user shakes the mobile phone, the electronic equipment can determine the window adjustment mode according to the focus window and the multi-window display condition of the electronic equipment, and displays the corresponding window adjustment animation to perform corresponding adjustment on the window, so that the operation of adjusting the window by the user is simplified, and the operation experience of the user is improved.

Description

Display method and electronic equipment
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a display method and electronic equipment.
Background
The application display technology is more and more widely used on electronic equipment. An electronic device can display a window of an application in various display methods, such as a floating window display, a split screen display, and the like.
The user can drag the floating window or the split screen window to adjust the display position of the window, so that the requirement of the display position of the floating window or the split screen window for an individual is met. However, the operation convenience of adjusting the display position of the window is poor, which results in poor operation experience of the user.
Disclosure of Invention
In order to solve the foregoing technical problems, embodiments of the present application provide a display method and an electronic device. In the method, the user can adjust the display window of the electronic equipment by shaking operation, so that the operation of adjusting the window by the user is simplified, and the operation experience of the user is improved.
In a first aspect, an embodiment of the present application provides a display method. The method is applied to the electronic equipment and comprises the following steps:
in response to a shaking operation on the electronic device, the electronic device determines a focus window thereof; the electronic equipment executes window display position interchange operation or window mode adjustment operation according to the type of the focus window and the multi-window display condition of the electronic equipment; the multi-window display condition at least comprises a split screen window, a suspension window and a suspension ball.
Therefore, the electronic equipment can determine the window adjusting mode according to the focus window and the multi-window display condition, and display the corresponding window adjusting animation to correspondingly adjust the window, so that the operation of adjusting the window by a user is simplified, and the operation experience of the user is improved.
According to the first aspect, the electronic device may perform a window display position interchanging operation or a window mode adjusting operation according to a type of a focus window and a multi-window display condition of the electronic device, and the performing may include:
and when the type of the focus window is the floating window, the electronic equipment executes window display position interchange operation or window mode adjustment operation according to the floating window display quantity threshold and the multi-window display condition of the electronic equipment.
According to the first aspect, or any implementation manner of the first aspect above, the executing, by the electronic device, a window display position interchanging operation or a window mode adjusting operation according to the floating window display number threshold and a multi-window display condition of the electronic device may include: when the threshold value of the display quantity of the suspension windows is 1, if the multi-window display condition indicates that a first suspension window exists and a suspension ball exists in the suspension ball container, adjusting the stack top suspension ball of the suspension ball container to be a second suspension window, and adjusting the first suspension window to be the suspension ball and placing the suspension ball into the suspension ball container.
The suspension ball container refers to a container for storing suspension balls, and the data structure of the suspension ball container is a stack. The stack top suspension ball refers to a suspension ball positioned at the top of the stack.
According to the first aspect, or any implementation manner of the first aspect above, the executing, by the electronic device, a window display position interchanging operation or a window mode adjusting operation according to the floating window display number threshold and a multi-window display condition of the electronic device may include: when the threshold of the display quantity of the floating windows is 2, if the multi-window display condition indicates that a third floating window and a fourth floating window exist, the electronic equipment interchanges the display positions of the third floating window and the fourth floating window.
According to the first aspect, or any implementation manner of the first aspect, the executing, by the electronic device, the window display position exchange operation or the window mode adjustment operation according to the floating window display number threshold and the multi-window display condition of the electronic device may include: when the threshold of the display number of the floating windows is 2, if the multi-window display condition indicates that a fifth floating window and a sixth floating window exist, and the fifth floating window is a focus window, the electronic equipment adjusts the stack top floating ball of the floating ball container to be a seventh floating window and adjusts the fifth floating window to be a floating ball and puts the floating ball into the floating ball container when the multi-window display condition indicates that the floating ball exists in the floating ball container.
According to the first aspect, or any implementation manner of the first aspect above, the executing, by the electronic device, a window display position interchanging operation or a window mode adjusting operation according to the floating window display number threshold and a multi-window display condition of the electronic device may include: and if the threshold of the display number of the suspension windows is larger than 1 and the multi-window display condition indicates that the number of the currently displayed suspension windows is smaller than the threshold of the display number of the suspension windows, the electronic equipment adjusts the top-of-stack suspension balls of the suspension ball container to be the eighth suspension window when the suspension balls exist in the suspension ball container.
According to the first aspect, or any implementation manner of the first aspect above, the executing, by the electronic device, the window display position exchange operation or the window mode adjustment operation according to the type of the focus window and the multi-window display condition of the electronic device may include: when the type of the focus window is a split-screen window, if the multi-window display condition indicates that a first split-screen application window and a second split-screen application window exist, the electronic equipment interchanges the display positions of the first split-screen application window and the second split-screen application window.
According to the first aspect, or any implementation manner of the first aspect above, the performing, by the electronic device, a window display position interchanging operation or a window mode adjusting operation according to the type of the focus window and a multi-window display condition of the electronic device may include: when the type of the focus window is a split screen window, if the multi-window display condition indicates that a split screen selector window and a ninth floating window exist and the number of currently displayed floating windows is one, the electronic equipment adjusts the ninth floating window into the split screen window and replaces the split screen selector window; wherein the split screen selector window is for selecting a split screen application.
According to the first aspect, or any implementation manner of the first aspect above, the performing, by the electronic device, a window display position interchanging operation or a window mode adjusting operation according to the type of the focus window and a multi-window display condition of the electronic device may include: when the type of the focus window is a full-screen window, if the multi-window display condition indicates that the floating ball exists in the floating ball container and the floating window does not exist, the electronic equipment adjusts the stack top floating ball of the floating ball container to be the tenth floating window.
According to the first aspect, or any implementation manner of the first aspect above, the executing, by the electronic device, the window display position exchange operation or the window mode adjustment operation according to the type of the focus window and the multi-window display condition of the electronic device may include: when the type of the focus window is a full-screen window, if the multi-window display condition indicates that the floating balls exist in the floating ball container and the number of the current floating windows does not reach the threshold value of the display number of the floating windows, the electronic equipment adjusts the stack top floating balls of the floating ball container to be the eleventh floating window.
According to the first aspect, or any implementation manner of the first aspect above, an electronic device performs a window display position interchanging operation or a window mode adjusting operation, including: the electronic device performs animation corresponding to a window display position exchanging operation or a window mode adjusting operation.
For example, the animation corresponding to the window display position exchanging operation or the window mode adjusting operation may be a floating ball output animation, a floating ball receiving animation, a split-screen window position exchanging animation, a floating window position exchanging animation, or the like.
Therefore, the window adjusting mode is displayed in an animation mode, and the visual experience of a user is improved.
In a second aspect, an embodiment of the present application provides an electronic device. The electronic device includes: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored on the memory and, when executed by the one or more processors, cause the electronic device to perform the display method of any one of the first aspect and the first aspect.
Any one implementation manner of the second aspect and the second aspect corresponds to any one implementation manner of the first aspect and the first aspect, respectively. For technical effects corresponding to any one implementation manner of the second aspect and the second aspect, reference may be made to the technical effects corresponding to any one implementation manner of the first aspect and the first aspect, and details are not repeated here.
In a third aspect, embodiments of the present application provide a computer-readable storage medium. The computer-readable storage medium includes a computer program that, when executed on an electronic device, causes the electronic device to perform the display method of any one of the first aspect and the first aspect.
Any one implementation manner of the third aspect corresponds to any one implementation manner of the first aspect. For technical effects corresponding to any one implementation manner of the third aspect and the third aspect, reference may be made to the technical effects corresponding to any one implementation manner of the first aspect and the first aspect, and details are not repeated here.
In a fourth aspect, embodiments of the present application provide a computer program product, which includes a computer program and when the computer program is executed, causes a computer to execute the display method according to the first aspect or any one of the first aspect.
Any one implementation manner of the fourth aspect and the fourth aspect corresponds to any one implementation manner of the first aspect and the first aspect, respectively. For technical effects corresponding to any one implementation manner of the fourth aspect and the fourth aspect, reference may be made to the technical effects corresponding to any one implementation manner of the first aspect and the first aspect, and details are not repeated here.
In a fifth aspect, the present application provides a chip comprising a processing circuit, a transceiver pin. Wherein the transceiver pin and the processing circuit are in communication with each other via an internal connection path, the processing circuit performing the display method of any one of the first aspect or the first aspect to control the receiver pin to receive signals and to control the transmitter pin to transmit signals.
Any one implementation manner of the fifth aspect and the fifth aspect corresponds to any one implementation manner of the first aspect and the first aspect, respectively. For technical effects corresponding to any one of the implementation manners of the fifth aspect and the fifth aspect, reference may be made to the technical effects corresponding to any one of the implementation manners of the first aspect and the first aspect, and details are not repeated here.
Drawings
FIGS. 1 a-1 b are exemplary illustrations of an application scenario;
FIG. 2 is an exemplary illustration of an application scenario;
FIG. 3 is an exemplary illustration of an application scenario;
fig. 4 is a schematic diagram of a hardware configuration of an exemplary illustrated electronic device;
FIG. 5 is an outside view of an exemplary foldable-screen handset in an unfolded state of the inner screen;
FIG. 6 is an inside view of an exemplary foldable-screen handset in an unfolded state of the inside screen;
fig. 7 is a schematic diagram of a software structure of an exemplary electronic device;
8 a-8 b are exemplary illustrations of an application scenario;
FIGS. 9 a-9 c are exemplary illustrations of an application scenario;
FIG. 10 is an exemplary illustration of an application scenario;
FIGS. 11 a-11 b are exemplary illustrations of an application scenario;
FIGS. 12 a-12 b are exemplary illustrations of an application scenario;
FIG. 13 is an exemplary illustration of an application scenario;
FIG. 14 is a schematic block diagram of an exemplary module interaction provided in accordance with an embodiment of the present application;
fig. 15 is a schematic flowchart illustrating a method for determining window adjustment by a multi-window frame service according to an embodiment of the present application;
fig. 16 is a schematic flowchart illustrating a method for determining window adjustment by a multi-window frame service according to an embodiment of the present application;
fig. 17 a-17 b are exemplary illustrations of an application scenario.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The term "and/or" herein is merely an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The terms "first" and "second," and the like, in the description and in the claims of the embodiments of the present application are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first target object and the second target object, etc. are specific sequences for distinguishing different target objects, rather than describing target objects.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present application, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of processing units refers to two or more processing units; a plurality of systems refers to two or more systems.
The split screen functionality of the electronic device may enable a user to use multiple applications simultaneously or may enable a user to open multiple task windows of a single application simultaneously. For example, a user may quickly drag pictures, text, documents, etc. between split screen applications, or may quickly drag pictures, text, documents, etc. between multiple task windows of a single application. The user can adjust the display position of the split screen window according to personal requirements.
In an actual application scenario, the manner of simultaneously presenting multiple application windows in the electronic device may include a floating window display in addition to a split screen display. The floating window display is that on the basis of displaying one application task, a floating window (or called a floating window) is created, and another application task is displayed in the floating window. The user can drag, enlarge and reduce the floating window according to personal requirements.
The following description will be made by taking an electronic device as a mobile phone as an example.
Fig. 1 a-1 b show an exemplary application scenario. As shown in fig. 1a (1), after the mobile phone starts split screens (up and down split screens), the upper half screen displays a short message application window 101, and the lower half screen displays a gallery application window 102. At this time, the user can use the short message application and the gallery application at the same time. If the user considers that the positions of the short message application window 101 and the gallery application window 102 do not conform to personal use habits, the display positions of the short message application window 101 and the gallery application window 102 can be adjusted, that is, the display positions of the short message application window 101 and the gallery application window 102 can be exchanged. Illustratively, referring to fig. 1a (1), the user presses a long length of indicator bar 1011 in short message application window 101. In response to the user operation, the short message application window 101 displayed in the mobile phone is reduced, as shown in (2) of fig. 1 a. After the short message application window 101 is reduced, the user can drag the short message application window 101. With continued reference to fig. 1a (2), the user drags the reduced short message application window 101 from the current position to the direction of the display position of the gallery application window 102. Referring to fig. 1b (1), if the user releases his finger after dragging the reduced short message application window 101 to the gallery application window 102, the mobile phone, in response to the user operation, enlarges and displays the short message application window 101 on the lower half of the screen and displays the gallery application window 102 on the upper half of the screen. In this way, the user swaps the display positions of the short message application window 101 and the gallery application window 102 based on the long-press and drag operation on the split-screen application window.
Fig. 2 shows an exemplary further application scenario. As shown in fig. 2 (1), a calculator application floating window 201 and a floating ball container 202 are displayed on the mobile phone interface. Wherein the floating window can be minimized to a floating ball, stored in the floating ball container 202. In one embodiment, the data structure of the hover ball container is a stack. In the context of this application, the illustration is made by taking the example where only one hoverball is present in the hoverball container 202. Illustratively, the stack top of the hover ball container 202 is a memo application hover ball, and a memo application icon 203 is displayed on the hover ball container 202. At this time, if the user wants to open the memo application, the user may click on the hover ball container 202. In response to the user operation, the mobile phone maximizes the memo application hover ball into the memo application hover window 204, and minimizes the calculator application hover window into the calculator application hover ball container 202, which may be shown in fig. 2 (2). At this time, only the calculator application hover ball exists in the hover ball container 202, and an icon 205 of the calculator application is displayed on the hover ball container 202. In this way, the user adjusts the application levitation ball at the top of the levitation ball container stack to the application levitation window based on one-click operation on the levitation ball container.
Fig. 3 is a further exemplary application scenario. As shown in fig. 3 (1), a calculator application floating window 201 and a floating ball container 202 are displayed on the mobile phone interface. In the context of this application, the case where a plurality of (e.g., two) hovers are present in the hover ball container 202 will be explained. Illustratively, the stack top of the hover ball container 202 is a memo application hover ball, and a memo application icon 203 is displayed on the hover ball container 202. At this time, if the user wants to open the memo application, the user may click on the hover ball container 202. Since a plurality of application hovers currently exist in the hoverball container 202, the mobile phone displays the hover window task management window 206 in response to a user operation, as shown in fig. 3 (2). Each floating window task card displayed in the floating window task management window is used for displaying each floating window task which is minimized to be a floating ball at present. With continued reference to fig. 3 (2), in the floating window task management window 206, a memo application floating window task card 207 and a short message application floating window task card 208 are displayed, and a memo application floating ball corresponding to the memo application floating window task card 207 is located at the top of the stack of the floating ball container 202. The user clicks the memo application floating window task card 207, and the mobile phone, in response to the user operation, maximizes the memo application floating ball into the memo application floating window 204, and minimizes the calculator application floating window into the calculator application floating ball container 202 (the floating window task management window 206 is closed), which can be shown in fig. 2 (2). At this time, the stack top of the hover ball container 202 is a calculator application hover ball, and an icon 205 of the calculator application is displayed on the hover ball container 202. In this way, the user adjusts the application floating ball at the top of the floating ball container stack to the application floating window based on the clicking operation on the floating ball container and the floating window task card.
Similarly, taking a folding screen mobile phone as an example, if two floating windows are displayed on the folding screen mobile phone, the user can also drag the floating windows according to personal requirements, so as to interchange the display positions of the two floating windows.
In the application scenes, the user performs adjustment operation on the display position of the split-screen application window or the floating window and adjusts the application floating ball into the application floating window, so that the convenience is poor, and the operation experience of the user is poor.
In order to solve the above problem, an embodiment of the present application provides a display method. In the method, a user can adjust the display position of the split-screen application window or the suspension window by shaking the mobile phone, or adjust the application suspension ball into the application suspension window, so that the user operation is greatly simplified, and the operation experience of the user is improved.
Fig. 4 is a schematic structural diagram of the electronic device 100. Optionally, the electronic device 100 may be a terminal, which may also be referred to as a terminal device, and the terminal may be a device with a camera, such as a cellular phone (cellular phone) or a tablet computer (pad), which is not limited in this application. It should be noted that the schematic structural diagram of the electronic device 100 may be suitable for the bar-type electronic device (e.g., a mobile phone) in fig. 1a to fig. 3, and may also be suitable for a folding-screen device (e.g., a folding-screen mobile phone), and the like, which is not limited in this embodiment. It should be understood that the electronic device 100 shown in fig. 4 is only one example of an electronic device, and that the electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in fig. 4 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The electronic device 100 may include: the mobile terminal includes a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
Wherein the controller may be a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
The charging management module 140 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
When the electronic device is a folding screen electronic device, the display screen 194 may include a first display screen and a second display screen. The first display screen is used as an internal screen of the electronic device 100 for displaying an interface, an image, a video, and the like. The first display screen includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini-LED, a Micr-OLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), or the like. The second display screen is used as an external screen of the electronic device and is used for displaying images, videos or characters and other display styles preset by a user.
For example, the inner screen of the electronic device 100 may be configured as a foldable display screen, which is referred to as a foldable screen for short. The folding screen can adopt an integrally formed flexible display screen, a plurality of flexible display screens and a spliced display screen formed by hinges between every two flexible display screens, and a plurality of rigid screens and a spliced display screen formed by hinges between every two rigid screens. The embodiment of the present application does not limit this.
Illustratively, the electronic device 100 may be a folding screen handset. Fig. 5 and 6 are schematic diagrams illustrating the structure of a folding screen mobile phone. Referring to fig. 5 and 6, the display screen of the folding screen mobile phone includes an inner screen and an outer screen, the inner screen is a folding screen, and the size of the inner screen is larger than that of the outer screen. Fig. 5 is an outside schematic view of the mobile phone with the foldable screen in the unfolded state. Referring to fig. 5, a first portion 301 of the outside of the folding screen handset may be provided as an external screen of the folding screen handset and a second portion 302 may be provided as a handset housing. The first part 301 and the second part 302 on the outer side of the folding screen mobile phone can be provided with cameras. In other examples of the folding screen mobile phone, the first portion 301 and the second portion 302 of the outer side of the folding screen mobile phone outside the folding screen mobile phone may be both set as the outer screen of the folding screen mobile phone, and the first portion 301 and the second portion 302 of the outer side of the folding screen mobile phone may also be both set as the outer casing of the folding screen mobile phone. Fig. 6 is an inside schematic view of the inner screen of the folding screen mobile phone in an unfolded state. Referring to fig. 6, an inner screen (i.e., a folding screen) of a folding screen phone includes a first display unit 401 and a second display unit 402. The first display unit 401 and the second display unit 402 may display different display interfaces respectively, or may display one display interface together.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The camera 193 is used to capture still images or video. The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. Video codecs are used to compress or decompress digital video.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121, for example, so that the electronic device 100 implements the display method in the embodiment of the present application. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc. The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal.
Wherein the sensor module 180 may include a pressure sensor, a gyroscope sensor, an acceleration sensor, a temperature sensor, a motion sensor, an air pressure sensor, a magnetic sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
The pressure sensor is used for sensing a pressure signal and converting the pressure signal into an electric signal. In some embodiments, the pressure sensor may be disposed on the display screen 194. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor. In some embodiments, the touch operations that are applied to the same touch position but have different touch operation intensities may correspond to different operation instructions.
Touch sensors, also known as "touch panels". The touch sensor may be disposed on the display screen 194, and the touch sensor and the display screen form a touch screen, which is also called a "touch screen". The touch sensor is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided via the display screen 194.
The gyro sensor may be used to determine the motion pose of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by a gyroscope sensor.
The acceleration sensor may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The acceleration sensor can detect the magnitude and direction of gravity when the electronic device 100 is stationary. The acceleration sensor can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
In the present embodiment, the acceleration sensor may be used alone to determine whether the electronic device is shaken or not, or used together with the gyro sensor to determine whether the electronic device is shaken or not.
The buttons 190 include a power-on key (or power key), a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the electronic device 100.
Fig. 7 is a block diagram of a software configuration of the electronic device 100 according to the embodiment of the present application.
The layered architecture of the electronic device 100 divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android Runtime (Android Runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 7, the application package may include gallery, memo, short message, talk, calculator, calendar, camera, etc. applications. The application package may also include map, navigation, music, video, bluetooth, etc. applications.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 7, the application framework layer may include a Window Management Service (WMS), a multi-Window framework Service, a gesture recognition Service, an animation Service, a view system, a resource management Service, and the like.
The window management service is used to manage the window program. The window management service may obtain the size of the display screen, determine whether there is a status bar, lock the screen, intercept the screen, and the like.
In an embodiment of the present application, the window management service may also be configured to identify a current focus window (focus window) of the electronic device. The focus window refers to a window having a focus. The focus window is the only window that can receive keyboard input. The manner in which the focus window is determined is associated with the focus mode (focus mode) of the system. The top window of the focus window is called an active window. The focus window has a high probability of being the window that the user currently needs to use.
In the embodiment of the present application, the multi-window frame service is used for managing application windows, and the application windows include, but are not limited to, a split-screen application window, an application hover ball, and the like.
The shake detection service is used for detecting whether the electronic equipment generates a shake event (or a shake-shake event). The shake detection service may be an independent functional module, or may be integrated into other gesture detection services, which is not limited in this embodiment.
And the animation service is used for drawing and displaying the animation. In this embodiment, the animation drawn by the animation service includes, but is not limited to, an application split-screen window interchange animation, an application hover ball and application hover window interchange animation, and the like.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The resource management service provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The Android Runtime comprises a core library and a virtual machine. The Android Runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application layer and the application framework layer as binary files. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The core layer includes at least a display driver, a sensor driver, and the like. The hardware at least includes a processor, a display screen, a sensor (such as an acceleration sensor, a gyroscope sensor, etc.), and the like.
It is to be understood that the layers in the software structure shown in fig. 7 and the components included in each layer do not constitute a specific limitation of the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer layers than those shown, and may include more or fewer components in each layer, which is not limiting in the present application.
It is understood that, in order to implement the display method in the embodiment of the present application, the electronic device includes hardware and/or software modules for performing respective functions. The present application is capable of being implemented in hardware or a combination of hardware and computer software in conjunction with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application provides a display method. In the method, when a user shakes (or is called to shake, shake and shake) the electronic device, the electronic device can interchange the display positions of the split-screen application windows, also can interchange the display positions of the two application floating windows, and also can maximize the application floating ball into the application floating window for displaying and the like. In the following, each application scenario is explained by taking a mobile phone as an example.
Scene one
In this scenario, the mobile phone starts the split-screen display. When the user shakes the mobile phone, the display positions of the two split-screen application windows displayed on the mobile phone are interchanged. The bar-type mobile phone generally displays in an up-and-down split screen manner, the inner screen (i.e., the folded inner screen) of the folding-screen mobile phone generally displays in a left-and-right split screen manner, and the outer screen of the folding-screen mobile phone generally displays in an up-and-down split screen manner.
Fig. 8a shows an exemplary application scenario. In this application scenario, the vertical split screen display is opened for the bar phone as an example for explanation. As shown in fig. 8a (1), a split application window 501 (e.g., a short message application window) is displayed on a first split screen (e.g., the top half) of the mobile phone, and a split application window 502 (e.g., a gallery application window) is displayed on a second split screen (e.g., the bottom half) of the mobile phone. At this time, if the user shakes the cellular phone, the cellular phone responds to the shaking operation of the user, and the split application window 501 and the split application window 502 interchange positions, as shown in (2) in fig. 8 a. At this time, a split application window 502 (e.g., a gallery application window) is displayed on a first split screen (e.g., the upper half split screen) of the mobile phone, and a split application window 501 (e.g., a short message application window) is displayed on a second split screen (e.g., the lower half split screen) of the mobile phone.
Fig. 8b shows an exemplary application scenario. In this application scenario, the inner screen of the folding screen mobile phone is opened to display left and right split screens as an example for explanation. As shown in fig. 8b (1), a split application window 601 (e.g., a gallery application window) is displayed on a first split screen (e.g., a left half split screen) of the mobile phone, and a split application window 602 (e.g., a short message application window) is displayed on a second split screen (e.g., a right half split screen) of the mobile phone. At this time, if the user shakes the cellular phone, the cellular phone exchanges positions of the split application window 601 and the split application window 602 in response to the shaking operation by the user, as shown in (2) in fig. 8 b. At this time, a split application window 602 (e.g., a short message application window) is displayed on a first split screen (e.g., a left half-split screen) of the mobile phone, and a split application window 601 (e.g., a gallery application window) is displayed on a second split screen (e.g., a right half-split screen) of the mobile phone.
Regarding the situation that the external screen of the folding-screen mobile phone is opened for the up-and-down split-screen display, the explanation about the up-and-down split-screen display of the bar-type mobile phone can be referred to, and the details are not repeated herein.
In the scene, when the display positions of the split-screen application windows are interchanged by the mobile phone, the display position interchange animation of the split-screen application windows can be executed, so that the visual experience of a user is improved.
Therefore, under the condition of split-screen display of the mobile phone, if a user shakes the mobile phone, the two split-screen application windows displayed by the mobile phone exchange display positions, so that the operation of exchanging the display positions of the split-screen application windows by the user is greatly simplified, and the operation experience of the user is improved.
Scene two
In this scenario, taking a bar phone as an example, when the user shakes the phone, the top of the stack of the floating ball container is maximized to be the application floating window.
Fig. 9a shows an exemplary application scenario. As shown in (1) in fig. 9a, in the application scenario, a hover ball container 701 is displayed on the mobile phone, a plurality of application hover balls exist in the hover ball container 701, and the application hover ball on the top of the stack is a memo application hover ball. Since the hover ball applied to the top of the hover ball container 701 is the memo application hover ball, a memo application icon 702 is displayed on the hover ball container 701. At this time, if the user shakes the mobile phone, the mobile phone maximizes the top application hover of the hover container 701 as the application hover window, for example, maximizes the memo application hover as the memo application hover window 703 in response to the user's shake operation, as shown in (2) of fig. 9 a. At this time, assuming that the top application hover ball of the hover ball container 701 becomes the calculator application hover ball, an icon 704 for the calculator application is displayed on the hover ball container 701.
Fig. 9b shows an exemplary application scenario. As shown in (1) in fig. 9b, in the application scenario, a floating ball container 701 is displayed on the mobile phone, and only one application floating ball, for example, a calculator application floating ball, exists in the floating ball container 701. At this time, the calculator application levitation ball is the stack top application levitation ball and the stack bottom application levitation ball of the levitation ball container 701. Since the top application hover ball of the hover ball container 701 is the calculator application hover ball, an icon 704 for calculator application is displayed on the hover ball container 701. At this time, if the user shakes the mobile phone, the mobile phone maximizes the top application hover of the hover ball container 701 to the application hover window, for example, maximizes the calculator application hover to the calculator application hover window 705 in response to the user's shake operation, as shown in (2) in fig. 9 b. After the top application floating ball (i.e., calculator application floating ball) of the floating ball container 701 is maximized to the application floating window, no application floating ball exists in the floating ball container 701 any more, and the floating ball container 701 can not be displayed on the mobile phone at this time.
Fig. 9c shows an exemplary application scenario. As shown in (1) in fig. 9c, in the application scenario, a calculator application hover window 705 and a hover ball container 701 are displayed on the cell phone. The stack top application floating ball of the floating ball container 701 is a memorandum application floating ball. Since the stack top application hover ball of the hover ball container 701 is the memo application hover ball, a memo application icon 702 is displayed on the hover ball container 701. At this time, if the user shakes the mobile phone, the mobile phone maximizes the top application hover of the hover ball container 701 to the application hover window (for example, maximizes the memo application hover to the memo application hover window 706) and minimizes the calculator application hover window 705 to the calculator application hover to be received in the hover ball container 701 in response to the user's shake operation, as shown in fig. 9c (2). At this time, the top application hover ball of the hover ball container 701 becomes the calculator application hover ball, and an icon 704 of the calculator application is displayed on the hover ball container 701.
When a user uses the outer screen of the folding-screen mobile phone, if the user shakes the mobile phone, the stack top application floating ball of the floating ball container can also be maximized to be an application floating window, and in this case, reference may be made to the related explanation about the bar-type mobile phone, which is not described herein again.
In the scene, when the mobile phone maximizes the application suspension ball at the top of the stack of the suspension ball container into the application suspension window, the suspension ball outlet animation can be executed, and when the application suspension window is minimized into the application suspension ball, the suspension ball receiving animation can be executed, so that the visual experience of the user is improved.
Therefore, under the condition that the application floating balls exist in the floating ball container of the mobile phone, the stack top application floating balls of the floating ball container can be directly maximized into the application floating windows according to the number of the current application floating windows, and the display window mode can be exchanged with the application floating windows, so that the operation of adjusting the application display window mode by a user is greatly simplified, and the operation experience of the user is improved.
Scene three
In this scenario, taking a folding-screen mobile phone as an example, two application floating windows are displayed on the inner screen of the folding-screen mobile phone. When a user shakes the mobile phone, the display positions of the two application floating windows on the folding screen mobile phone are exchanged.
Fig. 10 shows an exemplary application scenario. As shown in (1) in fig. 10, a calculator application floating window 801 is displayed at a first position on the inner screen of the folding-screen mobile phone, and a memo application floating window 802 is displayed at a second position on the inner screen of the folding-screen mobile phone. At this time, if the user shakes the mobile phone, the mobile phone responds to the shake operation by the user, and the calculator application levitation window 801 and the memo application levitation window 802 interchange the display positions. That is, the memo application floating window 802 is moved to the first position on the inner screen of the folding-screen cellular phone, and the calculator application floating window 801 is moved to the second position on the inner screen of the folding-screen cellular phone, as shown in (2) in fig. 10.
In the scene, when the mobile phone exchanges the display position of the application floating window, the mobile phone can execute the application floating window display position exchange animation, so that the visual experience of the user is improved.
Therefore, under the condition that the mobile phone simultaneously displays the two application floating windows, if a user shakes the mobile phone, the two application floating windows displayed by the mobile phone exchange display positions, the operation of the user for exchanging the display positions of the application floating windows is greatly simplified, and the operation experience of the user is improved.
Scene four
In this scenario, taking a folding screen mobile phone as an example, a left-and-right split screen display is displayed on an inner screen of the folding screen mobile phone, and a split screen application window and a split screen selector window are respectively displayed on the left-and-right split screen. Wherein the split screen selector window may be used to present a split screen enabled application to the user for selection of the split screen application by the user.
Illustratively, as shown in fig. 11a (1), the inner screen of the folding-screen mobile phone is displayed in left and right split screens, a split-screen application window 901 (such as a gallery application window) is displayed on the left half screen, and a split-screen selector window 902 is displayed on the right half screen. At this point, the user may select another split-screen application in the split-screen selector window 902 that corresponds to the split-screen selector window 902. Continuing to refer to (1) in fig. 11a, assuming that the user selects the file management application as another split-screen application (e.g., the user clicks on an icon of the file manager application), the folding screen displays a file management application window 903 as another split-screen application window on the right half-screen in response to the user operation, as can be seen with reference to (2) in fig. 11 a. That is, at this time, the two split-screen application windows displayed on the inner screen of the folding-screen mobile phone are the gallery application window 901 and the file management application window 903, respectively.
Under the condition that a split-screen application window and a split-screen selector window are respectively displayed on the inner screen of the folding-screen mobile phone in a left-right split-screen display mode, if an application floating window is further displayed on the inner screen of the folding-screen mobile phone, when a user shakes the mobile phone, the application floating window on the folding-screen mobile phone is switched to the split-screen application window to be displayed, and the split-screen selector window is replaced.
Fig. 11b shows an exemplary application scenario. As shown in fig. 11b (1), the inner screen of the folding-screen mobile phone displays left and right split screens, the left half screen displays a split screen application window 901 (such as a gallery application window), and the right half screen displays a split screen selector window 902. Meanwhile, a calculator application floating window 904 is displayed on the inner screen of the folding screen mobile phone. At this time, if the user shakes the mobile phone, the mobile phone switches the calculator application floating window 904 to the split application window 905 for display in response to the shaking operation of the user, and replaces the split selector window 902, as shown in (2) in fig. 11 b.
In the scene, when the mobile phone switches the application floating window into the split-screen window to replace the split-screen selector window, corresponding transformation animation can be executed, so that the visual experience of a user is improved.
Therefore, under the condition that the mobile phone is displayed in a split screen mode and one split screen window is the split screen selector window, if the mobile phone also displays the floating window, when a user shakes the mobile phone, the floating window can be switched into one split screen application window to replace the split screen selector window for displaying, the operation that the user switches the floating window into the split screen application window is greatly simplified, and the operation experience of the user is improved.
Scene five
In this scenario, taking a folding screen mobile phone as an example, an application suspension window is displayed on the screen in the folding screen mobile phone, and an application suspension ball exists in the suspension ball container, and when a user shakes the mobile phone, the top of the stack of the suspension ball container maximizes the application suspension ball into the application suspension window.
Fig. 12a shows an exemplary application scenario. In the application scene, only one application floating window is displayed on the inner screen of the folding screen mobile phone. As shown in fig. 12a (1), a calculator application hover window 1001 and a hover ball container 1002 are displayed on the inner screen of the folding-screen cell phone. The top of the stack of the floating ball container 1002 is the memorandum application floating ball. Since the hover ball applied on the top of the hover ball container 1002 is a memo application hover ball, a memo application icon 1003 is displayed on the hover ball container 1002. At this time, when the user shakes the mobile phone, the mobile phone maximizes the top application hover of the hover ball container 1002 to the application hover window (for example, maximizes the memo application hover to the memo application hover window 1004) in response to the user's shake operation, and the calculator application hover window 1001 is not changed, as shown in (2) of fig. 12 a. Assuming that only one application floating ball exists in the floating ball container 1002 before the user shakes the folding-screen mobile phone, after the user shakes the folding-screen mobile phone, since the application floating ball is maximized to the application floating window, the application floating ball does not exist in the floating ball container 1002 any more, and the floating ball container 1002 does not display any more. Assuming that a plurality of application floating balls exist in the floating ball container 1002 before the user shakes the folding-screen mobile phone, after the user shakes the folding-screen mobile phone, application floating balls still exist in the floating ball container 1002, the floating ball container 1002 continues to display, and application icons corresponding to the top application floating balls are displayed on the floating ball container 1002.
It is noted that if the display position of the calculator application hover window 1001 on the screen within the folding screen is relatively centered, the application hover window 1004 resulting from the maximization of the top-of-stack application hover ball may partially overlap the calculator application hover window 1001.
Fig. 12b shows an exemplary application scenario. In the application scene, two application floating windows are displayed on the inner screen of the folding screen mobile phone. As shown in fig. 12b (1), a calculator application hover window 1001, a short message application hover window 1006 and a hover ball container 1002 are displayed on the inner screen of the folding-screen mobile phone. The top of the stack of the floating ball container 1002 is the memorandum application floating ball. Since the hover ball applied on the top of the hover ball container 1002 is a memo application hover ball, a memo application icon 1003 is displayed on the hover ball container 1002. At this time, if the user shakes the mobile phone, the mobile phone maximizes the top application hover of the hover ball container 1002 into the application hover window (for example, maximizes the memo application hover into the memo application hover window 1007) and minimizes the short message application hover window 1006 serving as the focus window into the application hover ball received in the hover ball container 1002 in response to the user's shaking operation, and the calculator application hover window 1001 is not changed, as shown in (2) in fig. 12 b. Since the short message application levitation window 1006 is minimized such that after the application levitation balls are received in the levitation ball container 1002, the application levitation balls on the stack top of the levitation ball container 1002 are short message application levitation balls, and the short message application icons 1008 are displayed on the levitation ball container 1002.
It should be noted that the display position of the application levitation window 1007 obtained by maximizing the application levitation balls at the top of the stack of the levitation ball container 1002 is the same as the display position before the short message application levitation window 1006 is minimized to apply the levitation balls.
In the scene, when the mobile phone maximizes the stack top application suspension ball of the suspension ball container into the application suspension window, the suspension ball drawing animation can be executed, and when the application suspension window is minimized into the application suspension ball, the suspension ball drawing animation can be executed, so that the visual experience of the user is improved.
Therefore, under the condition that the application floating balls exist in the floating ball container of the mobile phone, if a user shakes the mobile phone, the top application floating balls of the floating ball container can be directly maximized into the application floating windows according to the number of the current application floating windows, and a display window mode can be exchanged with one application floating window, so that the operation of the user for adjusting the application display window mode is greatly simplified, and the operation experience of the user is improved.
In a more complicated application scenario, taking a folding screen mobile phone as an example, a split screen window and a floating window may be displayed on an inner screen of a folding screen at the same time, and a floating ball exists in a floating ball container, as shown in fig. 13. In combination with the application scenario and in order to cope with a relatively complex application scenario, the embodiment of the present application provides a display method. In the display method, when a user shakes the mobile phone, a focus window of the mobile phone is determined firstly, and then corresponding window display position interchange operation or window mode adjustment operation is executed according to the type of the focus window and the multi-window display condition of the mobile phone. The multi-window display condition of the mobile phone at least comprises the display conditions of a split screen window, an application floating window and a floating ball.
Fig. 14 is a schematic diagram showing interaction among modules of the mobile phone. Referring to fig. 14, a process of the display method provided in the embodiment of the present application specifically includes:
and S1101, responding to the shaking operation of the mobile phone by the user, and outputting the collected data to a sensor driver by the gyroscope sensor and the acceleration sensor.
And the gyroscope sensor is used for acquiring the angular speeds of the mobile phone around an x axis, a y axis and a z axis in real time and transmitting the acquired data to the sensor driver for data processing.
And the acceleration sensor is used for acquiring the acceleration of the mobile phone on an x axis, a y axis and a z axis in real time and transmitting the acquired data to the sensor drive for data processing.
And S1102, processing the data acquired by the gyroscope sensor and the acceleration sensor by the sensor driver, and sending the processed data to a shake detection service.
In this embodiment, an acceleration data processing algorithm and an angular velocity data processing algorithm may be integrated in the sensor driver, the received acceleration data and the received angular velocity data are processed respectively, and the processed data are sent to a shake detection service, so that the shake detection service determines whether a shake event occurs in the mobile phone.
For example, the sensor driver may calculate a resultant acceleration value of the mobile phone based on the acceleration data processing algorithm, and the sensor driver may calculate a resultant angular velocity value of the mobile phone based on the angular velocity data processing algorithm.
The processing procedure of the sensor drive on the acceleration data and the angular velocity data may refer to the method in the prior art, and is not described herein again.
In an alternative embodiment, the shake detection service may determine whether the electronic device has a shake event based only on the data collected by the acceleration sensor. Accordingly, S1101 may be adjusted to: in response to the shaking operation of the mobile phone by the user, the acceleration sensor outputs the collected data to the sensor driver, and S1102 may be adjusted as: the sensor driver processes data acquired by the acceleration sensor and sends the processed data to the shake detection service.
And S1103, judging whether the mobile phone generates a shaking event or not by the shaking detection service according to the data sent by the sensor driver, and sending indication information to the multi-window frame service when the shaking event of the mobile phone is determined.
The shaking detection service detects the acceleration change condition and the angular velocity change condition of the mobile phone according to the data reported by the sensor drive, and judges whether the mobile phone has a shaking event according to the acceleration change condition and the angular velocity change condition of the mobile phone.
Illustratively, a shake event detection algorithm may be integrated into the shake detection service. The shake detection service can determine whether a shake event occurs in the mobile phone based on the shake event detection algorithm and data reported by the sensor driver.
And if the shaking detection service judges that the shaking event occurs to the mobile phone, sending indication information to the multi-window frame service. Wherein the indication information is used for informing the multi-window frame service mobile phone that a shaking event occurs. The present embodiment does not limit the form of the indication information.
And S1104, after receiving the indication information, the multi-window frame service acquires the focus window in the window management service.
Illustratively, after receiving the indication information, the multi-window framework service sends a focus window acquisition request to the window management service. And after receiving the focus window acquisition request, the window management service sends the information of the current focus window to the multi-window management service.
Illustratively, the information of the focus window includes, but is not limited to, the window application name and the type of window. The type of the window can be a full-screen window, a split-screen window, a floating window, and the like.
S1105, the multi-window frame service determines a window adjusting mode according to the type of the focus window and the multi-window display condition, and instructs the animation service to display the animation according to the window adjusting mode.
The window adjustment method includes, but is not limited to, window display position exchange, window mode adjustment, and the like. The window display position interchange includes, but is not limited to, a split-screen window display position interchange, a floating window display position interchange, and the like. Window mode adjustments include, but are not limited to, a change of the floating window to a floating ball, a change of the floating ball to a floating window, a change of the floating window to a split screen window, and the like.
Fig. 15 is a flowchart illustrating an exemplary method for determining window adjustment by the multi-window frame service. As shown in fig. 15, the process of determining the window adjustment mode by the multi-window frame service according to the type of the focus window and the multi-window display condition may include:
and S1201, the multi-window frame service judges the type of the focus window, if the type of the focus window is a full-screen window, S1202 is executed, if the type of the focus window is a floating window, S1206 is executed, and if the type of the focus window is a split-screen window, S1213 is executed.
S1202, the multi-window frame service judges whether a floating ball exists, if yes, S1203 is executed, and if not, the process is ended.
The multi-window frame service judges whether the floating ball exists or not, and can judge whether the floating ball exists in the floating ball container or not by the multi-window frame service.
S1203, the multi-window frame service determines whether a floating window exists, if so, executes S1204, otherwise, executes S1205.
And S1204, the multi-window frame service judges whether the number of the current floating windows reaches a floating window display number threshold, if not, S1205 is executed, and if yes, the flow is ended.
The current floating window number refers to the number of floating windows currently displayed by the mobile phone. And the floating window display quantity threshold refers to the upper limit of the quantity of the floating windows allowed to be displayed on the screen of the mobile phone. Illustratively, the threshold value of the display quantity of the floating windows of the bar-type mobile phone is 1, the threshold value of the display quantity of the floating windows of the outer screen of the folding-screen mobile phone is 1, and the threshold value of the display quantity of the floating yellow of the inner screen of the folding-screen mobile phone is 2.
And when the focus window is a full-screen window, if the multi-window frame service judges that the floating ball currently exists and the number of the current floating windows reaches the threshold value of the display number of the floating windows, ending the process. That is, the shaking operation of the mobile phone by the user does not cause the adjustment of the display window of the mobile phone.
And S1205, the multi-window frame service determines to change the stack top floating ball into the floating window.
When the focus window is a full-screen window, if the multi-window frame service judges that the floating ball currently exists and the floating window does not exist, the multi-window frame service can determine that the window adjustment mode is to change the stack top floating ball in the floating ball container into the floating window.
When the focus window is a full-screen window, if the multi-window frame service judges that the floating ball currently exists and the number of the current floating windows does not reach the threshold value of the display number of the floating windows, the multi-window frame service can determine that the window adjusting mode is to change the stack top floating ball in the floating ball container into the floating window.
For example, when the threshold number of hover window displays is 2 and the current number of hover windows is also 0 or 1, the multi-window frame service may determine that the window adjustment is to change the top stack hover ball in the hover ball container to a hover window.
For another example, when the threshold of the number of displayed floating windows is 1 and the number of the current floating windows is also 0, the multi-window frame service may determine that the window adjustment mode is to change the top stack floating ball in the floating ball container into the floating window.
S1206, the multi-window frame service determines the floating window display number threshold, if the floating window display number threshold is 2, then S1207 is performed, and if the floating window display number threshold is 1, then S1211 is performed.
S1207, the multi-window frame service determines the number of the current floating windows, if the number of the current floating windows is 2, then S1208 is executed, and if the number of the current floating windows is 1, then S1209 is executed.
S1208, the multi-window frame service determines to interchange the display positions of the two floating windows.
When the focus window is a floating window, if the threshold of the display number of the floating windows is 2 and the number of the current floating windows is also 2, the multi-window frame service may determine that the window adjustment mode is to exchange the display positions of the two floating windows.
S1209, the multi-window frame service determines whether a floating ball exists, if yes, then S1210 is executed, otherwise, the process is ended.
And when the focus window is a floating window, if the multi-window frame service judges that no floating ball exists at present, the process is ended. That is, the shaking operation of the mobile phone by the user does not cause the adjustment of the display window of the mobile phone.
S1210, the multi-window frame service determines that the stack top suspension ball changes into a suspension window.
When the focus window is a floating window, if the threshold of the display number of the floating windows is 2 and the number of the current floating windows is 1, the multi-window frame service may determine that the window adjustment mode is to change the stack top floating ball into the floating window when judging that the currently existing floating ball exists.
It is to be noted that "the floating window display number threshold is 2, and the current floating window number is 1" is merely an exemplary illustration. When the focus window is a floating window, if the number of the current floating windows is smaller than the threshold of the display number of the floating windows, the window frame service can determine that the window adjustment mode is to change the stack top floating ball into the floating window when judging that the currently existing floating ball exists.
S1211, the multi-window frame service determines whether a floating ball exists, if yes, S1212 is executed, and if not, the process is ended.
When the focus window is a floating window, if the threshold of the display number of the floating windows is 1 and the number of the current floating windows (namely the focus windows) is 1, the multi-window frame service ends the process when judging that no floating ball exists currently. That is, the shaking operation of the mobile phone by the user does not cause the adjustment of the display window of the mobile phone.
And S1212, the multi-window frame service determines to interchange the stack top floating ball with the floating window.
When the focus window is a floating window, if the threshold of the display number of the floating windows is 1, and thus the floating ball exists currently, the multi-window frame service may determine that the window adjustment mode is to interchange the stack top floating ball and the floating window. That is, the window adjustment method is as follows: and maximizing the stack top suspension balls into suspension windows, and minimizing the current suspension windows into suspension balls which are contained in the suspension ball container.
S1213, the multi-window frame service determines whether there is a split-screen selector window, if yes, then S1214 is executed, otherwise, then S1216 is executed.
S1214, the multi-window frame service determines whether there is only one floating window, if yes, then S1215 is executed, otherwise, the process ends.
If the focus window is a split screen window and a split screen selector window exists, the process is ended when the number of the current floating windows is not 1. That is, the shaking operation of the mobile phone by the user does not cause the adjustment of the display window of the mobile phone.
S1215, the multi-window frame service determines to switch the floating window to the split screen window, replacing the split screen selector window.
If the focus window is a split screen window and a split screen selector window exists, when the number of the current floating windows is 1, the multi-window frame service can determine that the window adjustment mode is to switch the floating windows into the split screen windows and replace the split screen selector window.
S1216, the multi-window frame service determines to interchange the display positions of the split-screen windows.
When the focus window is a split-screen window, if no split-screen selector window exists currently, the window frame service may determine that the window adjustment mode is to interchange the display positions of the two split-screen windows.
Fig. 16 is a flow chart illustrating an exemplary method for determining window adjustment by the multi-window frame service. As shown in fig. 16, the process of determining the window adjustment mode by the multi-window frame service according to the type of the focus window and the multi-window display condition may include:
and S1301, judging the type of the focus window by the multi-window frame service, if the type of the focus window is a full-screen window, executing S1302, if the type of the focus window is a floating window, executing S1306, and if the type of the focus window is a split-screen window, executing S1315.
And S1302, the multi-window frame service judges whether a floating ball exists, if so, S1303 is executed, and if not, the process is ended.
S1303, the multi-window frame service determines whether there is a floating window, if yes, then S1304 is executed, otherwise, then S1305 is executed.
And S1304, judging whether the number of the current floating windows reaches a floating window display number threshold value by the multi-window framework service, if not, executing S1305, and if so, ending the process.
S1305, the multi-window frame service determines to change the stack top floating ball into the floating window.
S1306, the multi-window frame service determines the floating window display number threshold, if the floating window display number threshold is 2, then S1307 is executed, and if the floating window display number threshold is 1, then S1313 is executed.
S1307, the multi-window frame service determines the number of the current floating windows, if the number of the current floating windows is 2, then S1308 is executed, and if the number of the current floating windows is 1, then S1311 is executed.
S1308, the multi-window frame service determines whether a floating ball exists, if so, performs S1309, otherwise, performs S1310.
S1309, the multi-window frame service determines to exchange the stack top floating ball with the floating window as the focus window.
When the focus window is a floating window, if the threshold of the display number of the floating windows is 2 and the number of the current floating windows is 2, the multi-window frame service can determine that the window adjustment mode is to interchange the top floating ball with the floating window serving as the focus window when judging that the floating ball exists.
S1310, the multi-window frame service determines to interchange the display positions of the two floating windows.
When the focus window is a floating window, if the threshold of the display number of the floating windows is 2 and the number of the current floating windows is also 2, the multi-window frame service may determine that the window adjustment mode is to exchange the display positions of the two floating windows when it is determined that no floating ball exists.
S1311, the multi-window frame service determines whether a floating ball exists, if yes, S1312 is executed, and if no, the process ends.
S1312, the multi-window frame service determines that the stack top floating ball is changed into a floating window.
S1313, the multi-window frame service determines whether a floating ball exists, if yes, S1314 is performed, and if no, the process ends.
S1314, the multi-window frame service determines to swap the top-of-stack hover ball with the hover window.
S1315, the multi-window frame service determines whether there is a split-screen selector window, if yes, then S1316 is executed, and if no, then S1318 is executed.
S1316, the multi-window frame service judges whether only one floating window exists, if yes, S1317 is executed, and if not, the process is ended.
S1317, the multi-window frame service determines to switch the floating window to the split screen window and replace the split screen selector window.
S1318, the multi-window frame service determines to interchange the display positions of the split-screen windows.
Where this flow is not explained in detail, reference may be made to the explanation shown in fig. 15, which is not described herein again.
After the multi-window frame service determines the window adjustment mode, the window adjustment mode can be sent to the animation service. And the animation service draws corresponding animation according to the received window adjusting mode to display, so that the visual effect of adjusting the window is achieved.
Illustratively, if the window adjustment mode determined by the multi-window frame service is to change the stack top floating ball into the floating window, the animation service displays the corresponding floating ball out animation; if the window adjusting mode determined by the multi-window frame service is to interchange the stack top floating ball and the floating window, the animation service displays the corresponding floating ball outlet animation and the floating window ball receiving animation; if the window adjusting mode determined by the multi-window frame service is that the display positions of the split-screen windows are interchanged, the animation service displays corresponding display position interchange animations of the split-screen windows; if the window adjusting mode determined by the multi-window frame service is the floating window display position interchange, the animation service displays the corresponding floating window display position interchange animation; and if the window adjusting mode determined by the multi-window frame service is that the floating window is changed into the split-screen window to replace the split-screen selector window, the animation service displays the animation of the corresponding floating window changed into the split-screen window.
Fig. 17a shows an exemplary application scenario. In this application scenario, the inner screen of the folding screen mobile phone is opened to display left and right split screens as an example for explanation. As shown in fig. 17a (1), a split application window 1401 (e.g., gallery application window) is displayed on a first split screen (e.g., left half) of the mobile phone, and a split application window 1402 (e.g., weChat application window) is displayed on a second split screen (e.g., right half) of the mobile phone. With continued reference to fig. 17a (1), a hover window 1403 and a hover ball container 1404 are also displayed on the inner screen of the folding screen handset. The top of the stack of the floating ball container 1404 is the calculator application floating ball. Assume that the current focus window is a split application window 1401 or a split application window 1402. At this time, if the user shakes the mobile phone, the mobile phone responds to the shaking operation of the user, and the multi-window framework service determines that the window adjustment mode is that the display positions of the split-screen windows are interchanged, that is, the split-screen application window 1401 and the split-screen application window 1402 are interchanged, as shown in (2) in fig. 17 a. At this time, the hover window 1403 and the hover ball container 1404 displayed on the mobile phone do not change.
Fig. 17b shows an exemplary application scenario. In the application scenario, the inner screen of the folding screen mobile phone is opened to perform the left-right split screen display as an example for explanation. As shown in fig. 17b (1), a split application window 1401 (e.g., gallery application window) is displayed on a first split screen (e.g., left half split screen) of the mobile phone, and a split application window 1402 (e.g., weChat application window) is displayed on a second split screen (e.g., right half split screen) of the mobile phone. With continued reference to fig. 17b (1), a hover window 1403 and a hover ball container 1404 are also displayed on the inner screen of the folding screen handset. The top of the stack of the floating ball container 1404 is the calculator application floating ball. Assume that the current focus window is the floating window 1403. At this time, if the user shakes the mobile phone, the mobile phone responds to the shaking operation of the user, and the multi-window frame service determines that the stack top floating ball in the window adjustment mode is changed into the floating window, that is, the calculator changes the application floating ball into the floating window 1405, as shown in (2) in fig. 17 b. At this time, the split application window 1401, the split application window 1402, and the floating window 1403 displayed on the mobile phone do not change.
Therefore, when a user shakes the mobile phone, the multi-window frame module determines the window adjusting mode according to the focus window and the multi-window display condition of the mobile phone, displays the corresponding window adjusting animation to correspondingly adjust the window, simplifies the operation of adjusting the window by the user, and improves the operation experience of the user.
The present embodiment also provides a computer storage medium, where computer instructions are stored, and when the computer instructions are run on an electronic device, the electronic device is caused to execute the relevant method steps to implement the display method in the foregoing embodiment.
The present embodiment also provides a computer program product, which when running on a computer, causes the computer to execute the relevant steps described above, so as to implement the display method in the above embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the display method in the above method embodiments.
In addition, the electronic device (such as a mobile phone, etc.), the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device can refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the foregoing embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (12)

1. A display method is applied to electronic equipment and comprises the following steps:
determining a focus window of the electronic device in response to a shaking operation on the electronic device;
executing window display position interchange operation or window mode adjustment operation according to the type of the focus window and the multi-window display condition of the electronic equipment;
the multi-window display condition at least comprises a split screen window, a suspension window and a suspension ball;
executing window display position interchange operation or window mode adjustment operation according to the type of the focus window and the multi-window display condition of the electronic equipment, wherein the window display position interchange operation or the window mode adjustment operation comprises the following steps:
and when the type of the focus window is a floating window, executing window display position interchange operation or window mode adjustment operation according to a floating window display quantity threshold value and the multi-window display condition of the electronic equipment.
2. The method of claim 1, wherein performing a window display position interchanging operation or a window mode adjusting operation according to a floating window display number threshold and a multi-window display condition of the electronic device comprises:
when the threshold value of the display quantity of the suspension windows is 1, if the multi-window display condition indicates that a first suspension window exists and a suspension ball exists in a suspension ball container, adjusting the stack top suspension ball of the suspension ball container to be a second suspension window, and adjusting the first suspension window to be the suspension ball to be placed in the suspension ball container.
3. The method of claim 1, wherein performing a window display position interchanging operation or a window mode adjusting operation according to a floating window display number threshold and a multi-window display condition of the electronic device comprises:
and when the threshold of the display quantity of the floating windows is 2, if the multi-window display condition indicates that a third floating window and a fourth floating window exist, interchanging the display positions of the third floating window and the fourth floating window.
4. The method of claim 1, wherein performing a window display position interchanging operation or a window mode adjusting operation according to a floating window display number threshold and a multi-window display condition of the electronic device comprises:
when the threshold of the display quantity of the suspension windows is 2, if the multi-window display condition indicates that a fifth suspension window and a sixth suspension window exist, and the fifth suspension window is a focus window, adjusting the stack top suspension ball of the suspension ball container to be a seventh suspension window, and adjusting the fifth suspension window to be a suspension ball to be placed in the suspension ball container when the multi-window display condition indicates that the suspension ball exists in the suspension ball container.
5. The method of claim 1, wherein performing a window display position interchanging operation or a window mode adjusting operation according to a floating window display number threshold and a multi-window display condition of the electronic device comprises:
and if the display quantity threshold of the suspension windows is larger than 1 and the multi-window display condition indicates that the quantity of the currently displayed suspension windows is smaller than the display quantity threshold of the suspension windows, adjusting the top suspension ball of the suspension ball container to be an eighth suspension window when the suspension balls exist in the suspension ball container.
6. The method according to claim 1, wherein performing a window display position exchange operation or a window mode adjustment operation according to the type of the focus window and a multi-window display condition of the electronic device comprises:
and when the type of the focus window is a split screen window, if the multi-window display condition indicates that a first split screen application window and a second split screen application window exist, interchanging the display positions of the first split screen application window and the second split screen application window.
7. A display method is applied to electronic equipment and comprises the following steps:
determining a focus window of the electronic device in response to a shaking operation on the electronic device;
executing window display position interchange operation or window mode adjustment operation according to the type of the focus window and the multi-window display condition of the electronic equipment;
the multi-window display condition at least comprises a split screen window, a suspension window and a suspension ball;
executing window display position interchange operation or window mode adjustment operation according to the type of the focus window and the multi-window display condition of the electronic equipment, wherein the window display position interchange operation or the window mode adjustment operation comprises the following steps:
when the type of the focus window is a split screen window, if the multi-window display condition indicates that a split screen selector window and a ninth floating window exist and the number of the currently displayed floating windows is one, adjusting the ninth floating window to be the split screen window to replace the split screen selector window;
wherein the split screen selector window is to select a split screen application.
8. A display method is applied to electronic equipment and comprises the following steps:
determining a focus window of the electronic device in response to a shaking operation of the electronic device;
executing window display position interchange operation or window mode adjustment operation according to the type of the focus window and the multi-window display condition of the electronic equipment;
the multi-window display condition at least comprises the display conditions of a split screen window, a suspension window and a suspension ball;
according to the type of the focus window and the multi-window display condition of the electronic equipment, executing window display position interchange operation or window mode adjustment operation, comprising the following steps of:
and when the type of the focus window is a full-screen window, if the multi-window display condition indicates that the floating ball exists in the floating ball container and the floating window does not exist, adjusting the stack top floating ball of the floating ball container to be a tenth floating window.
9. A display method is applied to electronic equipment and comprises the following steps:
determining a focus window of the electronic device in response to a shaking operation of the electronic device;
executing window display position interchange operation or window mode adjustment operation according to the type of the focus window and the multi-window display condition of the electronic equipment;
the multi-window display condition at least comprises the display conditions of a split screen window, a suspension window and a suspension ball;
executing window display position interchange operation or window mode adjustment operation according to the type of the focus window and the multi-window display condition of the electronic equipment, wherein the window display position interchange operation or the window mode adjustment operation comprises the following steps:
and when the type of the focus window is a full-screen window, if the multi-window display condition indicates that the floating balls exist in the floating ball container and the number of the current floating windows does not reach the display number threshold of the floating windows, adjusting the stack top floating balls of the floating ball container to be an eleventh floating window.
10. The method according to any one of claims 1-9, wherein the performing a window display position swapping operation or a window mode adjustment operation comprises:
and executing animation corresponding to the window display position interchange operation or the window mode adjustment operation.
11. An electronic device, comprising:
one or more processors;
a memory;
and one or more computer programs, wherein the one or more computer programs are stored on the memory, and when executed by the one or more processors, cause the electronic device to perform the display method of any of claims 1-10.
12. A computer-readable storage medium comprising a computer program, which, when run on an electronic device, causes the electronic device to perform the display method of any one of claims 1-10.
CN202210837948.7A 2022-07-17 2022-07-17 Display method and electronic equipment Active CN114911390B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210837948.7A CN114911390B (en) 2022-07-17 2022-07-17 Display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210837948.7A CN114911390B (en) 2022-07-17 2022-07-17 Display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN114911390A CN114911390A (en) 2022-08-16
CN114911390B true CN114911390B (en) 2022-11-22

Family

ID=82773020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210837948.7A Active CN114911390B (en) 2022-07-17 2022-07-17 Display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN114911390B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110037040A (en) * 2009-10-05 2011-04-13 삼성전자주식회사 Method for displaying screen thereof and a portable terminal
CN103067569A (en) * 2012-12-10 2013-04-24 广东欧珀移动通信有限公司 Method and device of multi-window displaying of smart phone
WO2014173194A1 (en) * 2013-04-23 2014-10-30 北京奇虎科技有限公司 Method and apparatus for optimizing running of browser
CN106598404A (en) * 2015-10-16 2017-04-26 青岛海信移动通信技术股份有限公司 Window display method and mobile terminal
CN109067981A (en) * 2018-07-11 2018-12-21 Oppo广东移动通信有限公司 Split screen application switching method, device, storage medium and electronic equipment
CN109618054A (en) * 2018-12-21 2019-04-12 北京金山安全软件有限公司 Incoming call interface display method and device, electronic equipment and storage medium
CN109766037A (en) * 2018-12-27 2019-05-17 维沃移动通信有限公司 Reminding method and terminal device
CN110855828A (en) * 2015-01-04 2020-02-28 华为技术有限公司 Notification information processing method and device and terminal
CN112333240A (en) * 2020-10-13 2021-02-05 珠海格力电器股份有限公司 Message push display method and device, readable storage medium and computer equipment
WO2021213164A1 (en) * 2020-04-24 2021-10-28 华为技术有限公司 Application interface interaction method, electronic device, and computer readable storage medium
CN114138140A (en) * 2021-10-25 2022-03-04 荣耀终端有限公司 Information management method, electronic device, and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970754B (en) * 2017-03-28 2020-09-08 北京小米移动软件有限公司 Screen capture processing method and device
CN107037949B (en) * 2017-03-29 2020-11-27 北京小米移动软件有限公司 Split screen display method and device
CN107436784B (en) * 2017-07-19 2020-06-02 北京小米移动软件有限公司 Floating window display method and device
CN108491127B (en) * 2018-03-12 2020-02-07 Oppo广东移动通信有限公司 Input method interface display method, device, terminal and storage medium
CN109445572B (en) * 2018-09-10 2023-12-08 华为技术有限公司 Method for quickly calling up small window in full-screen display video, graphical user interface and terminal
CN109683714B (en) * 2018-12-28 2021-08-31 北京小米移动软件有限公司 Multimedia resource management method, device and storage medium
CN111309418A (en) * 2020-01-21 2020-06-19 华为技术有限公司 Control display method and electronic equipment
CN111399720A (en) * 2020-03-24 2020-07-10 北京小米移动软件有限公司 Method and device for displaying application interface and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110037040A (en) * 2009-10-05 2011-04-13 삼성전자주식회사 Method for displaying screen thereof and a portable terminal
CN103067569A (en) * 2012-12-10 2013-04-24 广东欧珀移动通信有限公司 Method and device of multi-window displaying of smart phone
WO2014173194A1 (en) * 2013-04-23 2014-10-30 北京奇虎科技有限公司 Method and apparatus for optimizing running of browser
CN110855828A (en) * 2015-01-04 2020-02-28 华为技术有限公司 Notification information processing method and device and terminal
CN106598404A (en) * 2015-10-16 2017-04-26 青岛海信移动通信技术股份有限公司 Window display method and mobile terminal
CN109067981A (en) * 2018-07-11 2018-12-21 Oppo广东移动通信有限公司 Split screen application switching method, device, storage medium and electronic equipment
CN109618054A (en) * 2018-12-21 2019-04-12 北京金山安全软件有限公司 Incoming call interface display method and device, electronic equipment and storage medium
CN109766037A (en) * 2018-12-27 2019-05-17 维沃移动通信有限公司 Reminding method and terminal device
WO2021213164A1 (en) * 2020-04-24 2021-10-28 华为技术有限公司 Application interface interaction method, electronic device, and computer readable storage medium
CN112333240A (en) * 2020-10-13 2021-02-05 珠海格力电器股份有限公司 Message push display method and device, readable storage medium and computer equipment
CN114138140A (en) * 2021-10-25 2022-03-04 荣耀终端有限公司 Information management method, electronic device, and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Android多窗口系统的设计与实现;莫曾;《华中科技大学硕士电子期刊信息科技》;20170615;1-63 *
Maintaining_User_Interface_Integrity_on_Android;Abeer AlJarrah;《2016 IEEE 40th Annual Computer Software and Applications Conference (COMPSAC)》;20160825;449-458 *

Also Published As

Publication number Publication date
CN114911390A (en) 2022-08-16

Similar Documents

Publication Publication Date Title
CN112269527B (en) Application interface generation method and related device
WO2021027747A1 (en) Interface display method and device
EP4057135A1 (en) Display method for electronic device having foldable screen, and electronic device
US11797145B2 (en) Split-screen display method, electronic device, and computer-readable storage medium
CN111966252A (en) Application window display method and electronic equipment
CN111176506A (en) Screen display method and electronic equipment
CN113805745B (en) Control method of suspension window and electronic equipment
KR20220110314A (en) Card display method, electronic device and computer readable storage medium
CN111443836B (en) Method for temporarily storing application interface and electronic equipment
KR20140113397A (en) An electronic device and operating method thereof
CN112714901A (en) Display control method of system navigation bar, graphical user interface and electronic equipment
CN110830645B (en) Operation method, electronic equipment and computer storage medium
CN114115619A (en) Application program interface display method and electronic equipment
CN114579016A (en) Method for sharing input equipment, electronic equipment and system
CN112822544B (en) Video material file generation method, video synthesis method, device and medium
CN111880647B (en) Three-dimensional interface control method and terminal
CN114666427A (en) Image display method, electronic equipment and storage medium
CN114911390B (en) Display method and electronic equipment
CN117769696A (en) Display method, electronic device, storage medium, and program product
CN114173165B (en) Display method and electronic equipment
CN115484393B (en) Abnormality prompting method and electronic equipment
WO2024007966A1 (en) Multi-window display method and device
KR101799320B1 (en) Mobile terminal and operation method thereof
CN116841446A (en) Display method and foldable electronic device
CN116820288A (en) Window control method, electronic device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant