CN103064599A - Method and system to achieve list sliding change through dragging with two fingers - Google Patents

Method and system to achieve list sliding change through dragging with two fingers Download PDF

Info

Publication number
CN103064599A
CN103064599A CN2012105915953A CN201210591595A CN103064599A CN 103064599 A CN103064599 A CN 103064599A CN 2012105915953 A CN2012105915953 A CN 2012105915953A CN 201210591595 A CN201210591595 A CN 201210591595A CN 103064599 A CN103064599 A CN 103064599A
Authority
CN
China
Prior art keywords
tabulation
coordinate
finger
slided
fingers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012105915953A
Other languages
Chinese (zh)
Inventor
曾元清
刘添
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN2012105915953A priority Critical patent/CN103064599A/en
Publication of CN103064599A publication Critical patent/CN103064599A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a system to achieve list sliding change through dragging with two fingers. The method includes the following steps of (101) obtaining a coordinate of original two points clicked with two fingers and figuring out a midpoint coordinate of a line segment between the two points recorded as the initial coordinate; (102) deciding the moving is with one finger or two fingers, if the moving is with one finger, then a one finger moving endpoint is obtained and if the moving is with two fingers, then two two-finger moving endpoints is obtained, and figuring out the midpoint coordinate of the two endpoints between the two endpoints recorded as the current coordinate; (103) working out the distance and direction of the current coordinate to the initiative coordinate in the vertical direction of cell phone screen; and (104) list sliding, the sliding speed is in direct proportion to the distance and the sliding direction is the same with the direction. The method and the system to achieve list sliding change through dragging with two fingers, through two-finger clicking and dragging to decide the sliding speed and sliding direction based on the dragging distance and direction, achieves the flexible speed sliding of the list.

Description

