Method for Displaying Graphical User Interface and Mobile Terminal
AssigneeHuawei Technologies Co., Ltd.
InventorsBin Xie, Zhenghao Guo, Jin Sun, Liang Ma, Brian McDermott, Yan Li
Life of this patent
Estimating the term…
Abstract
A method for displaying a graphical user interface (GUI), which relate to the data processing field, includes determining whether a display screen of the mobile terminal is shielded, when the display screen is shielded, determining a shielded area and a display area of the display screen, where the display area is used to display a GUI, determining parameter information 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.
Claims20
A mobile terminal comprising:
- a display;
- one or more sensors;
- a memory coupled to the display and configured to store instructions;
- and
- a processor coupled to the display and the memory, wherein the instructions cause the processor to be configured to:
- display a first graphical user interface (GUI) of a first application in the display;
- determine a first area and a second area of the display when the display is shielded based on the one or more sensors, wherein the first area does not display a first content, and wherein the second area displays the first content;
- determine parameter information of the second area, wherein the parameter information comprises an area size of the second area and a position of the second area in the display;
- obtain, according to the area size and the position, a second GUI of a second application invoked by the mobile terminal, wherein the second GUI matches the area size and the position;
- and
- display the second GUI in the second area.
A method for displaying graphical user interfaces (GUIs), wherein the method comprises:
- displaying, by a display of a mobile terminal, a first GUI of a first application in the display;
- determining, by a processor of the mobile terminal, whether the display is shielded based on one or more sensors of the mobile terminal;
- determining, in response to the determining that the display is shielded, a first area and a second area of the display, wherein the first area does not display a first content, and wherein the second area displays the first content;
- determining, by the processor, parameter information of the second area, wherein the parameter information comprises an area size of the second area and a position of the second area in the display;
- obtaining, by the processor according to the area size and the position of the second area, a second GUI of a second application invoked by the mobile terminal, wherein the second GUI matches the area size and the position of the second area;
- and
- displaying, by the display, the second GUI in the second area.
A computer program product comprising computer-executable instructions for storage on a non-transitory computer-readable storage medium that, when executed by a processor, cause a mobile terminal to:
- display a first graphical user interface (GUI) of a first application in a display of the mobile terminal;
- determine a first area and a second area of the display when the display is shielded based on one or more sensors of the mobile terminal, wherein the first area does not display a first content, and wherein the second area displays the first content;
- determine parameter information of the second area, wherein the parameter information comprises an area size of the second area and a position of the second area in the display;
- obtain, according to the area size and the position of the second area, a second GUI of a second application invoked by the mobile terminal, wherein the second GUI matches the area size and the position of the second area;
- and
- display the second GUI in the second area.
Dependencies are inferred from the claim text.