ELECTRONIC DEVICE AND METHOD FOR AUTOMATICALLY ADJUSTING DISPLAY RATIO OF USER INTERFACE
First Claim
Patent Images
1. An electronic device comprising:
- a display screen;
at least one processor coupled to the display screen;
a proximity sensor coupled to the at least one processor; and
a non-transitory storage device storing an algorithm which defines a relationship between display ratios of the user interface and the distance between the display screen and a user; and
the storage device further storing one or more programs which, when executed by the at least one processor, cause the at least one processor to;
control the proximity sensor to measure distance between the display screen and the user;
obtain the distance measured by the proximity sensor;
calculate a display ratio of the user interface according to the obtained distance and the algorithm; and
adjust the display ratio of the user interface using the calculated display ratio.
1 Assignment
0 Petitions
Accused Products
Abstract
An electronic device and a method for automatically adjusting display ratio of user interface are provided. The electronic device includes storage device, a proximity sensor and a touch screen. The method includes the following blocks. The proximity sensor is controlled to measure a distance between the display screen and a user. The distance measured by the proximity sensor is obtained. A display ratio of the user interface is calculated according to the obtained distance and a algorithm which is pre-stored in the storage device. The display ratio of the user interface is adjusted using the calculated display ratio.
4 Citations
12 Claims
-
1. An electronic device comprising:
-
a display screen; at least one processor coupled to the display screen; a proximity sensor coupled to the at least one processor; and a non-transitory storage device storing an algorithm which defines a relationship between display ratios of the user interface and the distance between the display screen and a user; and the storage device further storing one or more programs which, when executed by the at least one processor, cause the at least one processor to; control the proximity sensor to measure distance between the display screen and the user; obtain the distance measured by the proximity sensor; calculate a display ratio of the user interface according to the obtained distance and the algorithm; and adjust the display ratio of the user interface using the calculated display ratio. - View Dependent Claims (2, 3, 4)
-
-
5. A method for automatically adjusting display ratio of user interface, applied in an electronic device with a display screen and a proximity sensor, the method comprising:
-
controlling the proximity sensor to measure distance between the display screen and a user; obtaining the distance measured by the proximity sensor; calculating a display ratio of the user interface according to the obtained distance and an algorithm stored in a storage device of the electronic device, wherein the algorithm defines a relationship between display ratios of the user interface and the distance between the display screen and the user; and adjusting the display ratio of the user interface using the calculated display ratio. - View Dependent Claims (6, 7, 8)
-
-
9. A non-transitory storage medium having stored thereon instructions that, when executed by a processor of an electronic device, causes the processor to perform a method for automatically adjusting display ratio of user interface, the electronic device further comprises a display screen and a proximity sensor, wherein the method comprising:
-
controlling the proximity sensor to measure distance between the display screen and a user; obtaining the distance measured by the proximity sensor; calculating a display ratio of the user interface according to the obtained distance and an algorithm stored in a storage device of the electronic device, wherein the algorithm defines a relationship between display ratios of the user interface and the distance between the display screen and the user; and adjusting the display ratio of the user interface using the calculated display ratio. - View Dependent Claims (10, 11, 12)
-
Specification