A kind of method and system of realizing that the tabulation speed change is slided that drags by two fingers
Technical field
The present invention relates to touch screen technology, relate in particular to a kind of method and system of realizing that the tabulation speed change is slided that drags by two fingers.
Background technology
The tabulation finger sliding of smart mobile phone is a kind of extraordinary experience, but the user checks a very long list interface, and such as browser phone this time, user's finger sliding once can not be too fast, otherwise just do not see the contact person who slided; And will inevitably be slow when sliding according to the speed that can see the contact person clearly, needs sliding list constantly so just.When this tabulation is very long, constantly will inevitably feel pretty troublesome very tired with finger sliding.
Summary of the invention
The object of the present invention is to provide a kind of can after each list interface is hit by two indications, carrying out the speed change tabulation to slide the method and system that the speed that the user can allow tabulation want by oneself is automatically slided.
For reaching this purpose, the present invention by the following technical solutions:
A kind of method that realizes that the tabulation speed change is slided that drags by two fingers may further comprise the steps:
101, obtain two initial coordinates that hit of giving directions at 2, calculate the middle point coordinate of line segment between described initial 2, be designated as initial coordinate;
102, judge it is that a finger moves or two finger moves, move such as a finger, then obtain the terminal point coordinate that a described finger moves, be designated as current coordinate; Move such as two fingers, then obtain two coordinates that refer to two mobile terminal points, calculate the middle point coordinate of line segment between described two terminal points, be designated as current coordinate;
103, calculate described current coordinate distance and direction with respect to initial coordinate on the mobile phone screen vertical direction;
104, tabulation is slided, and the sliding speed of tabulation is directly proportional with described distance, and the glide direction of tabulation is identical with described direction.
Wherein, after step 101, further comprising the steps of before the step 102:
Judge whether that the event that finger drags occurs, execution in step 102 occurs in the event that has finger to drag; Process ends occurs in the event that does not have finger to drag.
Wherein, described two the indication hit as allowing poor two indication of click time of occurrence to hit, and the described mistiming is not more than 10 milliseconds;
In the described step 104, further comprise, when two fingers all frameed out, described tabulation stopped to slide.
Wherein, when the tabulation sliding speed need to be adjusted, the finger that again slides, execution in step 102, the current coordinate of the front acquisition of once sliding is as the initial coordinate of the finger that again slides.
Wherein, when described tabulation is slided, do a mark on the screen, described mark comprises arrow from described initial coordinate to described current coordinate of picture.
A kind of system that realizes that the tabulation speed change is slided that drags by two fingers comprises:
Initial coordinate obtains module, obtains two initial coordinates that hit of giving directions at 2, calculates the middle point coordinate of line segment between described initial 2, is designated as initial coordinate;
Current coordinate obtains module, and judgement is that a finger moves or two finger moves, and moves such as a finger, then obtains the terminal point coordinate that a described finger moves, and is designated as current coordinate; Move such as two fingers, then obtain two coordinates that refer to two mobile terminal points, calculate the middle point coordinate of line segment between described two terminal points, be designated as current coordinate;
Range direction obtains module, calculates described current coordinate distance and direction with respect to initial coordinate on the mobile phone screen vertical direction;
Tabulation slip control module, tabulation is slided, and the sliding speed of tabulation is directly proportional with described distance, and the glide direction of tabulation is identical with described direction.
Wherein, also comprise:
Judge whether that the event that finger drags occurs, execution in step 102 occurs in the event that has finger to drag; Process ends occurs in the event that does not have finger to drag.
Wherein, described two the indication hit as allowing poor two indication of click time of occurrence to hit, and the described mistiming is not more than 10 milliseconds.
Wherein, when the tabulation sliding speed need to be adjusted, the finger that again slides, execution in step 102, the current coordinate of the front acquisition of once sliding is as the initial coordinate of the finger that again slides.
Wherein, when described tabulation is slided, do a mark on the screen, described mark comprises arrow from described initial coordinate to described current coordinate of picture.
Beneficial effect of the present invention is: then the present invention hits and drags by two indications on tabulating and judge speed and the direction that needs slide according to the distance that drags and direction, and flexibly speed change slip has realized tabulating.Remove continuous worry with finger sliding from, can slowly browse like a cork, also can twoly refer to drag a very long distance and allow like greased lightning slip before eyes of tabulation, greatly improved user's experience.
Description of drawings
Fig. 1 is a kind of method the first embodiment block diagram of realizing that the tabulation speed change is slided that drags by two fingers of the present invention.
Fig. 2 is a kind of method the second embodiment process flow diagram of realizing that the tabulation speed change is slided that drags by two fingers of the present invention.
Fig. 3 is a kind of system's the first embodiment block diagram of realizing that the tabulation speed change is slided that drags by two fingers of the present invention.
Fig. 4 is a kind of method the second embodiment block diagram of realizing that the tabulation speed change is slided that drags by two fingers of the present invention.
Embodiment
Further specify technical scheme of the present invention below in conjunction with accompanying drawing and by embodiment.
A kind of the first embodiment block diagram that drags the method that realizes that the tabulation speed change is slided by two fingers of the present invention as shown in Figure 1.
A kind of method that realizes that the tabulation speed change is slided that drags by two fingers, it may further comprise the steps:
101, obtain two initial coordinates that hit of giving directions at 2, calculate the middle point coordinate of line segment between described initial 2, be designated as initial coordinate;
102, judge it is that a finger moves or two finger moves, move such as a finger, then obtain the terminal point coordinate that a described finger moves, be designated as current coordinate; Move such as two fingers, then obtain two coordinates that refer to two mobile terminal points, calculate the middle point coordinate of line segment between described two terminal points, be designated as current coordinate;
103, calculate described current coordinate distance and direction with respect to initial coordinate on the mobile phone screen vertical direction;
104, tabulation is slided, and the sliding speed of tabulation is directly proportional with described distance, and the glide direction of tabulation is identical with described direction.
The use single job can be finished the free operant to tabulation among the present invention, removed continuous worry with finger sliding from, can slowly browse like a cork, also can two refer to drag a very long distance and allow like greased lightning slip before eyes of tabulation, greatly improve user's experience.
The present invention is a kind of drag by two fingers the method that realizes that the tabulation speed change is slided the second embodiment process flow diagram as shown in Figure 2.
Step 201: judged whether that two the indication hit.There is not two the indication to hit process ends; There is two the indication to hit execution in step 202.
Step 202: obtain two initial coordinates that hit of giving directions at 2.
Step 203: calculate the middle point coordinate of line segment between initial 2, be designated as initial coordinate.
Step 204: judged whether that finger drags, finger does not drag process ends; There is finger to drag execution in step 205.
Step 205: judge whether it is to drag two the finger.Two execution in step 206 that refer to drag; Not two execution in step 207 that refer to drag.
Step 206: obtain pair coordinate of two terminal points that finger drags, calculate the middle point coordinate of line segment between described two terminal points, be designated as current coordinate; Execution in step 208.
Step 207: a finger drags, and obtains the terminal point coordinate that a described finger drags, and is designated as current coordinate.
Step 208: calculate described current coordinate distance and direction with respect to initial coordinate on the mobile phone screen vertical direction.
Step 209: tabulation is slided, and the sliding speed of tabulation is directly proportional with described distance, and the glide direction of tabulation is described direction.
Wherein, described two the indication hit as allowing poor two indication of click time of occurrence to hit, and the described mistiming is not more than 10 milliseconds, to prevent the event error, described tabulation stopped to slide when two fingers all frameed out, and when screen does not receive touch during the time, described tabulation stops to slide.
Current coordinate is as next time mobile initial coordinate.When the user thinks that certain tabulation sliding speed is too fast or excessively slow, can follow to drag last time to continue to finish once and drag, the initial coordinate that the current goal that will drag last time dragged as the last time, drag new current coordinate of middle acquisition in the last time, form new sliding speed and glide direction.Also can point and leave again touch screen, form new slip responding process.
In this enforcement, when tabulation is slided, do a mark on the screen, described mark comprises arrow from described initial coordinate to described current coordinate of picture.This kind design can clear and intuitive embodiment sliding speed and is dragged relation between the distance, is convenient to the user and operates more accurately.
A kind of the first embodiment that drags the system that realizes that the tabulation speed change is slided by two fingers of the present invention as shown in Figure 3.
Initial coordinate obtains module 302, obtains two initial coordinates that hit of giving directions at 2, calculates the middle point coordinate of line segment between described initial 2, is designated as initial coordinate;
Current coordinate obtains module 303, and judgement is that a finger moves or two finger moves, and moves such as a finger, then obtains the terminal point coordinate that a described finger moves, and is designated as current coordinate; Move such as two fingers, then obtain two coordinates that refer to two mobile terminal points, calculate the middle point coordinate of line segment between described two terminal points, be designated as current coordinate;
Range direction obtains module 304, calculates described current coordinate distance and direction with respect to initial coordinate on the mobile phone screen vertical direction;
Tabulation slip control module 305, tabulation is slided, and the sliding speed of tabulation is directly proportional with described distance, and the glide direction of tabulation is identical with described direction.This kind design can guarantee to use single job can finish free operant to tabulation, removed continuous worry with finger sliding from, can slowly browse like a cork, also can two refer to drag a very long distance and allow like greased lightning slip before eyes of tabulation, greatly improve user's experience.
A kind of the second embodiment that drags the system that realizes that the tabulation speed change is slided by two fingers of the present invention as shown in Figure 4.
This system also comprises drag events respond module 306, is used for judging whether that the event that finger drags occurs.Execution in step b occurs in the event that has finger to drag; Process ends occurs in the event that does not have finger to drag.
In the present embodiment, described two the indication hit as allowing poor two indication of click time of occurrence to hit, and the described mistiming is not more than 10 milliseconds, to prevent the event error, described tabulation stopped to slide when two fingers all frameed out, and when screen does not receive touch during the time, described tabulation stops to slide.
In the present embodiment, current coordinate is as next time mobile initial coordinate.When the user thinks that certain tabulation sliding speed is too fast or excessively slow, can follow to drag last time to continue to finish once and drag, the initial coordinate that the current goal that will drag last time dragged as the last time, drag new current coordinate of middle acquisition in the last time, form new sliding speed and glide direction.Also can point and leave again touch screen, form new slip responding process.
In the present embodiment, when tabulation slip control module 305 can be controlled the tabulation slip, do a mark on the screen, described mark comprises arrow from described initial coordinate to described current coordinate of picture.This kind design can clear and intuitive embodiment sliding speed and is dragged relation between the distance, is convenient to the user and operates more accurately.
Know-why of the present invention has below been described in conjunction with specific embodiments.These are described just in order to explain principle of the present invention, and can not be interpreted as by any way limiting the scope of the invention.Based on explanation herein, those skilled in the art does not need to pay performing creative labour can associate other embodiment of the present invention, and these modes all will fall within protection scope of the present invention.

Claims (10)

1. a method that drags the slip of realization tabulation speed change by two fingers is characterized in that, may further comprise the steps:
101, obtain two initial coordinates that hit of giving directions at 2, calculate the middle point coordinate of line segment between described initial 2, be designated as initial coordinate;
102, judge it is that a finger moves or two finger moves, move such as a finger, then obtain the terminal point coordinate that a described finger moves, be designated as current coordinate; Move such as two fingers, then obtain two coordinates that refer to two mobile terminal points, calculate the middle point coordinate of line segment between described two terminal points, be designated as current coordinate;
103, calculate described current coordinate distance and direction with respect to initial coordinate on the mobile phone screen vertical direction;
104, tabulation is slided, and the sliding speed of tabulation is directly proportional with described distance, and the glide direction of tabulation is identical with described direction.
2. a kind of method that realizes that the tabulation speed change is slided that drags by two fingers according to claim 1 is characterized in that, and is after step 101, further comprising the steps of before the step 102:
Judge whether that the event that finger drags occurs, execution in step 102 occurs in the event that has finger to drag; Process ends occurs in the event that does not have finger to drag.
3. a kind of method that realizes that the tabulation speed change is slided that drags by two fingers according to claim 1 is characterized in that, described two indications are hit as allowing to click poor two indication of time of occurrence and hit, and the described mistiming is not more than 10 milliseconds;
In the described step 104, further comprise, when two fingers all frameed out, described tabulation stopped to slide.
4. a kind of method that realizes that the tabulation speed change is slided that drags by two fingers according to claim 1, it is characterized in that, when the tabulation sliding speed need to be adjusted, finger again slided, execution in step 102, the current coordinate of the front acquisition of once sliding is as the initial coordinate of the finger that again slides.
5. a kind of method that realizes that the tabulation speed change is slided that drags by two fingers according to claim 1 is characterized in that, when described tabulation is slided, do a mark on the screen, described mark comprises arrow from described initial coordinate to described current coordinate of picture.
6. a system that drags the slip of realization tabulation speed change by two fingers is characterized in that, comprising:
Initial coordinate obtains module, obtains two initial coordinates that hit of giving directions at 2, calculates the middle point coordinate of line segment between described initial 2, is designated as initial coordinate;
Current coordinate obtains module, and judgement is that a finger moves or two finger moves, and moves such as a finger, then obtains the terminal point coordinate that a described finger moves, and is designated as current coordinate; Move such as two fingers, then obtain two coordinates that refer to two mobile terminal points, calculate the middle point coordinate of line segment between described two terminal points, be designated as current coordinate;
Range direction obtains module, calculates described current coordinate distance and direction with respect to initial coordinate on the mobile phone screen vertical direction;
Tabulation slip control module, tabulation is slided, and the sliding speed of tabulation is directly proportional with described distance, and the glide direction of tabulation is identical with described direction.
7. a kind of system that realizes that the tabulation speed change is slided that drags by two fingers according to claim 6 is characterized in that, also comprises:
Judge whether that the event that finger drags occurs, execution in step 102 occurs in the event that has finger to drag; Process ends occurs in the event that does not have finger to drag.
8. a kind of system that realizes that the tabulation speed change is slided that drags by two fingers according to claim 6 is characterized in that, described two indications are hit as allowing to click poor two indication of time of occurrence and hit, and the described mistiming is not more than 10 milliseconds.
9. a kind of system that realizes that the tabulation speed change is slided that drags by two fingers according to claim 6, it is characterized in that, when the tabulation sliding speed need to be adjusted, finger again slided, execution in step 102, the current coordinate of the front acquisition of once sliding is as the initial coordinate of the finger that again slides.
10. a kind of system that realizes that the tabulation speed change is slided that drags by two fingers according to claim 6 is characterized in that, when described tabulation is slided, do a mark on the screen, described mark comprises arrow from described initial coordinate to described current coordinate of picture.
CN2012105915953A 2012-12-29 2012-12-29 Method and system to achieve list sliding change through dragging with two fingers Pending CN103064599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105915953A CN103064599A (en) 2012-12-29 2012-12-29 Method and system to achieve list sliding change through dragging with two fingers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105915953A CN103064599A (en) 2012-12-29 2012-12-29 Method and system to achieve list sliding change through dragging with two fingers

