US2025315276A1PendingUtilityA1

Display method, electronic device, and storage medium

Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO LTDPriority: Apr 9, 2024Filed: Sep 19, 2024Published: Oct 9, 2025
Est. expiryApr 9, 2044(~17.7 yrs left)· nominal 20-yr term from priority
G06F 9/451H04M 1/72454H04M 1/0241H04M 1/0268G06F 3/04815G06F 3/04886G06F 1/1677G06F 1/1652G06F 1/1641G06F 2203/04803G06F 3/0481
43
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A display method includes: in response to an electronic device entering a hover mode, displaying a first display content of a target application in a first display region of a screen, and displaying a second display content of the target application in a second display region of the screen; wherein, in the hover mode and a non-hover mode, an application window of the target application has the same size, the first display content has different sizes and positions, and the second display content has different sizes and positions.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A display method, comprising:
 in response to an electronic device entering a hover mode, displaying a first display content of a target application in a first display region of a screen, and displaying a second display content of the target application in a second display region of the screen;   wherein, in the hover mode and a non-hover mode, an application window of the target application has a same size, the first display content has different sizes and positions, and the second display content has different sizes and positions.   
     
     
         2 . The method according to  claim 1 , wherein, in response to the electronic device entering the hover mode, displaying the first display content of the target application in the first display region of the screen, and displaying the second display content of the target application in the second display region of the screen, comprises:
 in response to the electronic device entering the hover mode, acquiring first configuration information, wherein the first configuration information is configured to indicate a first target size of the second display content in the hover mode; and   displaying, based on the first configuration information, the first display content in the first display region, and displaying the second display content in the second display region.   
     
     
         3 . The method according to  claim 2 , wherein displaying, based on the first configuration information, the first display content in the first display region, and displaying the second display content in the second display region, comprises:
 adjusting a size of the second display content to the first target size, and keeping a size of the first display content same as the adjusted size of the second display content; and   adjusting a position of the first display content to the first display region, and adjusting a position of the second display content to the second display region.   
     
     
         4 . The method according to  claim 3 , wherein the second display content comprises a target child View of a DecorView; and wherein adjusting the size of the second display content to the first target size, comprises:
 adjusting a height of the target child View based on the first target size.   
     
     
         5 . The method according to  claim 3 , wherein adjusting the position of the first display content to the first display region and adjusting the position of the second display content to the second display region, comprises:
 adjusting coordinates of the second display content and moving the second display content from the first display region to the second display region; and   adjusting coordinates of a layer corresponding to the first display content and moving the first display content from the second display region to the first display region.   
     
     
         6 . The method according to  claim 1 , wherein the first display content comprises a Surface View control; and the second display content comprises an operation control of the target application. 
     
     
         7 . The method according to  claim 1 , further comprising:
 displaying a third display content of an operating system in the first display region, and/or displaying a fourth display content of the operating system in the second display region;   wherein, in the hover mode and the non-hover mode, the third display content has a same size and a same position, and the fourth display content has a same size and a same position.   
     
     
         8 . The method according to  claim 1 , further comprising:
 in response to the electronic device entering the non-hover mode, acquiring second configuration information, wherein the second configuration information is configured to indicate a second target size of the second display content in the non-hover mode; and   displaying, based on the second configuration information, the first display content and the second display content in full screen.   
     
     
         9 . The method according to  claim 2 , wherein the first target size is preset to be half of a size of the second display content in the non-hover mode. 
     
     
         10 . The method according to  claim 2 , wherein acquiring the first configuration information comprises:
 receiving, by the target application, the first configuration information from an operating system, wherein the first configuration information is generated by the operating system in response to detecting that the electronic device enters the hover mode.   
     
     
         11 . The method according to  claim 3 , wherein a target child View of a Decor View is configured to display the second display content, and a Surface View layer is configured to display the first display content; and wherein adjusting the position of the second display content to the second display region and adjusting the position of the first display content to the first display region, comprises:
 moving the target child View from the first display region to the second display region; and   moving the Surface View layer from the second display region to the first display region.   
     
     
         12 . The method according to  claim 11 , wherein, before adjusting the position of the second display content, the target child View is in the first display region by default. 
     
     
         13 . An electronic device, comprising:
 a processor; and   a memory for storing instructions executable by the processor;   wherein the processor is configured to:   in response to an electronic device entering a hover mode, display a first display content of a target application in a first display region of a screen, and display a second display content of the target application in a second display region of the screen;   wherein, in the hover mode and a non-hover mode, an application window of the target application has a same size, the first display content has different sizes and positions, and the second display content has different sizes and positions.   
     
     
         14 . The electronic device according to  claim 13 , wherein the processor is further configured to:
 in response to the electronic device entering the hover mode, acquire first configuration information, wherein the first configuration information is configured to indicate a first target size of the second display content in the hover mode; and   display, based on the first configuration information, the first display content in the first display region, and display the second display content in the second display region.   
     
     
         15 . The electronic device according to  claim 14 , wherein the processor is further configured to:
 adjust a size of the second display content to the first target size, and keep a size of the first display content same as the adjusted size of the second display content; and   adjust a position of the first display content to the first display region, and adjust a position of the second display content to the second display region.   
     
     
         16 . The electronic device according to  claim 15 , wherein the second display content comprises a target child View of a Decor View; and wherein the processor is further configured to:
 adjust a height of the target child View based on the first target size.   
     
     
         17 . The electronic device according to  claim 15 , wherein the processor is further configured to:
 adjust coordinates of the second display content and move the second display content from the first display region to the second display region; and   adjust coordinates of a layer corresponding to the first display content and move the first display content from the second display region to the first display region.   
     
     
         18 . The electronic device according to  claim 13 , wherein the first display content comprises a Surface View control; and the second display content comprises an operation control of the target application. 
     
     
         19 . The electronic device according to  claim 13 , wherein the processor is further configured to:
 display a third display content of an operating system in the first display region, and/or display a fourth display content of the operating system in the second display region;   wherein, in the hover mode and the non-hover mode, the third display content has a same size and a same position, and the fourth display content has a same size and a same position.   
     
     
         20 . A non-transitory computer-readable storage medium, storing instructions executable by a processor of an electronic device, which, when executed by the processor, cause the processor to the method of  claim 1 .

Join the waitlist — get patent alerts

Track US2025315276A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.