Method for controlling display of touchscreen, and mobile device
First Claim
1. A mobile device, comprising:
- a display;
one or more processors coupled to the display; 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 zooming times according to a distance between the first touch position and the second touch position;
zooming displayed content on a touchscreen according to a position relationship between the first touch position and the second touch position and the zooming times;
determining a first difference and a second difference according to coordinates of the first touch position and coordinates of the second touch position, wherein the first difference is a difference between a horizontal coordinate of the first touch position and a horizontal coordinate of the second touch position, and wherein the second difference is a difference between a vertical coordinate of the first touch position and a vertical coordinate of the second touch position; and
zooming the displayed content on the touchscreen according to the first difference, the second difference, and the zooming times.
4 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present disclosure disclose a method for controlling display of a touchscreen, and a mobile device, 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.
-
Citations
16 Claims
-
1. A mobile device, comprising:
-
a display; one or more processors coupled to the display; 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 zooming times according to a distance between the first touch position and the second touch position; zooming displayed content on a touchscreen according to a position relationship between the first touch position and the second touch position and the zooming times; determining a first difference and a second difference according to coordinates of the first touch position and coordinates of the second touch position, wherein the first difference is a difference between a horizontal coordinate of the first touch position and a horizontal coordinate of the second touch position, and wherein the second difference is a difference between a vertical coordinate of the first touch position and a vertical coordinate of the second touch position; and zooming the displayed content on the touchscreen according to the first difference, the second difference, and the zooming times. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for controlling display of a touchscreen of a mobile device, comprising:
-
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 zooming times according to a distance between the first touch position and the second touch position; determining a first difference and a second difference according to coordinates of the first touch position and coordinates of the second touch position, wherein the first difference is a difference between a horizontal coordinate of the first touch position and a horizontal coordinate of the second touch position, and the second difference is a difference between a vertical coordinate of the first touch position and a vertical coordinate of the second touch position; and zooming a displayed content on the touchscreen according to the first difference, the second difference, and the zooming times. - View Dependent Claims (8, 9, 10)
-
-
11. A method for controlling display of a touchscreen of a mobile device, comprising:
-
receiving first touch information, wherein the first touch information comprises a first touch position; 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, or, dividing a display area of the touchscreen into four quadrants by using the first touch position as an origin, and wherein two quadrants in the four quadrants serve respectively as a first display area and a second display area; receiving second touch information, wherein 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; 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. - View Dependent Claims (12, 13, 14, 15, 16)
-
Specification