METHOD FOR DISPLAYING GRAPHICAL USER INTERFACE AND MOBILE TERMINAL
First Claim
1. A method for displaying a graphical user interface (GUI), the method comprising:
- displaying a first GUI of an application in a display of the mobile terminal;
determining whether the display of the mobile terminal is shielded;
in response to determining that the display is shielded, determining a shielded area and a display area of the display, wherein the display area is used to display a first portion of the first GUI and the shielded area of the display is not used to display a second portion of the first GUI;
determining parameter information of the display area, wherein the parameter information comprises an area size of the display area and a position of the display area in the display;
obtaining, according to the area size and the position of the display area in the parameter information, a second GUI of the application that matches the area size and the position of the display area; and
displaying the second GUI in the display area, wherein graphical elements of the first GUI are the same as graphical elements of the second GUI.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for displaying a graphical user interface (GUI) is disclosed, which relate to the data processing field. The method specifically includes: determining whether a display of a device is shielded; when it is determined that the display is shielded, determining a shielded area and a display area of the display; determining parameter information of the display area, where the parameter information includes an area size of the display area and a position of the display area; and obtaining, according to the parameter information, a GUI that matches the display area, and displaying the GUI in the display area. Whether a display of the device is shielded is determined. When the display is shielded, the GUI is displayed in the display area, so that the GUI can be displayed only in the display area of the display and does not need to be displayed in full screen.
12 Citations
21 Claims
-
1. A method for displaying a graphical user interface (GUI), the method comprising:
-
displaying a first GUI of an application in a display of the mobile terminal; determining whether the display of the mobile terminal is shielded; in response to determining that the display is shielded, determining a shielded area and a display area of the display, wherein the display area is used to display a first portion of the first GUI and the shielded area of the display is not used to display a second portion of the first GUI; determining parameter information of the display area, wherein the parameter information comprises an area size of the display area and a position of the display area in the display; obtaining, according to the area size and the position of the display area in the parameter information, a second GUI of the application that matches the area size and the position of the display area; and displaying the second GUI in the display area, wherein graphical elements of the first GUI are the same as graphical elements of the second GUI. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9-13. -13. (canceled)
-
14. A mobile terminal, comprising:
-
a touchscreen; a memory storing instructions; and a processor configured to execute the instructions to cause the mobile terminal to; display a first graphical user interface (GUI) of an application in the touchscreen of the mobile terminal; determine whether the touchscreen of the mobile terminal is shielded; in response to determining that the touchscreen is shielded, determine a shielded area and a display area of the touchscreen, wherein the display area is used to display a first portion of the first GUI and the shielded area of the display a first portion of the first GUI; determine parameter information of the display area, wherein the parameter information comprises an area size of the display area and a position of the display area in the touchscreen; obtain, according to the area size and the position of the display area in parameter information, a second GUI of the application that matches the area size and the position of the display area; and display the second GUI in the display area of the touchscreen, wherein graphical elements of the first GUI are the same as graphical elements of the second GUI. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. A mobile terminal, comprising:
-
one or more processors; a display; and a storage apparatus storing one or more programs, wherein the one or more programs are configured to be executed by the one or more processors to cause the mobile terminal to; display a first graphical user interface (GUI) of an application in the display of the mobile terminal; determine whether the display is shielded; in response to determining that the display is shielded, determine a shielded area and a display area of the display, wherein the display area is used to display a first portion of the first GUI and the shielded area of the display is not used to display a second portion of the first GUI; determine parameter information of the display area, wherein the parameter information comprises an area size of the display area and a position of the display area in the display; obtain, according to the area size and the position of the display area in the parameter information, a second GUI of the application that matches the area size and the position of the display area; and display the second GUI in the display area, wherein graphical elements of the first GUI are the same as graphical elements of the second GUI.
-
-
21. (canceled)
Specification