CN117492609A - Display method, readable storage medium, program product and electronic device - Google Patents

Display method, readable storage medium, program product and electronic device Download PDF

Info

Publication number
CN117492609A
CN117492609A CN202311841644.9A CN202311841644A CN117492609A CN 117492609 A CN117492609 A CN 117492609A CN 202311841644 A CN202311841644 A CN 202311841644A CN 117492609 A CN117492609 A CN 117492609A
Authority
CN
China
Prior art keywords
layer
floating window
display
size
application
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.)
Granted
Application number
CN202311841644.9A
Other languages
Chinese (zh)
Other versions
CN117492609B (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 CN202311841644.9A priority Critical patent/CN117492609B/en
Publication of CN117492609A publication Critical patent/CN117492609A/en
Application granted granted Critical
Publication of CN117492609B publication Critical patent/CN117492609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/04842Selection of displayed objects or displayed text elements
    • 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/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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to the field of terminal technologies, and in particular, to a display method, a readable storage medium, a program product, and an electronic device. The display method is applied to the electronic equipment, and when the floating window layer is displayed corresponding to the electronic equipment, the user triggers the display of the input method layer. And if the input method layer and the application layer in the floating window layer have an overlapping area. The electronic device adjusts the size of the application layer so that the application layer does not overlap with the input method layer, and then the electronic device does not display the region overlapping with the input method layer in the floating window layer. Therefore, the problem that the size adjustment of each layer is asynchronous in the size adjustment process of the suspended window layer can be avoided.

Description

Display method, readable storage medium, program product and electronic device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a display method, a readable storage medium, a program product, and an electronic device.
Background
When the electronic device displays an interface of an application program (hereinafter referred to as a floating window application) in a floating window mode, a user triggers an operation (for example, clicking an input box in the floating window) of displaying an input method layer (for example, a virtual keyboard) corresponding to the floating window application, and the electronic device displays the input method layer of the input method in response to the operation of the user. Therefore, the display interface of the electronic device needs to display the input method layer and the floating window simultaneously. If the floating window occupies a larger display area, the electronic device can adjust the size and position of the floating window (e.g., move the floating window upwards and adjust the size of the floating window) during the process of displaying the input method layer.
In the process of displaying the input method layer, the position and the size of the floating window of some electronic devices need to be adjusted. However, the layers of the floating window may be out of synchronization (e.g., the layers of the floating window of some electronic devices include a decoration region layer (e.g., a status bar portion at the top and/or bottom of the floating window) and an application layer (e.g., a portion of the floating window that displays an application interface of the floating window). In some cases, the decoration region layer and the application layer are drawn by different processes.
Disclosure of Invention
The embodiment of the application provides a display method, a readable storage medium, a program product and electronic equipment.
In a first aspect, an embodiment of the present application provides a display method, which is applied to an electronic device, including: displaying a first application interface of a first application, wherein the first application interface is displayed in a first floating window, and the first floating window comprises first display content and second display content; detecting a trigger event of a second application interface and a first floating window for simultaneously displaying a second application; corresponding to determining that the overlapping area of the second application interface and the first floating window comprises at least part of the first display content and at least part of the second display content, modifying first display parameters of the first display content, and executing non-display setting on the part of the second display content located in the overlapping area; and displaying a second application interface and a first floating window, wherein the first display content in the first floating window is not displayed in the overlapped area, and the part of the second display content in the overlapped area is not displayed.
Illustratively, in some embodiments of the present application, the first floating window may also be referred to as a floating window layer, the first display may also be referred to as an application layer, and the second display may also be referred to as a decoration region layer. The second application interface may be, for example, an input method layer. When the electronic device displays the input method, the electronic device determines that an overlapping area exists between the input method layer and the application layer of the floating window layer, and the electronic device can adjust the size of the application layer so that the application layer does not have the overlapping area with the input method layer. Then the electronic device displays the input method layer and the floating window layer, and does not display the overlapping area of the floating window layer and the input method layer.
That is, when the size of the floating window layer is adjusted, only the size of the application layer needs to be adjusted. Because only the area where the application layer and the decoration area layer do not overlap with the input method layer is displayed when the floating window is displayed, the display screen of the electronic device does not display the interface with the adjusted size of the application layer but the adjusted size of the decoration area layer, thereby ensuring that the display screen does not display abnormality.
In a possible implementation manner of the first aspect, modifying the first display parameter of the first display content includes: the size of the first display content is reduced.
Illustratively, in some embodiments of the present application, the first display parameter of the first display content is modified to reduce the size of the first display content. In other embodiments, modifying the first display parameter of the first display content may further be adjusting a display position of the first display content in the first floating window.
In a possible implementation manner of the first aspect, the performing the non-display setting on the portion of the second display content located in the overlapping area includes: the size of the display area of the first floating window is adjusted such that a portion of the second display content located in the overlapping area is outside the display area of the first floating window.
Illustratively, in some embodiments of the present application, resizing the display area of the first floating window may be, for example, cropping a task layer of the first floating window. The task layer of the first floating window is used for determining the display area of the first floating window and the position of the first floating window. Clipping the task layer may be, for example, clipping out an overlapping region of the second display content and the second application interface.
In a possible implementation manner of the first aspect, the first display content is located on an upper layer of the second display content in a first direction, and the first direction is a direction perpendicular to an outward direction of a display screen of the electronic device.
In a possible implementation of the first aspect, the first display content is located in the second display content in a second direction, where the second direction is a direction in which the second application interface pops up, the second application interface has a first size in the second direction, the second display content has a second size in the second direction, a size of an area of the display screen of the electronic device in the second direction, where the area is used to display the first floating window and the second application interface, is a third size, and a distance between a bottom of the first display content in the second direction and a bottom of the second display content in the second direction is the first distance; and determining, by the electronic device, that the overlapping area of the first floating window includes at least a portion of the first display content if the sum of the first size and the second size is greater than the sum of the third size and the first distance.
Illustratively, in some embodiments of the present application, the second direction may also be referred to as the X-direction, for example. The electronic device displaying the second application interface with the first display content when the sum of the first size and the second size is larger than the sum of the third size and the first distance. That is, if the size of the first display content is not adjusted, the first display content is blocked after the second application interface is completely displayed.
In a possible implementation manner of the first aspect, modifying the first display parameter of the first display content includes: the first display content is scaled down in size in the second direction.
Illustratively, in some embodiments of the present application, the modifying the first display parameter of the first display content may be, for example, reducing the size of the first display content in the second direction. In other embodiments, modifying the first display parameter of the first display content may also be adjusting a position of the first display content in the first floating window, e.g., moving a position of the second display content in the second direction.
In a possible implementation of the first aspect, the method further includes, in response to determining that the overlapping area of the second application interface and the first floating window includes at least a portion of the second display content and does not include the first display content, performing a non-display setting on a portion of the second display content that is located in the overlapping area; and displaying a second application interface and the first floating window, wherein the part of the second display content in the overlapped area is not displayed.
Illustratively, in some embodiments of the present application, the first display content does not overlap the second application interface, and there is an overlapping region of the second display content with the second application interface. That is, the second application interface only obscures the second display content. The electronic device does not need to adjust the size of the first display content, and when the first floating window is displayed, the portion of the second display content blocked by the floating window is not displayed. In this way, when the first floating window is displayed, even if the first display content and the second display content are not synchronized, the electronic device does not have abnormal display.
In a possible implementation of the first aspect, the electronic device determines that the overlapping area of the first floating window includes at least a portion of the second display content and does not include the first display content when a sum of the first size and the second size is greater than the third size and less than or equal to a sum of the third size and the first distance.
Illustratively, in the embodiment of the present application, when the sum of the first size and the second size is greater than the third size and less than or equal to the sum of the third size and the first distance, only the main second display content is blocked and the first display content is not blocked after the second application interface is completely displayed. That is, the overlapping region of the first floating window includes at least a portion of the second display content and does not include the first display content.
In a possible implementation manner of the first aspect, displaying the second application interface and the first floating window includes: and displaying a second application interface and displaying the first floating window on top of the second direction, wherein the second application interface and the first floating window have no overlapping area.
For example, after adjusting the size and display area of the first hover window, the electronic device may display the first hover window and the second application interface. And the second application interface does not obscure the first display content of the first floating window.
In a possible implementation of the first aspect, the method further includes:
detecting an operation of increasing the size of the second application interface or an operation of moving the second application interface to the top of the second direction by a user, and reducing the size of the first floating window; and detecting an operation of reducing the size of the second application interface by a user or an operation of moving the second application interface downwards, and increasing the size of the first floating window.
In some embodiments of the present application, after displaying the first floating window and the second application interface, the user may further adjust the position and/or the size of the second application interface, and similarly, the first floating window may also adjust the size and/or the position according to the overlapping situation with the adjusted second application interface.
In one possible implementation manner of the first aspect, the first display content is an application layer corresponding to the first application, and the second display content is a decoration area layer of the first floating window.
In a possible implementation of the first aspect, the second application interface includes any one of the following interfaces: suspension window, virtual keyboard, suspension keyboard.
In a second aspect, the present application provides an electronic device comprising: a memory for storing instructions; at least one processor configured to execute instructions to cause an apparatus to implement the above first aspect and any one of the possible implementations of the above first aspect. The advantages achieved by the second aspect may be referred to the advantages of the method provided by any embodiment of the first aspect, and will not be described here in detail.
In a third aspect, the present application provides a computer readable storage medium having stored therein instructions which, when executed by an apparatus, cause a computer to implement the above first aspect and any one of the possible implementations of the above first aspect. The advantages achieved by the third aspect may refer to the advantages provided by any embodiment of the first aspect, and are not described here again.
In a fourth aspect, the present application provides a computer program product for, when run on a device, causing the device to carry out the method provided by the first aspect and any one of the possible implementations of the first aspect. The advantages achieved by the fourth aspect may refer to the advantages provided by any embodiment of the first aspect, and are not described here again.
Drawings
FIG. 1A illustrates a schematic diagram of an input method layer overlapping a floating window layer displayed by an electronic device, according to some embodiments of the present application;
FIG. 1B illustrates a schematic diagram of an electronic device adjusting a floating window layer, according to some embodiments of the present application;
FIG. 1C is a schematic diagram illustrating a decoration region layer and application layer compression process, according to some embodiments of the present application;
FIG. 2A illustrates a flowchart of an embodiment of an electronic device adjusting a floating window, according to some embodiments of the present application;
FIG. 2B is a schematic diagram showing a floating window layer and an input method layer without an overlap region, according to some embodiments of the present application;
FIG. 2C is a schematic diagram illustrating a decorative area layer and an input method layer having an overlap region, according to some embodiments of the present application;
FIG. 2D is a schematic diagram illustrating the existence of an overlap region between an application layer and an input method layer, according to some embodiments of the present application;
FIG. 3 illustrates a schematic block diagram of a system software architecture of an electronic device, according to some embodiments of the present application;
FIG. 4 illustrates an interactive flow diagram for adjusting a floating window layer, according to some embodiments of the present application;
FIG. 5 illustrates a flow chart of an implementation of adjusting a floating window, according to some embodiments of the present application;
FIG. 6 illustrates a schematic diagram of adjusting a floating window, according to some embodiments of the present application;
fig. 7 illustrates a block diagram of an electronic device, according to some embodiments of the present application.
Detailed Description
Illustrative embodiments of the present application include, but are not limited to, display methods, readable storage media, program products, and electronic devices.
In order to make the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be described in detail below with reference to the accompanying drawings and specific embodiments of the present application.
As described above, in some scenarios, the electronic device may have a problem that some display portions of the floating window are not displayed synchronously in the process of adjusting the position and/or the size of the floating window. The electronic equipment is not smooth enough in the process of displaying the adjusted floating window.
For example, the electronic device in the embodiments of the present application may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like. The electronic device may be a mobile phone, a smart television, a wearable device, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city, a wireless terminal in smart home (smart home), and the like.
For example, fig. 1A and 1B illustrate a scene diagram of an electronic device adjusting a floating window, according to some embodiments of the present application. Fig. 1A shows a schematic diagram of an input method layer and a floating window layer displayed by an electronic device. Fig. 1B shows a schematic diagram of an electronic device adjusting a floating window layer.
Illustratively, as shown in FIG. 1A, a floating window 10 corresponding to a floating window application is displayed on a display screen 101 of an electronic device 100. The floating window 10 comprises an application layer 11 and a decoration area layer 12, and an input frame 13 is further arranged on the application layer 11.
In some scenarios, upon detecting that the user is triggering operation 20 of input box 13, electronic device 100 may display input method layer 30 corresponding to the floating window application. The operation 20 may be, for example, an operation in which the user clicks the input box 13. Illustratively, the direction in which the input method layer 30 pops up is taken as the X direction, the position in which the input method layer 30 pops up is taken as the bottom of the X direction (or referred to as the bottom of the display screen 101), and the position of the electronic device 100 opposite to the bottom along the X direction is taken as the top (or referred to as the top of the display screen 101). That is, in the X-direction, the input method layer 30 pops up from the bottom of the display screen 101 of the electronic device 100 into the display area of the display screen 101 (for example, the area in the middle of two broken lines in the X-direction on the display screen 101 of the electronic device 100 in fig. 1A). Referring to fig. 1A, since the floating window 10 is also displayed on the display screen 101, the display area of the bottom of the display screen 101 is insufficient to simultaneously display the input method layer 30 and the floating window 10. Thus, the input method layer 30 covers the floating window 10. Therefore, the electronic device 100 can adjust the position and size of the floating window 10 according to the position displayed by the input method layer 30 to avoid that the floating window 10 is hidden by the input method layer 30, so as to avoid that the user cannot see the position of the bottom of the floating window 10 (for example, in the case that the position of the bottom of the floating window 10 is the input frame 13, the user cannot see the content input in the input frame 13, and the user is affected in inputting the content).
Illustratively, referring to FIG. 1A, the electronic device 100 will move the floating window 10 in the X direction toward the top of the display screen 101. For example, in the case where the input method layer 30 is not displayed, the distance from the bottom of the floating window 10 to the bottom of the display area of the display screen 101 in the X direction is D1. When the electronic device 100 displays the input method layer 30, the electronic device 100 moves the floating window 10 toward the top of the display screen 101 along the X direction because the input method layer 30 covers the floating window 10. For example, the floating window 10 is moved to the top of the display screen 101, and the distance between the bottom of the floating window 10 in the X direction and the bottom of the display screen 101 becomes D2, D2 > D1. But the height of the input method layer 30 along the X-direction is D3, D3 > D2. That is, the input method layer 30 also covers the floating window 10.
Therefore, to avoid the input method layer 30 shielding the floating window 10, the electronic device 100 also adjusts the size of the floating window 10.
Referring to fig. 1A and 1B, the floating window 10 includes an application layer 11 and a decoration region layer 12, and the application layer 11 is displayed on an upper layer of the decoration region layer 12 in an outward direction perpendicular to the display screen 101. After the floating window 10 moves toward the top of the display screen 101 along the X direction, the electronic device 100 may also adjust the sizes of the application layer 11 and the decoration region layer 12 in equal proportion, so that the application layer 11 and the decoration region layer 12 after the size adjustment are not blocked by the input method layer 30. For example, referring to fig. 1B and 1C, the size of the application layer 11 in the X direction is D1, the size of the decoration region layer 12 in the X direction is D2 (D1 < D2), the size of the input method layer 30 in the X direction is D3, the size of the display screen 101 of the electronic device 100 in the X direction can be used to display the floating window 10 and the size of the input method layer 30 is P1, and the electronic device 100 can reduce the size of the application layer 11 and the decoration region layer 12 to K times the original size, where K is + (P1-D3)/D2. That is, after the adjustment of the dimensions, the dimension of the application layer 11 in the X direction is kxd1, and the dimension of the decorative area layer 12 in the X direction is kxd2.
However, in the process of adjusting the size of the floating window 10, the electronic device 100 draws the application layer 11 and the decoration region layer 12 by different processes. The different drawing times of the respective processes result in different dimensional adjustment of the application layer 11 and the decoration region layer 12, so that the application layer 11 and the decoration region layer 12 of the floating window 10 in the picture displayed by the electronic device 100 are not synchronized. For example, referring to fig. 1B, the adjusted application layer 11 '(height d1' in the X direction) is drawn first. At this time, the application layer 11 'and the decorative area layer 12 (the height in the X direction is d 2) which have not been drawn again are displayed on the floating window 10'. Since the size of the application layer 11 'is smaller than the size (d 1' < d 1) of the application layer 11, the area of the decorative area layer 12 blocked by the application layer 11 will be displayed. For example, a decorative zone layer 12 of D5 height blank areas (e.g., D5 height areas) is shown on the floating window 10'. After the layer 12' of the area to be decorated is drawn (the height in the X direction is d2', d2' < d 2), the floating window 10 "is displayed completely.
In summary, in the process of displaying the input method layer and adjusting the floating window, the electronic device draws the floating window with the adjusted size and is not synchronous, so that the images of the application layer and the decoration region layer in the interface displayed by the electronic device are not synchronous, and abnormal display occurs.
In order to solve the above-mentioned problem, the present application provides a display method, when an electronic device detects that a user triggers a second application interface for displaying a second application in a first floating window, in a process of displaying the second application interface, an overlapping condition of the second application interface after being displayed and the first floating window may be predicted. And under the condition that the overlapping area comprises the key display content of the first floating window, for example, the layers corresponding to the key content are adjusted, so that the layers of the key content are not overlapped with the second application interface, namely, the display of the key content is not blocked. And for other parts of the first floating window, such as the decoration area, if located in the overlapping area, may not be displayed.
It can be understood that the key content is a portion, which needs to be displayed when there is an occlusion situation with the second application interface, of the display portions in the first floating window. And the non-critical display is the appearance and style of the floating window. For example, in some embodiments, the application layer may be used as critical display content and the decoration region layer may be used as non-critical display content.
Specifically, for example, in some embodiments, text boxes or buttons, etc. of the application layer are key display content, and window borders, title bars, etc. of the decoration region layer are non-key display content. The second application interface is an input method layer. If the overlapping area is predicted to exist between the decorative area layer of the floating window and the displayed input method layer and the overlapping area does not exist between the application layer of the floating window and the displayed input method layer, the electronic device may not display a window portion corresponding to the overlapping area in the floating window, that is, a portion of the decorative area layer of the floating window located in the overlapping area may not be displayed.
If the application layer and the displayed input method layer are predicted to have an overlapping area, the application layer is compressed in the X direction of the current display interface (the X direction is the popping direction of the input method layer) so that the compressed application layer and the input method layer have no overlapping area, and a window part corresponding to the overlapping area in the floating window is not displayed, namely, the display content corresponding to the application layer is ensured not to be blocked during display.
Through this scheme, after electronic equipment readjusts the size of application layer, the suspended window does not show the decoration district layer and is covered by the input method layer. Thus, the decorative area layer does not need to be readjusted, or the portion of the decorative area layer that is readjusted is not shown. Therefore, the process of displaying the floating window after the electronic equipment adjusts the floating window is ensured not to be abnormal.
In some embodiments, the second application interface may also be, for example, a second floating window. That is, in the case where the electronic device displays the first floating window and the second floating window at the same time, there is an overlapping area of the first floating window and the second floating window, the electronic device may adjust the first floating window or the second floating window. So that the key display contents of both the first and second floating windows are not occluded.
In some embodiments, if it is predicted that the input method layer does not overlap with both the application layer and the decoration region layer, the floating window layer may not be adjusted.
In some embodiments of the present application, after the application layer and the input method layer have overlapping areas, the position of the application layer in the floating window layer may also be adjusted (for example, the application layer is moved along the X direction). After the application layer moves to the movable maximum position of the floating window layer, if the application layer and the input method layer still have an overlapping area, the application layer is compressed along the X direction.
In some embodiments of the present application, it is predicted that there is an overlap region between the input method layer and the application layer that represents: after the floating window layer is predicted to move to the top of the X direction along the X direction, the input method layer and the application layer are overlapped.
Predicting that an overlapping area exists between an input method layer and a decoration area layer to represent: after the floating window layer is predicted to move to the top of the X direction along the X direction, the input method layer and the decoration area layer are overlapped.
Predicting that the input method layer and the floating window layer have no overlapping area indicates that: and predicting that the input method layer and the floating window layer are not overlapped. Or, it is predicted that the input method layer and the floating window layer overlap, but after the electronic device adjusts the position of the floating window layer, the input method layer and the floating window layer do not overlap. It may be determined that there is no overlapping area between the input method layer and the floating window layer.
In some embodiments of the present application, the input method layer of the electronic device may have a display animation during the display process. For example, the input method layer is gradually displayed from the display interface (or display screen) of the electronic device along the bottom of the X direction. When the electronic device adjusts the floating window, the position of the floating window is adjusted, for example, the floating window is moved upwards along the X direction. If the floating window moves up to the top of the display interface of the electronic device, the bottom of the floating window is still covered by the input method layer, the floating window does not move any more, and the input method layer is waited to enter the display screen along the X direction. The electronic device does not display the decorative area layer covering the floating window by the input method layer corresponding to the input method layer moving upwards along the X direction to the decorative area layer covering the floating window. The electronic device can adjust the size of the application layer corresponding to the part of the input method layer, which is covered by the application layer, in the X direction, so as to ensure that the application layer can be displayed, and the part of the decoration area layer of the floating window, which is covered by the input method layer, cannot be displayed. Along with the upward movement of the input method layer, the size of the application layer is gradually reduced until the input method layer is completely displayed. The animation of the input method layer up-moving is finished, and the size of the application layer is not changed any more.
Illustratively, in some embodiments of the present application, the electronic device resizes the floating window display via the window management module. The floating window may include, for example, a task (task) layer, which corresponds to a "canvas" decoration area layer and an application layer, both of which may be displayed on the task layer, and only the size of the task layer may be displayed. When the electronic device adjusts the size of the application layer, the task layer includes the adjusted application layer and the decoration area layer which is not adjusted yet. The window management module may crop the task layer so that the task layer only displays the upper status bar of the decoration area layer and the application layer. That is, the portion of the task layer below the application layer is cropped by the window management module. Therefore, the electronic equipment does not need to adjust the size of the decorative area layer in the process of adjusting the size of the suspended window, or the process of adjusting the size of the decorative area layer cannot be displayed.
The procedure of adjusting the floating window in the input method popup process in the embodiment of the present application is described below by taking the second application interface as an example of the input method layer. In other embodiments, the second application interface may also be a floating window or a picture, which is not limited in this application.
For example, fig. 2A shows a flowchart of an embodiment of an electronic device adjusting a floating window, according to an embodiment of the present application.
For example, the electronic device in the embodiments of the present application may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like. The electronic device may be a mobile phone, a smart television, a wearable device, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city, a wireless terminal in smart home (smart home), and the like.
Illustratively, in an embodiment of the present application, a floating window layer corresponding to a floating window application is displayed on a display screen of an electronic device, where the floating window layer includes an application layer, a decoration area layer, and a task (task) layer. The application layer is on top of the decoration region layer in a direction perpendicular to the display screen.
The application layer contains the main content of the floating window application, such as buttons, text boxes, etc. The application layer typically contains the main interactive elements of the floating window application, at which layer the user can operate to interact with the floating window application.
The decorative zone layer is responsible for the appearance and style of the floating window, such as window borders, title bars, etc. It does not contain the main content of the floating window application, but rather provides options for customizing the appearance and style of the floating window, such as changing the window color, adding shading effects, etc.
Task (task) layers are mainly used for displaying task information, such as names, states, priorities and the like of tasks. It may be based on the needs of the application and the interaction logic of the user. The electronic device can dynamically adjust the position and the size of the window, so that the display area of the floating window is adjusted.
When the user triggers the display of the input method, the electronic equipment displays the input method layer corresponding to the floating window. The execution main bodies of the following processes are all electronic devices, and the execution main bodies of the following processes are not repeatedly introduced when the following processes are introduced.
As shown in fig. 2A, the process includes:
s101, detecting a message popped up by an input method layer.
Illustratively, in some embodiments of the present application, a floating window is displayed on a display screen of an electronic device. The user can trigger the electronic device to display the input method of the corresponding floating window through operation. For example, the user may click on an input box within the hover window, or display an input method corresponding to the hover window via a gesture, action, voice, or the like. And after the electronic equipment detects the operation of the user, determining the input method layer of the pop-up electronic equipment. At this time, the electronic device may detect a message popped up by the input method layer.
S102, predicting the overlapping condition of the application layer and the displayed layer based on the position and the size of the floating window layer and the size of the input method layer.
For example, in some embodiments of the present application, the electronic device predicts the overlap of the displayed input method layer and the floating window layer based on the position and the size of the floating window layer and the size of the input method layer.
And the input method layer which is predicted and displayed based on the position and the size of the floating window layer and the size of the input method layer corresponds to the electronic equipment, and no overlapping area exists in the input method layer. S103 is performed to display the floating window layer.
For example, the input method layer does not overlap the floating window layer until the position of the floating window layer is not adjusted.
And after the electronic equipment predicts that the input method layer and the floating window layer are overlapped, the floating window layer is moved along the X direction (popping direction of the input method layer), so that the input method layer and the floating window layer are not overlapped. That is, at this time, the floating window layer is not moved to the maximum position in the X direction (hereinafter referred to as the top in the X direction) or just after being moved to the top in the X direction, the input method layer and the floating window layer are not overlapped.
For example, fig. 2B shows a schematic diagram of a floating window layer and an input method layer without an overlapping region according to an embodiment of the present application.
As shown in a part a of fig. 2B, the input method layer 30, the application layer 11 and the decoration region layer 12 are not overlapped, and there is no overlapping area between the input method layer 30 and the floating window layer, wherein the part of the dashed frame is the task layer 14. As shown in part b, the input method layer 30 overlaps the decoration region layer 12, but after the position of the floating window layer is adjusted, for example, after the floating window layer moves to the top in the X direction, the input method layer 30 does not overlap the floating window layer, and there is no overlapping region between the input method layer 30 and the floating window layer.
S103, displaying a floating window layer.
For example, in some embodiments of the present application, after the electronic device predicts that the input method layer and the floating window layer do not have an overlapping area, the floating window layer and the input method layer may be displayed without adjusting the size of the floating window layer. Or after the position of the floating window layer is adjusted, displaying the input method layer and the floating window layer.
And (S104) if the input method layer and the decoration area layer after the prediction display have an overlapping area and no overlapping area with the application layer based on the position and the size of the floating window layer and the size of the input method layer, and the window part corresponding to the overlapping area in the floating window layer is not displayed.
In an embodiment of the present application, the electronic device predicts that the floating window layer is still overlapped with the decoration area layer after moving to the top of the X direction based on the position and the size of the floating window layer and the size of the input method layer, but the input method layer is not overlapped with the application layer. It can be determined that there is an overlapping region of the input method layer and the decoration region layer and there is no overlapping region with the application layer.
For example, fig. 2C shows a schematic diagram of a decoration region layer and an input method layer having an overlapping region according to an embodiment of the present application.
As shown in fig. 2C, after the floating window layer is moved to the top in the X-direction, the input method layer 30 overlaps the decorative area layer 12. It indicates that there is an overlap region between the input method layer 30 and the decoration region layer 12.
And S104, not displaying a window part corresponding to the overlapped area in the floating window layer.
For example, in some embodiments of the present application, after determining that an overlapping area exists between the input method layer and the decoration region layer and that an overlapping area does not exist between the input method layer and the application layer, the electronic device may adjust the size of the floating window layer such that the floating window layer does not display the overlapping area between the decoration region layer and the input method layer. That is, the electronic device does not display the window portion of the floating window layer corresponding to the overlapping region.
For example, referring to fig. 2C, the electronic device adjusts the floating window layer, for example, by clipping the size of the task layer 14 in the floating window layer. For example, the task layer 14 is sized from d3 to d3'. The floating window layer then only shows the area of the task layer 14', that is, the overlapping area of the floating window layer and the input method layer 30 is not shown.
In other embodiments, after the electronic device adjusts the size of the application layer, the electronic device may not display a window portion corresponding to the overlapping area in the floating window layer after the application layer does not have the overlapping area with the displayed input method layer. That is, after the size of the application layer is adjusted, an overlapping area is not formed between the application layer and the input method layer, and the electronic device does not display a window corresponding to the overlapping area in the floating window layer and does not influence the display of the application layer.
For example, referring to fig. 2D, fig. 2D shows a schematic diagram of an application layer and an input method layer having an overlapping region according to an embodiment of the present application.
The electronic device adjusts the floating window layer, for example, by clipping the size of the task layer 14 in the floating window layer. For example, the task layer 14 is sized from d3 to d3". The floating window layer then only shows the area of the task layer 14", that is, the overlapping area of the floating window layer and the input method layer 30 is not shown.
And based on the position and the size of the floating window layer and the size of the input method layer, predicting that an overlap area exists between the application layer and the displayed input method layer, executing S105, and adjusting the size of the application layer so that the overlap area does not exist between the application layer and the displayed input method layer.
In an embodiment of the present application, the electronic device predicts that the floating window layer is still overlapping with the application layer after moving to the top of the X direction based on the position and size of the floating window layer and the size of the input method layer. It may be determined that an overlap region exists between the input method layer and the application layer.
For example, as shown in FIG. 2D, after the floating window layer is moved to the top in the X-direction, the input method layer 30 overlaps the task layer 11. It indicates that there is an overlap region between the input method layer 30 and the decoration region layer.
S105, adjusting the size of the application layer so that an overlapping area does not exist between the application layer and the displayed input method layer.
For example, in some embodiments of the present application, after determining that an overlap area exists between an application layer and an input method layer, the electronic device may adjust a size of the application layer such that the application layer and the input method layer do not have an overlap area. That is, after the size of the application layer is adjusted, only the decoration region layer and the input method layer have an overlapping region in the floating window layer. Then, the electronic device executes S104 procedure without displaying the window portion corresponding to the overlapping region in the floating window layer.
For example, referring to fig. 2D, the input method layer 30 and the application layer 11 have an overlapping area, and the electronic device adjusts the size of the application layer 11 so that the application layer 11 does not overlap with the input method layer 30. For example, the dimension of the application layer 11 is compressed in the X-direction from d1 to d1'. This ensures that the input method layer 30 does not overlap the application layer 11'.
Therefore, the electronic device can adjust the size of the application layer so that the application layer always has no overlapping area with the input method layer, and the electronic device can also task the display area of the layer so that the floating window layer does not display the overlapping area with the input method layer. Therefore, in the process of adjusting the floating window, even if the adjustment process of the application layer and the decoration area layer is not synchronous, the floating window layer cannot be displayed in the adjustment process, so that abnormal display of the electronic device cannot occur.
It should be understood that, in the embodiment of the present application, the execution of S102, S104, and S106 is not sequential, and the electronic device executes a corresponding flow based on the overlapping situation of the input method layer and the floating window layer.
Next, a software framework of the electronic device is described.
Fig. 3 shows a schematic block diagram of a system software architecture of an electronic device according to an embodiment of the present application.
The software system of the electronic device may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiment of the invention takes a layered architecture as an example, and illustrates the software structure of the electronic equipment.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the software system of the electronic device is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (android run) and system library, a hardware abstraction layer, and a kernel layer, respectively.
As shown in fig. 3, the application layer is a direct interface for a user to interact with the mobile phone system, and is responsible for providing a user interface including icons, menus, dialog boxes, etc. of various application programs, so that the user can conveniently interact with the mobile phone system.
The application layer may include, for example, an input method management module, a floating window management module, an application layout management module, a series of applications, and the like.
The input method management module (input method manager service) is used for managing initialization and state management of the input method and interaction between a user and the input method. For example, in some embodiments of the present application, a user may trigger the display of an input method layer by clicking an input box within a hover window or by voice, gesture, or the like. The input method management module can display an input method layer after receiving the interactive operation of the user. For example, the input method management module may control the animation effect of the input method layer popup. And the input method management module can also manage the interaction between the user and the input method layer, for example, the user inputs messages and the like through the input method layer.
The floating window management module can be used for setting common application programs or websites by a user, and the corresponding application programs are quickly started or the corresponding websites are opened by clicking shortcuts in the floating window. The floating window management module also supports short message quick reply. For example, the short message management function is integrated, and the user can quickly look up the received short message through the floating window and can quickly reply the short message. In addition, the floating window management module can display notifications, integrate notification management functions, and enable a user to quickly view and reply to the notifications through the floating window.
In some embodiments of the present application, the floating window management module may also control creation, positioning, resizing, interaction modes, etc. of the floating window layer. For example, when the electronic device displays the input method layer, the electronic device predicts that an overlapping area exists between the input method layer and the corresponding floating window layer, and the electronic device can adjust the position and the size of the floating window layer through the floating window management module so as to display the input method layer and avoid the input method layer from shielding the floating window layer.
An application layout management module (view root image) is an input event distributor in a view system in a software system of an electronic device, and is responsible for transmitting input events received by the system to a correct view and transmitting back a response of the view. At the same time, it is also a core component of window management, view drawing, and system event response.
Applications may include, for example, camera, gallery, calendar, conversation, map, navigation, WLAN, bluetooth, music, desktop, information, etc. applications.
The application framework layer (framework layer) provides an application programming interface (application programming interface) and programming framework for application layer applications. The application framework layer includes a number of predefined functions.
The application framework layer may include a window management service (window manager service, WMS), a view system (view system), a graphics system (graphics system), a graphics layer management module (surface flinger) (also referred to as a display composition system), a display engine service (display engine service), a resource manager, and a notification manager.
A window management service (or window management module) is used for managing window programs, and is responsible for controlling and managing various attributes and operations of the windows, and handling communication and task management among the windows. For example, the WMS may obtain the display size, determine if there is a status bar, lock the screen, intercept the screen, etc. In some embodiments of the present application, the WMS may also adjust the position and size of the floating window layer. For example, the WMS may adjust a task (task) layer size of the floating window layer to control a display area of the floating window layer.
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.
The graphic system is a general programming software package in the system, and is composed of graphic I/O devices, and the basic functions are graphic element generation, attribute setting and the like.
The graphic layer management module (surface layer) may also be referred to as interface composition, and functions to accept graphic display data provided by WMS, compose them, and input them to a display device for display. The graphics layer management module may use an open graphics library (open graphics library, openGL) hardware synthesizer (hard ware composer, HWC) to synthesize an interface (surface). For example, in some embodiments of the present application, the layer management module can receive WMS adjusted floating window layers and then display the floating window layers on a display screen of the electronic device.
The display engine service may invoke the hardware capabilities provided by the ambient light sensor 180L in the hardware abstraction layer to obtain the illumination intensity of the ambient light.
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction.
an android run includes a core library and virtual machines. android run is responsible for scheduling and management of android systems. The core library consists of 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 program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., open graphics library (OpenGL), or open graphics library for embedded systems (open graphics library for embedded systems, openGL ES)), 2D graphics engine (e.g., skia graphics library (skia graphics library, SGL)), etc. It will be appreciated that an android application may call the SGL or OpenGL ES interface to draw a rendering user interface.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a CPU driver, a GPU driver, a display driver, a sensor driver, a camera driver and the like.
Next, based on the above-mentioned software framework, an implementation flow of adjusting the floating window layer in the embodiment of the present application is described.
For example, fig. 4 illustrates an interactive flow diagram for adjusting a floating window layer, according to some embodiments of the present application.
As shown in fig. 4, the process includes:
s201, the input method management module determines to display an input method layer.
Illustratively, in some embodiments of the present application, a floating window is displayed on a display screen of an electronic device. The user can trigger the electronic device to display the input method of the corresponding floating window through operation. For example, the user may click on an input box within the hover window, or display an input method corresponding to the hover window via a gesture, action, voice, or the like. After the input method management module detects the operation of the user, determining an input method layer of the pop-up electronic equipment.
S202, the input method management module sends a message for displaying the input method to the window management module.
Illustratively, in an embodiment of the present application, after determining to display the input method layer, the input method management module sends a message for displaying the input method to the layer management module, where the message may include, for example, a format of the input method layer (e.g., a hundred degree input method, a dog search input method, a fly input method, etc.). The window management module can select the corresponding input method layer for display according to the format of the input method.
S203, the window management module sends information of the input method layers to be displayed to the floating window module.
Illustratively, after determining the format of the input method layer, the window management module may determine the size and display location of the input method layer. The window management module may send information of the input method layer to be displayed to the floating window module, the information including a size and a display position of the input method layer to be displayed.
S204, the floating window module judges whether to adjust the position of the floating window layer based on the information of the input method layer.
Illustratively, in some embodiments of the present application, the floating window module may determine whether the position of the floating window layer needs to be adjusted based on the information of the input method layer. For example, the floating window module predicts that the input method layer is completely displayed according to the size of the input method layer and then shields the floating window layer. Then, the floating window module may determine to move the floating window layer in the X direction according to the direction in which the input method layer pops out (e.g., the popping direction is X).
If yes, executing S205, where the floating window module determines the adjusted position of the floating window layer.
If the result is negative, the floating window module predicts the overlapping condition of the displayed input method layer and the floating window layer.
S205, the floating window module determines the adjusted position of the floating window layer.
Illustratively, in some embodiments of the present application, after the floating window module determines that the position of the floating window layer needs to be adjusted, the adjusted position of the floating window layer may be determined. For example, the floating window module may determine, according to the size of the input method layer and the size of the floating window layer, that the input method layer does not obstruct the floating window layer after the floating window layer moves to the calculated position along the X direction. Or after the floating window module determines that the floating window layer is moved to the maximum position (hereinafter referred to as the top in the X direction) where the floating window layer can be moved in the X direction, it is determined that the floating window layer is moved to the top in the X direction.
Then, the floating window management module can predict the overlapping condition of the displayed input method layer and the floating window layer, and the overlapping condition of the input method layer and the floating window layer comprises: an overlapping area exists between the input method layer and the application layer, and an overlapping area exists between the input method layer and the decoration area layer, and an overlapping area does not exist between the input method layer and the application layer. And then, each module in the electronic equipment is based on the corresponding flow of the overlapping condition of the input method layer and the floating window layer.
For example, when it is determined that there is an overlap region between the input method layer and the application layer, S206 to S212 are performed.
And when the overlapping area exists between the input method layer and the decoration area layer and the overlapping area does not exist between the input method layer and the application layer, executing the flow of S213 to S215.
S206, the window management module determines the change of the application layer, puts a message for redrawing the application layer to the application layout management module, and initiates synchronization.
Illustratively, in some embodiments of the present application, after the floating window management module determines that there is an overlapping region between the input method layer and the application layer, the window management module may determine to adjust the size of the application layer. The window management module may send a message for redrawing the application layer to an application layout management module (view root image), which draws the application layer according to the adjusted size of the application layer. And the window management module can also initiate synchronization to the application layout management module, that is, the application layout module can not send the drawn information to the layer management module to draw a new application layer after drawing the application layer with the adjusted number. The adjustment of the application layer and the adjustment of the decoration area layer are not synchronous, so that the display of the electronic equipment is abnormal.
S207, the window management module adjusts the size of the task layer so that the floating window layer does not display an overlapping area with the input method layer.
In an embodiment of the present application, the window management module further adjusts the size of the task layer in the floating window layer after determining that the application layer needs to be redrawn, so that the floating window layer does not display an area overlapping with the input method layer. The mode of adjusting the size of the task layer may be, for example, cutting the size of the task layer, and cutting the region of the task layer overlapping with the input method layer. Because the size of the application layer is adjusted and no overlapping area exists between the application layer and the input method layer, the window management module cuts the task layer and does not influence the display of the application layer.
S208, the application layout management module redraws the application layer of the floating window layer.
Illustratively, in an embodiment of the present application, the application layout management module redraws the application layer according to the size of the application layer adjusted by the window management module.
S209, the application layout management module sends a message for finishing drawing the application layer to the window management module.
In an embodiment of the present application, after the application layout management module draws the number application layer, the drawn message is sent to the window management module, so that the application layer is prevented from being displayed first after the application layer drawing message is received by the layer management module, so as to ensure that the changes of the floating window layer are synchronous.
S210, the window management module judges whether the position of the task layer of the floating window layer changes.
Illustratively, in some embodiments of the present application, the window management module may further determine whether the position of the task layer changes after adjusting the size of the application layer. That is, the window management module may also determine whether the position of the floating window layer has been adjusted.
If yes, executing S212, and sending the message after the position adjustment of the floating window layer and the message for the application layer to finish drawing again to the layer management module by the window management module.
If the result is no, S211 is executed, and the window management module sends a message for applying the layer to resume drawing to the layer management module.
It should be appreciated that if the floating window layer is already in the top position in the X-direction, the position of the floating window layer will not be adjusted when the electronic device redisplays the input method layer. If the window management module predicts that the input method layer and the floating window layer have an overlapping area, the floating window layer is directly adjusted.
S211, the window management module sends a message for applying the layer to finish drawing again to the layer management module.
Illustratively, in some embodiments of the present application, after the window management module determines that a task layer of the floating window layers has not been adjusted, it may determine that the floating window layers do not need to be adjusted in position. Thus, the window management module sends a message to the layer management module that the application layer is finished drawing again.
S212, the window management module sends a message after the position of the floating window layer is adjusted to the layer management module and a message for finishing drawing again by applying the layer.
Illustratively, in some embodiments of the present application, after the window management module determines that the task layer in the floating window layer is adjusted, the window management module may send a message to the layer management module after the floating window layer is adjusted, and a message to the application layer to re-complete the drawing.
S213, the window management module adjusts the size of the task layer so that the floating window layer does not display the overlapping area with the input method layer.
In an embodiment of the present application, the window management module adjusts the size of the task layer in the floating window layer after determining that the input method layer and the decoration area layer have an overlapping area, so that the floating window layer does not display an overlapping area with the input method layer. The mode of adjusting the size of the task layer may be, for example, cutting the size of the task layer, and cutting the region of the task layer overlapping with the input method layer. Because the application layer and the input method layer have no overlapping area, the window management module cuts the task layer and does not influence the display of the application layer. That is, the window management module may adjust the size of the task layer of the floating window layer such that the task layer does not display an area where the decoration area layer overlaps the input method layer.
S214, the window management module judges whether the position of the floating window layer changes.
Illustratively, in some embodiments of the present application, the window management module may determine whether the position of the task layer has changed.
If yes, executing S215, where the window management module sends a message after the position adjustment of the floating window layer to the layer management module.
If the result is negative, S216 is executed, and the layer management module draws the floating window layer.
S215, the window management module sends a message after the floating window layer is adjusted to the layer management module.
Illustratively, in some embodiments of the present application, after determining that the position of the task layer of the floating window layer is adjusted, the window management module sends a message to the layer management module after the floating window layer is adjusted, so that the layer management module displays the floating window layer.
S216, the layer management module draws a floating window layer.
Illustratively, in some embodiments of the present application, after the layer management module receives the application layer redrawing message sent by the window management module, the floating window layer may be redrawn, where the size of the floating window layer is the same as the size of the task layer. That is, after the size of the application layer is adjusted to a region where the application layer does not overlap with the input method layer, the window management module adjusts the size of the task layer of the floating window layer, so that the floating window layer does not display a region where the floating window layer overlaps with the input method layer. At this time, even if the decoration region layer has a region overlapping with the input method layer, the overlapping region is not displayed. Therefore, even if the drawing time of the decoration area layer and the drawing time of the application layer are not synchronous, the display screen of the electronic equipment can not display abnormal conditions.
In other embodiments of the present application, after the layer management module receives the message that the application layer is re-drawn sent by the window management module, the application layer is drawn according to the new size, and when the floating window layer is drawn, the overlapping area with the input method layer is not displayed.
In other embodiments of the present application, the layer management module receives a message sent by the window management module after the floating window layer is adjusted in position, and after the application layer completes the drawing again. And the layer management module displays a floating window layer at the adjusted position, and the area overlapped with the input method layer in the floating window layer is not displayed.
In other embodiments of the present application, after receiving the message sent by the window management module after the position adjustment of the floating window layer, the layer management module displays the floating window layer at the adjusted position. At this time, the size of the application layer does not need to be redrawn, and the floating window layer does not display the overlapping area of the decoration area layer and the input method layer.
In other embodiments of the present application, after the window management module determines that the position of the floating window layer is not changed and the application layer does not need to be resized, the layer management module may directly draw the floating window layer and does not display an overlapping area of the floating window layer and the input method layer.
In other embodiments of the present application, if the floating window management module predicts that there is no overlapping area between the displayed input method layer and the application layer, the floating window layer may be directly drawn by the layer management module.
In summary, after the input method management module determines to display the input method layer, the window management module may predict the overlapping condition of the input method layer and the floating window layer, so as to adjust the position of the floating window layer. If the floating window is adjusted to the top of the X direction, the input method layer still shields the application layer of the floating window layer. The window management module adjusts the size of the application layer so that the application layout management module redraws the application layer, and the application layer and the input method layer have no overlapping area, so that the input method layer is prevented from shielding the application layer. And the window management module can adjust the size of the task layer of the floating window layer so as to adjust the display area of the floating window layer, so that the area overlapped with the input method layer in the floating window layer is not displayed, and the abnormal display problem caused by asynchronous adjustment of the application layer and the decoration area layer can be avoided.
Illustratively, in other embodiments of the present application, the first hover window and the second application interface are displayed on a display screen of the electronic device. When the user adjusts the position and/or the size of the second application interface, the electronic device may determine an overlapping condition of the adjusted second application interface and the first floating window, and determine to adjust the first floating window. For example, in some embodiments of the present application, a floating window layer and an input method layer are displayed on a display screen of an electronic device. That is, the floating window layer has been adjusted. At this time, the user can also adjust the position and size of the input method layer by sliding the display screen of the electronic device. In the process of adjusting the position and the size of the input method layer, the position and the size of the floating window layer can also be correspondingly changed. For example, a user may move the input method layer along the top of the X-direction to the X-direction, and the electronic device may shrink the size of the floating window. Or the user moves the input method layer in the direction opposite to the X direction, and the electronic equipment can increase the size of the floating window.
The execution subject of each of the following flows is an electronic device, for example.
As shown in fig. 5, the process includes:
s301, an overlapping area exists between the floating window layer and the input method layer, and the floating window layer responds to the change of the input method layer.
Illustratively, in some embodiments of the present application, a floating window layer is displayed on a display screen of an electronic device. After triggering the electronic equipment to display the input method layer, the electronic equipment determines that an overlapping area exists between the input method layer and the floating window layer. The electronic device may adjust the floating window layer so that the input method layer does not obscure an application layer in the floating window layer when the input method layer is displayed.
In other embodiments, after the input method layer is displayed, there is no overlapping area with the floating window layer, and the floating window layer may not be adjusted.
S302, adjusting the size and/or the position of an input method layer.
Illustratively, after the input method layer is displayed, the user may also adjust the size and/or position of the input method layer to facilitate interaction with the input method layer. The electronic device responds to the operation of the user, so that the input method layer is moved or the size of the input method layer is adjusted. That is, the input method layer at this time is also similar to a floating window.
S303, judging whether an overlapping area exists between the initial application layer and the current input method layer.
After the electronic device adjusts the input method layer, the electronic device may determine whether an overlapping area exists between the current input method layer and an application layer in the initial floating window layer. If yes, executing S306, and judging whether the displacement of the current floating window layer is changed compared with the displacement of the last floating window layer.
If the judgment result is no, executing S304, and judging whether the initial decoration area layer and the current input method layer have an overlapping area or not.
Illustratively, in some embodiments of the present application, the initial application layer represents the size and location of the application layer at the time of the floating window layer. The floating window layer has an initial position and size after display, and the initial position and size of the floating window layer can be, for example, user-defined settings, or default positions and sizes of floating window applications. Although the floating window layer can be adjusted in size and position during the display of the input method layer. However, the initial position and the initial size of the floating window layer are also preserved, so that the floating window layer can return to the initial position and the initial size after the input method layer is not displayed.
S304, judging whether an overlapping area exists between the initial decoration area layer and the current input method layer.
In some embodiments of the present application, after determining that there is no overlapping area between the current input method layer and the initial application layer, the electronic device may further determine whether there is an overlapping area between the current input method layer and the initial decoration area layer.
If the determination result is yes, S306 is executed to determine whether the position to be adjusted by the current floating window layer is changed compared with the position of the last floating window layer.
If the determination result is no, S305 is executed to display the size and position of the initial floating window layer.
For example, in some embodiments, the electronic device may execute the processes of S303 and S304 simultaneously, that is, the electronic device may predict the overlapping situation of the input method layer after the position adjustment and the initial floating window layer. And executing S305 under the condition that the adjusted input method layer and the initial floating window layer have no overlapping area. And under the condition that the adjusted input method layer and the initial floating window layer have an overlapping area, executing S306.
S305, displaying the size and the position of the initial floating window layer.
In an embodiment of the present application, the electronic device determines that the current input method layer does not have an overlapping area with the application layer of the floating window layer in the initial state, and does not have an overlapping area with the decoration region layer of the floating window layer in the initial state. Thus, the electronic device may display the initial position and initial size of the floating window layer.
S306, judging whether the position to be adjusted by the current floating window layer is changed compared with the position of the last floating window layer.
In some embodiments of the present application, after determining that there is an overlapping area between the current input method layer and the initial application layer or an overlapping area between the current input method layer and the initial decoration area layer, the electronic device may determine whether the displacement of the current floating window layer changes compared with the displacement of the last floating window layer. The displacement of the floating window layer represents the distance that the floating window layer moves along the X direction.
If yes, executing S307 to adjust the position of the task layer.
If the determination result is no, S308 is executed to determine whether the size of the application layer determined this time and the size of the application layer determined last time have changed.
It should be understood that, after the electronic device adjusts the position of the input method layer, the overlapping area of the input method layer and the floating window layer after the position is adjusted may be changed. Thus, the position of the floating window layer may also change.
S307, adjusting the position of the task layer.
In this example, in the present application, after the electronic device determines that the position to which the floating window layer is to be moved changes from the position to which the floating window layer is moved last, it is further described that the position of the floating window layer needs to be adjusted. The electronic device may adjust the position of the floating window layer by adjusting the position of the task layer of the floating window layer.
For example, after the input method layer moves in the direction opposite to the X direction, the distance between the input method layer and the top of the X direction is greater than the initial size of the floating window layer, and then the floating window layer may move in the direction opposite to the X direction to a position where the floating window layer is attached to the input method layer (not the initial position of the floating window layer). Or the floating window layer does not move to the top of the X direction along the X direction, after the electronic equipment adjusts the position of the input method layer, the input method layer shields the floating window layer again, and the electronic equipment can continue to move the floating window layer along the X direction.
S308, judging whether the size of the application layer determined at this time and the size of the application layer determined at last time are changed or not.
Illustratively, in some embodiments of the present application, the electronic device determines that the position to which the current floating window layer is to be moved is unchanged from the position of the last floating window layer. For example, the input method layer moves in a direction perpendicular to X. Or the last floating window layer and the position to which the current floating window layer is to be moved have both been moved to the top in the X-direction. Thus, it means that the floating window layer does not need to be moved any more. The electronic device may determine whether the size of the application layer determined this time and the size of the application layer determined last time have changed.
If yes, executing S309, and adjusting the dimensions of the application layer and the task layer.
If the determination result is no, S310 is executed to determine whether the size of the area where the decoration area layer and the input method layer overlap determined at this time and the size of the area where the previous input method layer and the decoration area layer overlap have changed.
S309, adjusting the sizes of the application layer and the task layer.
For example, in some embodiments of the present application, when the electronic device determines that the size of the current application layer is different from the size of the application layer determined last time, the electronic device may adjust the size of the application layer so that the application layer does not have an overlapping area with the input method layer. And the electronic device may also adjust the size of the task layer so that the floating window layer does not display the area overlapping with the input method layer, and the adjustment process refers to the flow shown in the embodiment of fig. 4.
S310, judging whether the size of the area where the decorative area layer and the input method layer are overlapped is changed from the size of the area where the decorative area layer and the input method layer are overlapped last time.
In some embodiments of the present application, the electronic device determines that the size of the current application layer is the same as the size of the application layer determined last time, and does not need to adjust the size of the application layer. At this time, the electronic device may determine whether the size of the area where the decoration area layer and the input method layer overlap determined at this time and the size of the area where the last input method layer and the decoration area layer overlap have changed.
If yes, executing S312, and adjusting the size of the task layer.
If the judgment result is no, S311 is executed, and the size of the task layer is kept unchanged.
S311, keeping the size of the task layer unchanged.
In an embodiment of the present application, the electronic device determines that the size of the application layer does not need to be adjusted, and the size of the decoration area layer does not need to be adjusted, so that the size of the task layer may be kept unchanged.
For example, the input method layer is only moved in a direction perpendicular to the X-direction, or the last floating window layer is not moved to the top of the X-direction, and the current floating layer is just moved to the top of the X-direction, or is not moved to the top of the floating window. Or the last time the floating window layer just moves to the top of the X direction, the current input method layer size is reduced, and the floating window layer moves in the direction opposite to the X direction.
S312, the size of the task layer is adjusted.
Illustratively, in an embodiment of the present application, the electronic device determines that an overlap region of the decorative area layer and the input method layer has changed. The electronic device may again adjust the size of the task layer so that the floating window layer does not display the portion overlapping the input method layer, and the adjustment process may refer to the embodiment of fig. 4.
In other embodiments, the electronic device may perform the processes of S308 to S312 simultaneously. For example, after determining whether the floating window layer needs to be adjusted in position, the electronic device determines whether the size of the floating window layer needs to be adjusted based on the overlapping condition of the input method layer and the floating window layer after the position adjustment.
In summary, after the electronic device finishes displaying the input method layer and adjusting the floating window layer, if the input method layer is adjusted again, the electronic device may adjust the floating window layer according to the new overlapping condition of the input method layer and the floating window layer, or restore the size or dimension of the floating window layer. Therefore, the input method layer can be ensured not to shade the floating window layer under the condition of being movable.
In other embodiments, when the electronic device displays two floating windows simultaneously, the floating windows are also adjusted based on the priority of the floating windows.
For example, fig. 6 illustrates a schematic diagram of adjusting a levitation window according to some embodiments of the present application.
As shown in fig. 6, a first floating window 40 is displayed on a display screen 101 of the electronic device 100. At this point, the user also wants to display the floating window of application a. For example, the user clicks on application a, and then the second floating window 50 corresponding to application a is displayed on the display screen 101. At this time, the priority of the display of the second floating window 50 is higher than the priority of the display of the first floating window 40, the electronic device 100 may adjust the position and size of the first floating window 40, so that the first floating window 40 and the second floating window 50 are simultaneously displayed on the display screen 101 of the electronic device 100, and the second floating window 50 does not obstruct the application layer 41 of the first floating window 40.
For example, the first floating window layer 40 'is moved to the maximum position in the X direction, and the overlapping area of the first floating window 40' and the second floating window 50 is not shown. Alternatively, the region where the decorative area layer 42 'of the bottom of the first floating window 40' in the X direction overlaps the second floating window layer 50 is not shown.
In some embodiments, first floating window layer 40 is also, for example, a floating window of application a, and the display interfaces of first floating window layer 40 and second floating window layer 50 are different (alternatively referred to as application layers).
In other embodiments, a user may want to record text on a picture in a web page (the text cannot be copied) while browsing the web page using an electronic device. And after clicking the picture, the picture is displayed on an interface of the electronic equipment. And opening a floating window of the document by a user, and recording characters on the picture through the document. The electronic device can adjust the position of the floating window layer and the position of the picture, so that the input method layer can not shade the application layer of the floating window of the document and the picture.
Next, the electronic apparatus set forth in the above embodiment is described.
For example, fig. 7 shows a schematic structural diagram of an electronic device 100 according to an embodiment of the present application.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge 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, keys 190, a motor 191, an indicator 192, a camera 193, a display screen 101, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integratedcircuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industryprocessor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module) interface, and/or a universal serial bus (universal serial bus) interface, among others.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger.
The power management module 141 is used for connecting the battery 142, and the charge 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 display 101, the camera, 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 may also be multiplexed to improve the utilization of the antennas.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (globalnavigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
The external memory interface 120 may be used to connect an external memory card, such as a micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. 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 (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The embodiment of the application also provides a program product, which can enable the electronic device to realize the display processing method provided by the previous embodiments when being executed on the electronic device.
The embodiment of the application also provides a readable storage medium, in which one or more programs are stored, which when executed by an electronic device, cause the electronic device to implement the display processing method provided in the foregoing embodiments.
In the drawings, some structural or methodological features may be shown in a particular arrangement and/or order. However, it should be understood that such a particular arrangement and/or ordering may not be required. Rather, in some embodiments, these features may be arranged in a different manner and/or order than shown in the illustrative figures. Additionally, the inclusion of structural or methodological features in a particular figure is not meant to imply that such features are required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
It should be noted that, in the embodiments of the present application, each unit/module is a logic unit/module, and in physical aspect, one logic unit/module may be one physical unit/module, or may be a part of one physical unit/module, or may be implemented by a combination of multiple physical units/modules, where the physical implementation manner of the logic unit/module itself is not the most important, and the combination of functions implemented by the logic unit/module is the key to solve the technical problem posed by the present application. Furthermore, to highlight the innovative part of the present application, the above-described device embodiments of the present application do not introduce units/modules that are less closely related to solving the technical problems presented by the present application, which does not indicate that the above-described device embodiments do not have other units/modules.
It should be noted that in the examples and descriptions of this patent, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims (15)

1. A display method applied to an electronic device, comprising:
displaying a first application interface of a first application, wherein the first application interface is displayed in a first floating window, and the first floating window comprises first display content and second display content;
detecting a trigger event of a second application interface for simultaneously displaying a second application and the first floating window;
corresponding to determining that the overlapping area of the second application interface and the first floating window comprises at least part of the first display content and at least part of the second display content, modifying a first display parameter of the first display content, and executing non-display setting on the part of the second display content located in the overlapping area;
and displaying the second application interface and the first floating window, wherein the first display content in the first floating window is not displayed in the overlapped area, and the part of the second display content in the overlapped area is not displayed.
2. The method of claim 1, wherein modifying the first display parameter of the first display content comprises:
and reducing the size of the first display content.
3. The method of claim 1, wherein the performing a non-display setting on the portion of the second display content that is located in the overlap region comprises:
and adjusting the size of the display area of the first floating window so that the part of the second display content located in the overlapped area is outside the display area of the first floating window.
4. A method according to any one of claims 1 to 3, wherein the first display is located on top of the second display in a first direction, the first direction being a direction perpendicular to the display of the electronic device outwards.
5. The method of claim 4, wherein the first display is located inside the second display in a second direction, the second direction being a direction in which the second application interface pops up, the second application interface having a first size in the second direction, the second display having a second size in the second direction, a size of a region of the electronic device in the second direction available to display the first floating window and the second application interface being a third size, a distance between a bottom of the first display in the second direction and a bottom of the second display in the second direction being a first distance; and, in addition, the processing unit,
The electronic device determines that an overlapping region of the first floating window includes at least a portion of the first display content if a sum of the first size and the second size is greater than a sum of the third size and the first distance.
6. The method of claim 5, wherein modifying the first display parameter of the first display content comprises:
the first display content is scaled down in size in the second direction.
7. The method of claim 5, further comprising,
performing a non-display setting on a portion of the second display content located in the overlapping region corresponding to a determination that the overlapping region of the second application interface and the first floating window includes at least a portion of the second display content and does not include the first display content;
and displaying the second application interface and the first floating window, wherein the part of the second display content located in the overlapped area is not displayed.
8. The method of claim 6, wherein the electronic device determines that an overlapping region of the first floating window includes at least a portion of the second display content and does not include the first display content if a sum of the first size and the second size is greater than the third size and less than or equal to a sum of the third size and the first distance.
9. The method of claim 5, wherein the displaying the second application interface and the first floating window comprises:
and displaying the second application interface and displaying the first floating window on the top of the second direction, wherein the second application interface and the first floating window have no overlapping area.
10. The method of claim 5, wherein the method further comprises:
detecting an operation of increasing the size of the second application interface or an operation of moving the second application interface to the top of the second direction by a user, and reducing the size of the first floating window;
detecting an operation of reducing the size of the second application interface or an operation of moving the second application interface downwards by a user, and increasing the size of the first floating window.
11. The method of claim 1, wherein the first display content is an application layer corresponding to the first application and the second display content is a decoration region layer of the first floating window.
12. The method of claim 1, wherein the second application interface comprises any one of the following interfaces:
Suspension window, virtual keyboard, suspension keyboard.
13. An electronic device, comprising: a memory for storing instructions;
at least one processor configured to execute the instructions to cause the electronic device to implement the method of any one of claims 1 to 12.
14. A computer readable storage medium having stored thereon instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1 to 12.
15. A computer program product, characterized in that the computer program product, when run on a device, causes the device to perform the method of any of claims 1 to 12.
CN202311841644.9A 2023-12-29 2023-12-29 Display method, readable storage medium, program product and electronic device Active CN117492609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311841644.9A CN117492609B (en) 2023-12-29 2023-12-29 Display method, readable storage medium, program product and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311841644.9A CN117492609B (en) 2023-12-29 2023-12-29 Display method, readable storage medium, program product and electronic device

Publications (2)

Publication Number Publication Date
CN117492609A true CN117492609A (en) 2024-02-02
CN117492609B CN117492609B (en) 2024-05-17

Family

ID=89685320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311841644.9A Active CN117492609B (en) 2023-12-29 2023-12-29 Display method, readable storage medium, program product and electronic device

Country Status (1)

Country Link
CN (1) CN117492609B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090228987A1 (en) * 2008-03-04 2009-09-10 Microsoft Corporation Shield for user interface testing
CN104793923A (en) * 2014-01-20 2015-07-22 中兴通讯股份有限公司 Suspension input implementing method and device
CN109375983A (en) * 2018-12-20 2019-02-22 广东金赋科技股份有限公司 The method of input method window adjust automatically in terminal
CN113986072A (en) * 2021-09-18 2022-01-28 荣耀终端有限公司 Keyboard display method, folding screen device and computer readable storage medium
CN115599255A (en) * 2022-12-16 2023-01-13 深圳蓝普视讯科技有限公司(Cn) Large-screen visual intelligent interactive data processing method and device and storage medium
CN116954409A (en) * 2022-04-19 2023-10-27 华为技术有限公司 Application display method and device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090228987A1 (en) * 2008-03-04 2009-09-10 Microsoft Corporation Shield for user interface testing
CN104793923A (en) * 2014-01-20 2015-07-22 中兴通讯股份有限公司 Suspension input implementing method and device
CN109375983A (en) * 2018-12-20 2019-02-22 广东金赋科技股份有限公司 The method of input method window adjust automatically in terminal
CN113986072A (en) * 2021-09-18 2022-01-28 荣耀终端有限公司 Keyboard display method, folding screen device and computer readable storage medium
CN116954409A (en) * 2022-04-19 2023-10-27 华为技术有限公司 Application display method and device and storage medium
CN115599255A (en) * 2022-12-16 2023-01-13 深圳蓝普视讯科技有限公司(Cn) Large-screen visual intelligent interactive data processing method and device and storage medium

Also Published As

Publication number Publication date
CN117492609B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
WO2023051111A1 (en) Method for combining multiple applications and for simultaneously starting multiple applications, and electronic device
EP4040277A1 (en) Method for displaying multiple windows, and electronic device and system
CN111597000B (en) Small window management method and terminal
WO2021000841A1 (en) Method for generating user profile photo, and electronic device
WO2021047251A1 (en) Display method and electronic device
CN112612386B (en) Mobile terminal and display method of application card thereof
CN113132526A (en) Page drawing method and related device
CN114879880A (en) Electronic device, display method and medium for application thereof
WO2023221946A1 (en) Information transfer method and electronic device
CN115328358A (en) Display method and related device
CN117492609B (en) Display method, readable storage medium, program product and electronic device
WO2023005751A1 (en) Rendering method and electronic device
CN113360122B (en) Mobile terminal and text display method thereof
CN116048833A (en) Thread processing method, terminal equipment and chip system
CN114461312A (en) Method for switching application and task in application and electronic equipment
CN116684516B (en) Wallpaper setting method and electronic equipment
WO2023051354A1 (en) Split-screen display method and electronic device
CN115567666B (en) Screen recording method, electronic device and readable storage medium
CN116700655B (en) Interface display method and electronic equipment
WO2024007966A1 (en) Multi-window display method and device
CN114513760B (en) Font library synchronization method, device and storage medium
CN116688494B (en) Method and electronic device for generating game prediction frame
CN116088715B (en) Message reminding method and electronic equipment
WO2024027504A1 (en) Application display method and electronic device
WO2023217142A1 (en) Window size adjustment method, and related apparatus and communication system

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