CN105022567B - A kind of method by mouse drag slide handover interface - Google Patents
A kind of method by mouse drag slide handover interface Download PDFInfo
- Publication number
- CN105022567B CN105022567B CN201410180084.1A CN201410180084A CN105022567B CN 105022567 B CN105022567 B CN 105022567B CN 201410180084 A CN201410180084 A CN 201410180084A CN 105022567 B CN105022567 B CN 105022567B
- Authority
- CN
- China
- Prior art keywords
- mouse
- sliding
- list
- slide
- display area
- 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.)
- Active
Links
Abstract
The present invention relates to a kind of methods by mouse drag slide handover interface.This method is mainly used for through mouse drag sliding list to be allowed to slide in display area, and multinomial display list can be switched by the slip of sliding list, and the display in display area, this method were specifically included such as the next stage respectively:Stage S100, the pressure of response mouse and mouse moving event;Stage S200 enters mouse release event after the action of mouse release pressure;Stage S300 is slided after reaching edge, and the control stage is slided beyond boundary slip and rebound.This method is slided by mouse drag, is then added using simply even(Subtract)The slip cartoon technique with rebound effect that speed linear motion is composed, and the monitoring by being slided to mouse, calculate the technology of mouse sliding speed, smooth sliding animation effect can be thus achieved, this method is simple to operation, can effectively solve the purpose by mouse drag slide handover WinCE system interfaces.
Description
Technical field
The present invention is more particularly directed to a kind of methods by mouse drag slide handover interface.
Background technology
With the development of computer technology, mobile phone now, the CPU speed of apparatus such as computer are getting faster, thus bring
Software also has significant progress, particularly in the operability of human-computer interaction interface, has become increasingly hommization.For example,
By the technology of the mouse drag slide handover page on smart mobile phone generally popular now, just give user's one kind extraordinary
Operating experience.The technology can be on many human-computer interaction interfaces, for example, the left and right page layout switch of desktop icons page;Row
The vertical direction dragging of table control;The left and right of picture browsing(Up and down)Dragging switching etc..For now, which exists
In the operating systems such as Android, ios, due to the support of system, it is little to implement difficulty;But use WinCE systems for numerous
The embedded device of system and the desktop computer equipment using Window sequence of maneuvers systems, it is desirable to realize this effect, due to
Operating system does not support that then there are many difficulty.
Invention content
The purpose of the present invention is to provide a kind of methods by mouse drag slide handover interface.
Technical solution is used by the present invention solves above-mentioned technical problem:One kind passes through mouse drag slide handover interface
Method, the interface include a display area and one it is being slided in the display area and with multinomial display row
The sliding list of table, the method at the switching interface are mainly used for through sliding list described in mouse drag being allowed to described
It is slided in display area, the multinomial display list can be switched respectively in display area by the slip of the sliding list
It has been shown that, this method were specifically included such as the next stage:
Stage S1 enters mouse moving event after obtaining pressure action message of the mouse in display area, detects in real time
All moving process of mouse, and the mobile message of mouse is recorded, until the action of mouse release pressure;
Stage S2 enters mouse release event, according to the mouse recorded in step S1 after the action of mouse release pressure
Target moving process is calculated sliding speed during mouse release pressure action, is continued using this sliding speed as sliding list
The initial velocity of slip simultaneously controls the sliding list to take advantage of a situation in display area slip with uniformly retarded motion;
Stage S3, according to the glide direction of sliding list in step S2, when the sliding list is slided to the right beyond the left side
Edge or when sliding to the left beyond right hand edge, the sliding list enters reversely rebound sliding phase.
In a preferred embodiment, the stage S1 is further included:After mouse pressure action message is obtained, institute is first determined whether
Sliding list is stated whether in sliding process, if it is, stopping the sliding action of current sliding list and marking mouse
It presses, if it is not, then directly label mouse has been pressed, then enters back into mouse moving event;Simultaneously by the mobile message of mouse
It is recorded in a queue Q.
In a preferred embodiment, the stage S2 includes the following steps:
Step S210 responds mouse release event, and takes out mouse in the queue Q and start letter in moving event
Cease Qh and ending information Qe;
Step S220 calculates mouse in release according to the start information Qh and ending information Qe that are taken out in step S210
Operation initial velocity V0;
Step S230 removes the information that all the elements and mouse in queue Q have been pressed;
Step S240 presets a minimum speed Vmin, and whether the initial velocity V0 in judgment step S220 is less than this most
Small speed, if it is, S250 is entered step, if it is not, then entering step S260;
Step S250 judges currently to show the distance between the left hand edge of list and display area left hand edge in display area
Whether Io is equal to 0, if it is, mouse release event is completed, if it is not, then entering step S251;
Step S251, distance length S=- Io that current display list needs is set to slide, subsequently into step S270;
Step S260 presets a deceleration a, and according to the initial velocity in deceleration a and step S220, calculates when cunning
The distance length S that list needs slide currently is shown when dynamic speed is reduced to zero;
Step S261, sliding list left side edge is apart from display area left side edge at the end of calculating estimated slip
Distance Sr;
Step S262, judges whether Sr is located at the outside of display area, if it is, S280 is entered step, if it is not, then
Enter step S263;
Step S263, adjustment need the integral multiple that the distance length S slided is the Iw for showing list widths;
Step S264, setting needs the distance length S=S-Io slided, subsequently into step S270;
Step S270 according to preset deceleration a and needs the distance length S slided, recalculates initial velocity V0;
The distance that step S280, the starting point S0 run when being discharged according to mouse, preset deceleration a and needs slide
S is spent, starts the slip engine of sliding list;
Step S290, the processing of mouse release event are completed.
In a preferred embodiment, it is described it is reversed rebound sliding phase include deceleration slip part, resilient slide preceding 1/3
Part and rear 2/3 part of resilient slide, to accelerate, 2/3 part is retarded motion for 1/3 part.
In a preferred embodiment, the slip engine of the sliding list is used to periodically provide even add(Subtract)Speed movement is most
New location point is used for sliding control, after the slip engine process starts, sends out control information by timer timing first,
After the timed message of response timing device, slide engine and perform following steps:
Step S281:Obtain current time Tc;
Step S282:Calculate interval duration t=Tc-T0 between last time timer message;
Step S283:Current speed Vc is calculated, calculates and uses following uniformly accelrated rectilinear motion physical equation(A is negative
Value):Vc = V0 + a * t;
Step S284:The distance S slided within the t times is calculated, is calculated public using following uniformly accelrated rectilinear motion physics
Formula:S = V0 * t + a * t2/ 2;
Step S285:Calculate current location point Sc=S0+S;
Step S286:Preserve initial value of the current state as next timed message:T0 = Tc;V0 = Vc;S0 =
Sc;
Step S287:Send out message, the extraneous current location point of notice.The external world is responded after the message, it is possible to do phase
Corresponding processing;
Step S288:Judge whether Vc has reached zero, if it is, then performing step S289;
Step S289:Message is sent out, notifies that extraneous sliding speed has been zero, the external world is responded after the message, it is known that is slided
It has been terminated that, slide engine control at this time and terminate.
The present invention is by the advantageous effect of the method at mouse drag slide handover interface:This method is mainly used for passing through
Multinomial display list point can be switched to be allowed to slide in display area, by the slip of sliding list in mouse drag sliding list
Display not in display area, this method were specifically included such as the next stage:Stage S1, the pressure of response mouse and mouse move thing
Part;Stage S2 enters mouse release event after the action of mouse release pressure;Stage S3 is arranged according to being slided in stage S2
The glide direction of table, when the sliding list is slided to the right beyond left hand edge or is slided to the left beyond right hand edge, sliding list
Into reversed rebound sliding phase.Then this method is added by pressing mouse and pulling using simply even(Subtract)Fast straight line fortune
The dynamic slip cartoon technique with rebound effect being composed and the monitoring by being slided to mouse calculate mouse cunning
The technology of dynamic speed, you can to realize smooth sliding animation effect, this method is simple to operation, can effectively solve to pass through mouse
Pull the purpose of slide handover WinCE system interfaces.
Description of the drawings
Fig. 1 is by the control procedure chart of the method at mouse drag slide handover interface in an embodiment.
Fig. 2 is gliding model static state schematic diagram in an embodiment.
Fig. 3 is mouse depression event process chart in an embodiment.
Fig. 4 is mouse moving event process chart in an embodiment.
Fig. 5 is mouse release event process chart in an embodiment.
Fig. 6 is the flow chart that engine control sliding process is slided in an embodiment.
Fig. 7 is the reversed rebound sliding phase process chart except edge in an embodiment.
Fig. 8 is the control schematic diagram that engine is slided in an embodiment.
Fig. 9 is that model slides schematic diagram a in an embodiment.
Figure 10 is that model slides schematic diagram b in an embodiment.
Figure 11 is that model slides schematic diagram c in an embodiment.
Figure 12 is that model slides schematic diagram d in an embodiment.
Specific embodiment
Below in conjunction with specific embodiment and attached drawing to the present invention by the method at mouse drag slide handover interface make into
One step is described in detail.
A kind of method by mouse drag slide handover interface, which includes a display area and one can be at this
Sliding list being slided in display area and with multinomial display list.
Fig. 2, Fig. 9 are referred to Figure 12, in order to more intuitively describe, a gliding model is established here, in fig. 2, has
One multinomial list(Because the list is slidable, referred to herein as " sliding list ")It is moved left and right in display area
(It can also move up and down, it is convenient to illustrate, the example moved left and right is only listed here, and the principle moved up and down is the same
's).The each single item of the sliding list is all wide, and each width can be less than or equal to or more than display area
Width.Also, there is no limit can be any amount to the item number of sliding list.
All there are one currentitems at any time for sliding list.When sliding list is static, the left hand edge of currentitem is always
It is aligned with the left hand edge of display area;When being in slip, currentitem will change according to the position slided in real time, be judged as
The foundation of currentitem is:The item of left hand edge closest to display area left hand edge is currentitem.This rule shows:The currentitem left side
The distance with display area left hand edge of edge(Io)To centainly it be less than (1/2 * Iw).By Io and Iw, slip can be calculated
The distance Sr of list left hand edge and display area left hand edge=- (Iw * (serial number of currentitem)+Io).The value that is to say cunning
Dynamic list is with respect to the position coordinate value of display area.As shown in Figure 9 and Figure 10.
Further, in order to show better animation effect, when slip to the right is beyond the 0th left hand edge of sliding list
Or when slided to the left beyond last right hand edge of sliding list, slip still will continue to, but, sliding will encounter more at this time
Big resistance so that sliding speed is reduced to zero with the deceleration of bigger.As is illustrated by figs. 11 and 12.
After sliding speed is reduced to zero, edge is had exceeded if sliding, then multinomial list will enter front slide therewith
The opposite reversed rebound motion stage in direction.It it is the uniformly accelerated motion stage before rebound in 1/3 distance, sliding speed will be from
Zero starts to incrementally increase;After rebound is more than 1/3 distance, into the uniformly retarded motion stage, at this moment, obtained appropriately by calculating
Deceleration so that when the edge of display area is arrived in rebound, speed is exactly zero.
It is above the description to entire gliding model.Concrete implementation mode is as follows:
Fig. 1 is referred to, the method at switching interface of the invention is mainly used for through mouse drag sliding list being allowed to
It is slided in display area, the multinomial display list display in display area respectively can be switched by the slip of sliding list, it should
Method was specifically included such as the next stage:
Stage S1 enters mouse moving event after obtaining pressure action message of the mouse in display area, detects in real time
All moving process of mouse, and the mobile message of mouse is recorded, until the action of mouse release pressure;
Stage S2 enters mouse release event, according to the mouse recorded in step S1 after the action of mouse release pressure
Target moving process is calculated sliding speed during mouse release pressure action, is continued using this sliding speed as sliding list
The initial velocity of slip simultaneously controls the sliding list to take advantage of a situation in display area slip with uniformly retarded motion;
Stage S3, according to the glide direction of sliding list in stage S2, when the sliding list is slided to the right beyond the left side
Edge or when sliding to the left beyond right hand edge, the sliding list enters reversely rebound sliding phase.
Fig. 3 is referred to, the stage, S1 was further included:After mouse pressure action message is obtained, whether sliding list is first determined whether
In sliding process, if it is, stop the sliding action of current sliding list and mouse is marked to press, if it is not, then
Directly label mouse has been pressed, and then enters back into mouse moving event;A queue Q is recorded in the mobile message of mouse simultaneously
In.
Fig. 4 is referred to, into after mouse moving event, the current display position of sliding list is adjusted first, then ought
Preceding mouse message, is recorded at the ending of queue Q, then take queue first time including shift position and mobile moment
The time of record compared with current time, obtains the time difference, then judges whether the time difference is more than the time value of setting, if
It is when then deleting first record of queue Q and taking first time recorded of queue compared with current time to obtain again
Between it is poor, if it is not, then mouse moving event processing complete.
Fig. 5 is referred to, the stage, S2 included the following steps:
Step S210 responds mouse release event, and start information Qh of the mouse in moving event is taken out in queue Q
With ending information Qe;
Step S220, according to the start information Qh and ending information Qe taken out in step S210, by the time phase of Qe and Qh
Subtract, the duration Tm that queue Q is recorded recently can be obtained, and the mouse position of Qe and Qh are subtracted each other, obtain the range ability Sm of mouse,
With Sm/Tm, speed of service V0 of the mouse in release can be calculated;Due to slide typically only be horizontally oriented slip or only
Slip is only vertically oriented, therefore, horizontal direction is slided, the changes in coordinates for the vertical direction that can be ignored mouse;It is and right
It is slided in vertical direction, the changes in coordinates for the horizontal direction that can also be ignored mouse;
Step S230 removes the information that all the elements and mouse in queue Q have been pressed;
Step S240 presets a minimum speed Vmin, and whether the initial velocity V0 in judgment step S220 is less than this most
Small speed, if it is, S250 is entered step, if it is not, then entering step S260;
Step S250 judges currently to show the distance between the left hand edge of list and display area left hand edge in display area
Whether Io is equal to 0, if it is, mouse release event is completed, if it is not, then entering step S251;
Step S251, distance length S=- Io that current display list needs is set to slide, subsequently into step S270;
Step S260 presets a deceleration a, and according to the initial velocity in deceleration a and step S220, calculates when cunning
The distance length S that list needs slide currently is shown when dynamic speed is reduced to zero;
Step S261, sliding list left side edge is apart from display area left side edge at the end of calculating estimated slip
Distance Sr;
Step S262, judges whether Sr is located at the outside of display area, if it is, S280 is entered step, if it is not, then
Enter step S263;
Step S263, adjustment need the integral multiple that the distance length S slided is the Iw for showing list widths;
Step S264, setting needs the distance length S=S-Io slided, subsequently into step S270;
Step S270 according to preset deceleration a and needs the distance length S slided, recalculates initial velocity V0;
The distance that step S280, the starting point S0 run when being discharged according to mouse, preset deceleration a and needs slide
S is spent, starts the slip engine of sliding list;
Step S290, the processing of mouse release event are completed.
After starting and sliding engine, Fig. 6 is referred to, into engine control stage is slided, sliding engine will timing
Message is sent out, informs current newest sliding position, until sliding speed is zero, is receiving newest slip every time
When location message, judge slide whether reach edge, if reaching edge, then enter stage S3;It were it not for
Into stage S3 and receive slide engine sliding speed be reduced to zero message, then show slide be over, entirely
Processing procedure is slided to complete with regard to this.
Fig. 7 is referred to, this is a reversed rebound sliding phase except edge, including deceleration slip part, instead
Preceding 1/3 part and rear 2/3 part of resilient slide that bullet slides, to accelerate, 2/3 part is transported to slow down for 1/3 part
It is dynamic.The preceding part of rebound and rear portion subassembly, will realize following effect:Resilient slide startup → accelerated motion → rebound is more than
The edge of 1/3 distance → retarded motion → stopping to display area just is to slide engine first in the moment for entering stage S3
The deceleration of one bigger is set, this is prevented its cunning like after sliding list skids off edge by the resistance of a bigger
It is dynamic.This is deceleration slip part.After the deceleration there is provided bigger, slide engine and continue periodically to send out message, inform and work as
Preceding sliding position information, until sliding speed is kept to zero.After receiving speed and being reduced to zero message, it is necessary first to sentence
Whether disconnected be the state for being in rebound, is also also that entire sliding process is complete if it is, showing that resilient slide is over
Into.Otherwise, the steps will be performed successively:
Step S33:Sr values when stopping are slided, is the starting point of rebound motion, this is defined herein as S0;
Step S34:A=preset rebound acceleration is set;
Step S35:Engine is slided as parameter, restarting with a, V0, S0(V0=0 at this time, speed will increasingly
Soon);
Step S36:Label has had been enter into rebound state.
After rebound state is entered, slide engine and continue periodically to send out message, inform current sliding position information.Often
It is secondary to receive a new sliding position message, the steps will be performed:
Step S39:Judge whether have 1/3 rebound mark, if having, then jump to step 15;
Step S3010:Judge whether rebound has been more than 1/3 distance, assuming that it has not, then jumping to step 15;
Step S3011:Starting point of the Sr values for part after resilient slide at this time is taken, is defined as S0;
Step S3012:Setting speed at that time is V0, it is also necessary to sliding distance length S=- S0, calculate when slide S away from
From deceleration a rear, that speed is zero.Calculation formula is as follows:
a = -V02/(2*S)
Step S3013:Engine is rolled as parameter, restarting with a, V0, S0;
Step S3014:Label has been enter into 1/3 rebound phase;
Step S3015:According to the newest sliding position obtained, the new position of sliding list is set.
After these steps are completed, resilient slide will go into 1/3 rebound phase.It is reduced in the speed of 1/3 rebound phase
When zero, entire sliding process is completed.
So far, a control process completely smoothly slided by mouse drag realization is completed.
Preferably, during entire slip control, mouse information is sent out by operating system, only needs to be responsible for here
Respond mouse information.But it is that oneself is needed to realize for sliding engine.The purpose for sliding engine is that timing provides even add
(Subtract)The latest position point of speed movement is used for sliding control.
Fig. 8 is referred to, the figure shows the control schematic diagrams for sliding engine.It will be apparent from this figure that draw when starting to slide
After holding up, slide engine and periodically send out control message using timer.
After the timed message of response timing device, the steps will be performed by sliding engine, realize the processing to slip:
Step S1:Obtain current time Tc;
Step S2:Calculate interval duration t=Tc-T0 between last time timer message;
Step S3:Current speed Vc is calculated, calculates and uses following uniformly accelrated rectilinear motion physical equation(A is negative
Value):Vc = V0 + a * t;
Step S4:The distance S slided within the t times is calculated, calculates and uses following uniformly accelrated rectilinear motion physical equation:
S = V0 * t + a * t2/ 2;
Step S5:Calculate current location point Sc=S0+S;
Step S6:Preserve initial value of the current state as next timed message:T0 = Tc;V0 = Vc;S0 = Sc;
Step S7:Send out message, the extraneous current location point of notice.The external world is responded after the message, it is possible to be done opposite
The processing answered;
Step S8:Judge whether Vc has reached zero, if it is, then performing step S9;
Step S9:Message is sent out, notifies that extraneous sliding speed has been zero.The external world is responded after the message, it is known that is slided
Terminate.
So far, engine section design is slided to complete.
To sum up, the present invention is mainly used for sliding row by mouse drag by the method at mouse drag slide handover interface
Multinomial display list can be switched respectively in display area to be allowed to slide in display area, by the slip of sliding list in table
Display, this method specifically included such as the next stage:Stage S1, the pressure of response mouse and mouse moving event;Stage S2, works as mouse
The action for discharging pressure enters mouse release event later;Stage S3 according to the glide direction of sliding list in stage S2, works as institute
When stating sliding list and sliding to the right beyond left hand edge or slide to the left beyond right hand edge, sliding list enters reversely rebound and slides rank
Section.This method is added using simply even(Subtract)The slip cartoon technique with rebound effect that speed linear motion is composed, with
And the monitoring by being slided to mouse, calculate the technology of mouse sliding speed, you can to realize smooth sliding animation effect,
By using mouse drag sliding technology on human-computer interaction interface, it can realize the smooth sliding effect of changing interface, can give
A kind of good control of operator is given to feel.The technology is not limited to by operating system, can be in any suitable operating system
On smooth interface cartoon transition effect is realized using the technology, this method is simple to operation, can effectively solve to pass through mouse
Pull the purpose of slide handover WinCE system interfaces.
Although description of this invention combination embodiments above carries out, those skilled in the art
Member can carry out many replacements according to above-mentioned content, modifications and variations, be obvious.Therefore, it is all it is such substitute,
It improves and variation is included in the spirit and scope of appended claims.
Claims (5)
- A kind of 1. method by mouse drag slide handover interface, it is characterised in that:The interface include a display area and One sliding list being slided in the display area and with multinomial display list, the method at the switching interface It is mainly used for passing through the sliding list by sliding list described in mouse drag to be allowed to slide in the display area Sliding the changeable multinomial display list, the display in display area, this method specifically comprise the following steps respectively:S1 enters mouse moving event after obtaining pressure action message of the mouse in display area, detects the institute of mouse in real time There is moving process, and record the mobile message of mouse, until the action of mouse release pressure;S2 enters mouse release event, according to the movement of the mouse recorded in step S1 after the action of mouse release pressure Process is calculated sliding speed during mouse release pressure action, is continued to slide using this sliding speed as sliding list first Speed simultaneously controls the sliding list to take advantage of a situation in display area slip with uniformly retarded motion;S3, according to the glide direction of sliding list in stage S2, when the sliding list is slided to the right beyond left hand edge or to the left When sliding beyond right hand edge, the sliding list enters reversely rebound sliding phase;The step S2 includes the following steps:Step S210 responds mouse release event, and mouse is taken out in the queue Q for having mouse mobile message in record in mobile thing Start information Qh and ending information Qe in part;Step S220 calculates fortune of the mouse in release according to the start information Qh and ending information Qe that are taken out in step S210 Row initial velocity V0;Step S230 removes the information that all the elements and mouse in queue Q have been pressed;Step S240 presets a minimum speed Vmin, and whether the initial velocity V0 in judgment step S220 is less than minimum speed Degree, if it is, S250 is entered step, if it is not, then entering step S260;Step S250 judges currently to show that the left hand edge of list and the distance between display area left hand edge Io are in display area It is no to be equal to 0, if it is, mouse release event is completed, if it is not, then entering step S251;Step S251, distance length S=- Io that current display list needs is set to slide, subsequently into step S270;Step S260 presets a deceleration a, and according to the initial velocity in deceleration a and step S220, calculates fast when sliding Degree currently shows the distance length S that list needs slide when being reduced to zero;Step S261 calculates distance of the sliding list left side edge apart from display area left side edge at the end of estimated slip Sr;Step S262, judges whether Sr is located at the outside of display area, if it is, S280 is entered step, if it is not, then into Step S263;Step S263, adjustment need the integral multiple that the distance length S slided is the Iw for showing list widths;Step S264, setting needs the distance length S=S-Io slided, subsequently into step S270;Step S270 according to preset deceleration a and needs the distance length S slided, recalculates initial velocity V0;The distance length S that step S280, the starting point S0 run when being discharged according to mouse, preset deceleration a and needs slide, Start the slip engine of sliding list;Step S290, the processing of mouse release event are completed.
- 2. the method according to claim 1 by mouse drag slide handover interface, which is characterized in that the stage S1 It further includes:After mouse pressure action message is obtained, the sliding list is first determined whether in sliding process, if It is then to stop the sliding action of current sliding list and mouse is marked to press, if it is not, then directly label mouse has been pressed, Then mouse moving event is entered back into;The mobile message of mouse is recorded in a queue Q simultaneously.
- 3. the method according to claim 1 by mouse drag slide handover interface, which is characterized in that described reversely to return It plays sliding phase and includes rear 2/3 part of deceleration slip part, preceding 1/3 part of resilient slide and resilient slide, described 1/3 It is divided into accelerated motion, 2/3 part is retarded motion.
- 4. the method according to claim 3 by mouse drag slide handover interface, which is characterized in that described to slide row Table slides engine for periodically providing the latest position point of uniformly accelerated motion or uniformly retarded motion, is used for sliding control, institute It states and slides after engine process starts, control information is sent out by timer timing first, after the timed message of response timing device, slide Engine performs following steps:Step S281:Obtain current time Tc;Step S282:Calculate interval duration t=Tc-T0 between last time timer message;Step S283:Current speed Vc is calculated, calculates and uses following uniformly accelrated rectilinear motion physical equation:Vc = V0 + a * t;Wherein a is negative value;Step S284:The distance S slided within the t times is calculated, calculates and uses following uniformly accelrated rectilinear motion physical equation:S = V0 * t + a * t2/ 2;Step S285:Calculate current location point Sc=S0+S;Step S286:Preserve initial value of the current state as next timed message:T0 = Tc;V0 = Vc;S0 = Sc;Step S287:Send out message, the extraneous current location point of notice.
- 5. the method according to claim 4 by mouse drag slide handover interface, which is characterized in that external world's response should After message, it is possible to do corresponding processing;Step S288:Judge whether Vc has reached zero, if it is, then performing step S289;Step S289:Message is sent out, notifies that extraneous sliding speed has been zero, the external world is responded after the message, it is known that slip has been tied Beam slides engine control and terminates at this time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410180084.1A CN105022567B (en) | 2014-04-30 | 2014-04-30 | A kind of method by mouse drag slide handover interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410180084.1A CN105022567B (en) | 2014-04-30 | 2014-04-30 | A kind of method by mouse drag slide handover interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105022567A CN105022567A (en) | 2015-11-04 |
CN105022567B true CN105022567B (en) | 2018-06-26 |
Family
ID=54412568
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410180084.1A Active CN105022567B (en) | 2014-04-30 | 2014-04-30 | A kind of method by mouse drag slide handover interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105022567B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105554553B (en) * | 2015-12-15 | 2019-02-15 | 腾讯科技(深圳)有限公司 | The method and device of video is played by suspension windows |
CN106095283A (en) * | 2016-06-07 | 2016-11-09 | 深圳市航盛电子股份有限公司 | A kind of Android ListView resilient movement method |
CN106527908B (en) * | 2016-11-24 | 2020-01-14 | Tcl集团股份有限公司 | Method and device for realizing stretching and flicking animation in application interface |
CN107066178A (en) * | 2017-01-23 | 2017-08-18 | 山东浪潮商用系统有限公司 | It is a kind of to realize the method that mobile phone A PP list animations show |
CN107391002A (en) * | 2017-07-20 | 2017-11-24 | 上海金大师网络科技有限公司 | A kind of transparent floating can pull list generation method and system |
CN108536361B (en) * | 2018-04-03 | 2021-06-22 | 网易(杭州)网络有限公司 | Touch operation processing method and device, storage medium, processor and terminal |
CN111475088B (en) * | 2019-01-23 | 2021-07-20 | 百度在线网络技术(北京)有限公司 | Page scrolling method and device, storage medium and terminal equipment |
CN109885375B (en) * | 2019-03-05 | 2022-03-08 | 百度在线网络技术(北京)有限公司 | List sliding display method and mobile terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901112A (en) * | 2010-08-10 | 2010-12-01 | 广东欧珀移动通信有限公司 | Control method by sliding list |
CN102314297A (en) * | 2010-07-07 | 2012-01-11 | 腾讯科技(深圳)有限公司 | Window object inertia displacement method and realizing device |
CN103034683A (en) * | 2012-11-26 | 2013-04-10 | 北京奇虎科技有限公司 | Page switching method and device for browser |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7958456B2 (en) * | 2005-12-23 | 2011-06-07 | Apple Inc. | Scrolling list with floating adjacent index symbols |
-
2014
- 2014-04-30 CN CN201410180084.1A patent/CN105022567B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102314297A (en) * | 2010-07-07 | 2012-01-11 | 腾讯科技(深圳)有限公司 | Window object inertia displacement method and realizing device |
CN101901112A (en) * | 2010-08-10 | 2010-12-01 | 广东欧珀移动通信有限公司 | Control method by sliding list |
CN103034683A (en) * | 2012-11-26 | 2013-04-10 | 北京奇虎科技有限公司 | Page switching method and device for browser |
Also Published As
Publication number | Publication date |
---|---|
CN105022567A (en) | 2015-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105022567B (en) | A kind of method by mouse drag slide handover interface | |
EP3491812B1 (en) | Devices, methods, and graphical user interfaces for capturing and recording media in multiple modes | |
JP6143934B1 (en) | Information processing program, information processing method, and information processing apparatus | |
CN104133581B (en) | Physical object detection and touch screen interaction | |
CN103870196B (en) | A kind of method and device for switching object | |
CN103186330B (en) | A kind of display interface changing method and electronic equipment | |
CN101819498A (en) | Screen display-controlling method facing to slide body of touch screen | |
CN103513878A (en) | Touch input method and device | |
CN105630341A (en) | Touch display device, touch display method and unmanned aerial vehicle | |
KR20130008578A (en) | Method and device for window object inertial movement | |
CN102298502A (en) | Touch type electronic device and icon page-switching method | |
CN103605614A (en) | Method and device for cleaning up memory of mobile terminal | |
CN105892896A (en) | Desktop switching method and terminal | |
CN111228810A (en) | Control method and device of virtual rocker, electronic equipment and storage medium | |
CN105573590A (en) | Method for managing icons and terminal | |
CN105744062A (en) | Method and system for accurately positioning text cursor | |
CN107463319A (en) | Information processing method and device, storage medium, electronic equipment | |
CN113168281A (en) | Program, electronic device, and method | |
CN114063841A (en) | Text selection method, text selection device and electronic equipment | |
CN103092457A (en) | Method and device for arranging objects and electronic device | |
CN105373296A (en) | Task selection method and apparatus in terminal | |
CN105094548A (en) | Information processing method and electronic equipment | |
CN105763786B (en) | A kind of information processing method and electronic equipment | |
CN105117151B (en) | A kind of operating method and terminal of display interface | |
US10338770B2 (en) | Display apparatus and computer-readable non-transitory recording medium with display control program recorded thereon |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |