Method for controlling display of touchscreen, and mobile device
First Claim
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.
5 Assignments
0 Petitions
Accused Products
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.
11 Citations
18 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
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. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification