Method and apparatus for providing folder item information based on touch operation
First Claim
1. A method for providing folder item information based on a touch operation, wherein the method comprises:
- determining first position coordinates of touch points on a display screen when an input event of touch zooming interaction occurs, and second position coordinates of the touch points on the display screen after the input event of touch zooming interaction occurs, wherein the input event of touch zooming interaction includes at least three touch points on the display screen;
calculating, an area of a first polygon formed by the first position coordinates of the touch points, and an area of a second polygon formed by the second position coordinates of the touch points;
calculating, a ratio of the area of the first polygon to the area of the second polygon, or a difference between the area of the first polygon and the area of the second polygon;
determining, according to the ratio of the area of the first polygon to the area of the second polygon or the difference between the area of the first polygon and the area of the second polygon, a changed display status type of folder items in a window;
acquiring corresponding data sources and layout definition files according to the changed display status type; and
displaying the folder items according to acquired data sources and the layout definition files.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention disclose a method and an apparatus for providing folder project information based on a touch operation. The method includes: determining positions of touch points on a display screen; calculating, according to the positions of the touch points, a size of a zoomed display area of a folder item; acquiring a data source that is of the folder item and needs to be displayed, where the data source of the folder item corresponds to the size of the zoomed display area; and displaying the folder item according to an acquired data source and the size of the zoomed display area. According to the embodiments, the level of detail of folder item information in the window may be quickly changed without the need of page switching, thereby improving user experience with simple and quick operation.
8 Citations
4 Claims
-
1. A method for providing folder item information based on a touch operation, wherein the method comprises:
-
determining first position coordinates of touch points on a display screen when an input event of touch zooming interaction occurs, and second position coordinates of the touch points on the display screen after the input event of touch zooming interaction occurs, wherein the input event of touch zooming interaction includes at least three touch points on the display screen; calculating, an area of a first polygon formed by the first position coordinates of the touch points, and an area of a second polygon formed by the second position coordinates of the touch points; calculating, a ratio of the area of the first polygon to the area of the second polygon, or a difference between the area of the first polygon and the area of the second polygon; determining, according to the ratio of the area of the first polygon to the area of the second polygon or the difference between the area of the first polygon and the area of the second polygon, a changed display status type of folder items in a window; acquiring corresponding data sources and layout definition files according to the changed display status type; and displaying the folder items according to acquired data sources and the layout definition files. - View Dependent Claims (2)
-
-
3. An apparatus for providing folder item information based on a touch operation, comprising:
-
a processor configured to determine first position coordinates of touch points on a display screen when an input event of touch zooming interaction occurs, and second position coordinates of the touch points on the display screen after the input event of touch zooming interaction occurs, wherein the input event of touch zooming interaction includes at least three touch points on the display screen; wherein the processor is further configured to calculate, an area of a first polygon formed by the first position coordinates of the touch points, and an area of a second polygon formed by the second position coordinates of the touch points; wherein the processor is further configured to calculate, a ratio of the area of the first polygon to the area of the second polygon, or a difference between the area of the first polygon and the area of the second polygon; wherein the processor is further configured to determine, according to the ratio of the area of the first polygon to the area of the second polygon or the difference between the area of the first polygon and the area of the second polygon, a changed display status type of folder items in a window; wherein the processor is further configured to acquire corresponding data sources and layout definition files according to the changed display status type; and wherein the processor is further configured to display the folder items according to acquired data sources and the layout definition files. - View Dependent Claims (4)
-
Specification