Publications (1)

Publication Number Publication Date
CN103064599A true CN103064599A (en) 2013-04-24

Family

ID=48107244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105915953A Pending CN103064599A (en) 2012-12-29 2012-12-29 Method and system to achieve list sliding change through dragging with two fingers

Country Status (1)

Country Link
CN (1) CN103064599A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645855A (en) * 2013-11-29 2014-03-19 东莞宇龙通信科技有限公司 Touch reading method and device
CN106951154A (en) * 2017-03-20 2017-07-14 广东欧珀移动通信有限公司 Mobile terminal, man-machine interaction method and human-computer interaction device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4954967A (en) * 1983-09-21 1990-09-04 Canon Kabushiki Kaisha Information processing apparatus
CN101490643A (en) * 2006-06-16 2009-07-22 塞奎公司 A method of scrolling that is activated by touchdown in a predefined location on a touchpad that recognizes gestures for controlling scrolling functions
CN102508615A (en) * 2011-11-28 2012-06-20 明基电通有限公司 Touch screen picture control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4954967A (en) * 1983-09-21 1990-09-04 Canon Kabushiki Kaisha Information processing apparatus
CN101490643A (en) * 2006-06-16 2009-07-22 塞奎公司 A method of scrolling that is activated by touchdown in a predefined location on a touchpad that recognizes gestures for controlling scrolling functions
CN102508615A (en) * 2011-11-28 2012-06-20 明基电通有限公司 Touch screen picture control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645855A (en) * 2013-11-29 2014-03-19 东莞宇龙通信科技有限公司 Touch reading method and device
CN106951154A (en) * 2017-03-20 2017-07-14 广东欧珀移动通信有限公司 Mobile terminal, man-machine interaction method and human-computer interaction device
CN106951154B (en) * 2017-03-20 2019-07-19 Oppo广东移动通信有限公司 Mobile terminal, man-machine interaction method and human-computer interaction device

Similar Documents

Publication Publication Date Title
CN103699289B (en) Method and device for responding to sliding operation
EP2866129B1 (en) Cursor display position determination method and device
JP6128363B2 (en) Data reporting method and apparatus, and terminal device
CN106023279A (en) Curve drawing method and system
CN110727496B (en) Layout method and device of graphical user interface, electronic equipment and storage medium
CN104252301A (en) System and method for optimizing one-hand operation and electronic device
CN110493018B (en) Group chat creating method and device
CN102902407B (en) A kind of touch-screen output display touches the method and apparatus of person's handwriting
CN103324440A (en) Text content selecting method utilizing multi-point touch control
EP2703959A1 (en) Terminal and method for inputting in terminal using positive and negative ends of stylus
CN104317452A (en) Method for controlling intelligent equipment with large screen
CN104049874A (en) Touch chirography generation method and system of touch pen
CN103473013B (en) The method of a kind of application interface regulation and mobile terminal
CN106648152B (en) It is a kind of to be based on rotation angle and the three-dimensional pen-based interaction interface Zoom method of distance
CN105204762A (en) Method for regulating screen brightness and user terminal
CN104182144A (en) Mobile terminal interface browsing method and system
CN104516638A (en) Volume control method and device
WO2015169017A1 (en) Method and apparatus for realizing human-machine interaction
CN103235701A (en) Mobile-terminal-based picture browsing method and device
CN107179875B (en) The method and apparatus of window adjustment
CN104731495A (en) Page content selecting method and system
CN103064599A (en) Method and system to achieve list sliding change through dragging with two fingers
CN103914305B (en) The method and system of application are freely controlled on a kind of mobile terminal
CN111124242B (en) Function key display method and device, electronic equipment and storage medium
CN105320316B (en) Method and device for removing jitter of touch screen and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130424