Control display method and electronic device
AssigneeHuawei Technologies Co., Ltd.
InventorsShujie He, Shizong Cai
Life of this patent
Estimating the term…
Abstract
An electronic device displays a window-based application on a screen of the electronic device, and the electronic device displays a system control in a display region of the window-based application in response to an operation performed by a user on the window-based application, where an actual display position and an actual display size of the system control follow a size and a position of a window. In the foregoing technical solution, the actual display position and the actual display size of the system control are adapted to the window-based application.
Claims18
A method, applied to an electronic device comprising a screen, the method comprising:
- displaying a first window, wherein the first window displays a first application, and an area of the first window is less than an area of the screen;
- and
- displaying a first system control in a display region of the first window in response to an operation performed by a user on the display of the first application, wherein an actual display position and an actual display size of the first system control are determined based on a default display position and a default display size of the first system control and a scaling ratio of the first window to the screen, the actual display position and the actual display size of the first system control are adapted to the first window, and the default display position and the default display size of the first system control are adapted to the screen.
A method, applied to an electronic device comprising a screen, the method comprising:
- displaying a first window, wherein the first window displays a first application, an area of the first window is less than an area of the screen, the first window corresponds to a first virtual screen, and the first virtual screen is created when the first window is created;
- and
- displaying a first system control in a display region of the first window in response to an operation performed by a user on the first application, wherein the first system control is displayed based on a default display position and a default display size, and the default display position and the default display size of the first system control are adapted to the first virtual screen.
An electronic device, comprising:
- at least one processor;
- a memory;
- and
- a touchscreen, wherein the memory and the touchscreen are coupled to the at least one processor, the memory is configured to store computer program code, the computer program code comprises computer instructions, and when the at least one processor reads the computer instructions from the memory, the electronic device is enabled to perform operations as follows:
- displaying a first window, wherein the first window displays a first application, an area of the first window is less than an area of the touchscreen, the first window corresponds to a first virtual screen, and the first virtual screen is created when the first window is created;
- and
- displaying a first system control in a display region of the first window in response to an operation performed by a user on the first application, wherein the first system control is displayed based on a default display position and a default display size, and the default display position and the default display size of the first system control are adapted to the first virtual screen.
Dependencies are inferred from the claim text.