IP Library Granted Patent US 10,185,442
Granted Patent B2
US 10,185,442 · App. 16/014,168 · Granted Jan 22, 2019

Method for controlling display of touchscreen, and mobile device

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,185,442
App. No.
16/014,168
Granted
Jan 22, 2019
Kind
B2
Abstract

A method for controlling display of a touchscreen, and a mobile device are presented, which relate to the field of electronic device technologies, so that the mobile device can control to zoom-in or zoom-out displayed content on the touchscreen according to received information about two touches. The method in the present disclosure includes receiving first touch information, where the first touch information comprises a first touch position; receiving second touch information, where the second touch information comprises a second touch position; determining zooming times according to a distance between the first touch position and the second touch position; and zooming displayed content on the touchscreen according to a position relationship between the first touch position and the second touch position and the zooming times. The present disclosure is applicable to a mobile device.

Claims (53)

1. A mobile device, comprising:

a touchscreen;

one or more processors coupled to the touchscreen; and

a memory coupled to the one or more processors and configured to store programming for execution by the one or more processors, wherein the programming includes instructions for:

receiving first touch information, wherein the first touch information comprises a first touch position;

receiving second touch information, wherein the second touch information comprises a second touch position;

determining whether the first touch position is the same as the second touch position;

determining an operation according to a current display state of the touchscreen when determining the first touch position is the same as the second touch position by:

performing a zoom-out operation to zoom-out current displayed content on the touchscreen to an original state when the touchscreen is in a zoomed-in state currently;

performing a zoom-in operation to zoom-in the current displayed content on the touchscreen to the original state when the touchscreen is in a zoomed-out state currently; and

performing a zoom-in operation to zoom-in the current displayed content on the touchscreen to a maximum state when the touchscreen is in the original state currently;

calculating a distance between the first touch position and the second touch position when determining the first touch position is not the same as the second touch position;

determining zooming times according to the calculated distance; and

displaying a displayed content on the touchscreen according to the zooming times.

2. The mobile device of claim 1 , wherein displaying the displayed content on the touchscreen according to the zooming times comprises:

dividing a display area of the touchscreen into a first display area and a second display area according to the first touch position, wherein a boundary between the first display area and the second display area passes the first touch position;

zooming in a displayed content on the touchscreen according to a position relationship when the second touch position is located in the first display area; and

zooming out the displayed content on the touchscreen according to the position relationship when the second touch position is located in the second display area.

3. The mobile device of claim 1 , wherein displaying the displayed content on the touchscreen according to the zooming times comprises wholly zooming in the displayed content on the touchscreen.

4. The mobile device of claim 1 , wherein displaying the displayed content on the touchscreen according to the zooming times comprises partially zooming in the displayed content on the touchscreen.

5. The mobile device of claim 4 , wherein partially zooming in the displayed content on the touchscreen comprises zooming in or zooming out a circular display area that uses the first touch position or the second touch position as a center and uses a preset length as a radius.

6. The mobile device of claim 4 , wherein partially zooming in the displayed content on the touchscreen comprises zooming a display area of a closed graph that uses the first touch position or the second touch position as a center and uses a preset length as a circumference.

7. The mobile device of claim 1 , wherein determining the zooming times according to the calculated distance comprises:

determining the distance according to coordinates of the first touch position and the coordinates of the second touch position;

determining a ratio of the distance to a preset distance and setting the ratio as the zooming times when the distance is greater than or equal to the preset distance; and

directly determining the zooming times according to the distance when a correspondence between the distance and the zooming times is preset.

8. The mobile device of claim 7 , wherein the preset distance is a minimum distance for distinguishing the first touch position and the second touch position as two different positions.

9. The mobile device of claim 1 , wherein a time interval between a moment for receiving the first touch information and a moment for receiving the second touch information is less than a preset time.

10. A method for controlling display of a touchscreen of a mobile device, implemented by the mobile device, comprising:

receiving first touch information, the first touch information comprising a first touch position;

receiving second touch information, the second touch information comprising a second touch position;

determining whether the first touch position is the same as the second touch position;

determining an operation according to a current display state of the touchscreen when determining the first touch position is the same as the second touch position by:

performing a zoom-out operation to zoom-out current displayed content on the touchscreen to an original state when the touchscreen is in a zoomed-in state currently;

performing a zoom-in operation to zoom-in the current displayed content on the touchscreen to the original state when the touchscreen is in a zoomed-out state currently; and

performing a zoom-in operation to zoom-in the current displayed content on the touchscreen to a maximum state when the touchscreen is in the original state currently;

calculating a distance between the first touch position and the second touch position when determining the first touch position is not the same as the second touch position;

determining zooming times according to the calculated distance; and

displaying a displayed content on the touchscreen according to the zooming times.

11. The method of claim 10 , wherein displaying the displayed content on the touchscreen according to the zooming times comprises:

dividing a display area of the touchscreen into a first display area and a second display area according to the first touch position, wherein a boundary between the first display area and the second display area passes the first touch position;

zooming in a displayed content on the touchscreen according to a position relationship when the second touch position is located in the first display area; and

zooming out the displayed content on the touchscreen according to the position relationship when the second touch position is located in the second display area.

12. The method of claim 10 , wherein displaying the displayed content on the touchscreen according to the zooming times comprises wholly zooming in the displayed content on the touchscreen.

13. The method of claim 10 , wherein displaying the displayed content on the touchscreen according to the zooming times comprises partially zooming in the displayed content on the touchscreen.

14. The method of claim 13 , wherein partially zooming in the displayed content on the touchscreen comprises zooming in or zooming out a circular display area that uses the first touch position or the second touch position as a center and uses a preset length as a radius.

15. The method of claim 13 , wherein partially zooming in the displayed content on the touchscreen comprises zooming a display area of a closed graph that uses the first touch position or the second touch position as a center and uses a preset length as a circumference.

16. The method of claim 10 , wherein determining the zooming times according to the calculated distance comprises:

determining the distance according to coordinates of the first touch position and the coordinates of the second touch position;

determining a ratio of the distance to a preset distance and setting the ratio as the zooming times when the distance is greater than or equal to the preset distance; and

directly determining the zooming times according to the distance when a correspondence between the distance and the zooming times is preset.

17. The method of claim 16 , wherein the preset distance is a minimum distance for distinguishing the first touch position and the second touch position as two different positions.

18. The method of claim 10 , wherein a time interval between a moment for receiving the first touch information and a moment for receiving the second touch information is less than a preset time.

Assignments (5)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 13, 2021
From: HUAWEI DEVICE CO.,LTD.
To: HONOR DEVICE CO., LTD.
Reel/Frame 056413/0883 →
CHANGE OF NAME Recorded Mar 11, 2019
From: HUAWEI DEVICE (DONGGUAN) CO.,LTD.
To: HUAWEI DEVICE CO.,LTD.
Reel/Frame 048555/0951 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 26, 2018
From: HUAWEI DEVICE CO., LTD.
To: HUAWEI DEVICE (DONGGUAN) CO., LTD.
Reel/Frame 047852/0223 →
CORRECTIVE ASSIGNMENT TO CORRECT THE FOURTH INVENTOR'S NAME PREVIOUSLY RECORDED AT REEL: 046163 FRAME: 0830. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Sep 17, 2018
From: ZHOU, JINFENG; GUO, YUKUN; ZHANG, WEI; WANG, ZHENGQUAN
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 047096/0436 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 21, 2018
From: ZHOU, JINFENG; GUO, YUKUN; ZHANG, WEI; WANT, ZHENGQUAN
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 046163/0830 →