CN102169404A - Display method for article displacement on screen of electronic device - Google Patents

Display method for article displacement on screen of electronic device Download PDF

Info

Publication number
CN102169404A
CN102169404A CN2010101235218A CN201010123521A CN102169404A CN 102169404 A CN102169404 A CN 102169404A CN 2010101235218 A CN2010101235218 A CN 2010101235218A CN 201010123521 A CN201010123521 A CN 201010123521A CN 102169404 A CN102169404 A CN 102169404A
Authority
CN
China
Prior art keywords
animation
group
display window
display
displacement
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
CN2010101235218A
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.)
Esobi Inc
Original Assignee
Esobi Inc
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 Esobi Inc filed Critical Esobi Inc
Priority to CN2010101235218A priority Critical patent/CN102169404A/en
Publication of CN102169404A publication Critical patent/CN102169404A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a display method for article displacement on a screen of an electronic device. For displaying animations of the displacement motion of an article (an article group) on a display screen of the electronic device, the method comprises the following steps of: calculating animation interval time according to the number of times of animations and animation time; calculating animation end time according to the animation interval time and a sequence of the animations to be executed; calculating a distribution ratio according to the animation end time and a distribution curve; calculating a movement distance of the animations to be executed in the sequence according to the distribution ratio and an animation execution distance; and calculating an updated coordinate after the displacement of the article (the article group) according to the movement distance, and re-drawing a display window of the displaced article (the article group) on the display screen of the electronic device according to the updated coordinate. In the method, the movement process of the article (the article group) is displayed by calculation of the movement distance of each animation in animation process, so that an animation display effect of speed changing is achieved when the article (the article group) is displaced.

Description

The display packing of object displacement on the electronic installation screen
Technical field
The invention relates to a kind of display packing, it is the display packing of object displacement on a kind of electronic installation screen of outstanding finger.
Background technology
In recent years along with the quick progress of science and technology, and then fast development goes out many electronic installations, especially portable electronic equipment, and significantly promote the convenience of the common people in daily life, for example portable computer, mobile phone, PDA(Personal Digital Assistant) and portable type multimedia player etc.Early stage electronic installation is owing to emphasize that it is functional, lacks so the shown picture of display screen is comparatively dull usually to change.Yet, along with common people's request for utilization improves day by day, not only require electronic installation must possess outside all global functions, also must possess novel changeable display frame.Therefore, the display screen of electronic installation can present imaging functions such as many function choosing-items or cursor operations now, and animation effect further can be provided, for example effect such as cursor animation, dynamic menu.
Manipulate electronic installation for the more convenient common people now, so mostly the display screen of electronic installation is all the touch-sensitive display screen curtain, it can only need use indicator for the common people, for example point or stylus, can click the functional menu in the display frame of display screen, and carry out corresponding function.So common people's button that need not see through electronic installation be selected, and has therefore improved the convenience that the common people use electronic installation.In addition, the common people see through the touch-sensitive display screen curtain more can carry out interaction with electronic installation, for example the common people can directly pull the shown object of display screen (for example data items object) and carry out displacement action and move, and behind the towing object, can form animation, be different from static dynamic vision to present.
Electronic installation can further show the animation of friction speed now, and improves dynamic effect.For instance, the common people can pull behind the object on the display screen and decontrol, this object can continue move to form animation, and translational speed has different variation the (for example near arrive slowly or slowly near slow), to present the animation effect with friction speed variation at display screen.The existing mode of adjusting the translational speed of animation, it mostly is the mode that adopts the speed of regulating the speed, for example utilize parabolic formula to adjust translational speed, but this kind adjustment mode is difficult to control the distance that object moves, so object moves the indication range of the display window that exceeds display screen easily, and cause to show complete object, and then influence animation effect in display window.
Therefore, the present invention promptly proposes the display packing of object displacement on a kind of electronic installation screen at the problems referred to above, when it not only can make object (group) carry out displacement action, present outside the animation display effect of providing velocity variations, existing mode can be improved again and the shortcoming of object can't be correctly located in display window, and then the increase animation effect, to address the above problem.
Summary of the invention
Fundamental purpose of the present invention on electronic installation (touch) display screen, makes object (group) when displacement action, the animation display effect that presentation speed changes.
Secondary objective of the present invention is to make object (group) on (touch) display screen of electronic installation when displacement action, can correct positioning on reposition and the complete display window that is shown in display screen.
To achieve the above object, the present invention is the display packing of object displacement on a kind of electronic installation screen, it is characterized in that comprising the following step:
(A) read the hardware database of this electronic installation, obtain the complex data items object (group) that desire shows, and it is shown in the display window of setting on the display screen of this electronic installation;
(B) user pulls arbitrary the data project object (group) in this complex data items object (group) on this display window, when carrying out displacement action, calculates the towed speed that the user pulls this data project object (group);
(C) set an animation time, and calculate animation execution distance according to this towed speed and this animation time;
(D) set an animation number of times, mean allocation calculates animation interval time in this animation time;
(E) order according to this animation interval time and desire execution animation calculates an animation concluding time;
(F) calculate an allotment ratio according to this an animation concluding time and a partition curve;
(G) carry out distance calculation according to this allotment ratio and this animation and go out the displacement that desire is carried out this order animation;
(H) calculate renewal coordinate after this complex data items object (group) displacement according to this displacement, and upgrade coordinates this complex data items object (group) after with displacement according to those and repaint in this display window; And
(I) repeat step (E) to step (I), equal this animation number of times until the order of carrying out animation.
Among the present invention, step (A) comprises:
(A1) calculate the maximum indication range of this display window on this display screen according to the resolution of this display screen of this electronic installation;
(A2) the maximum indication range according to this display window calculates holding highly of each data project object (group);
(A3) according to holding the complex coordinates that altitude gauge is calculated this complex data items object (group); And
(A4) according to this complex coordinates this complex data items object (group) is drawn in this display window.
Among the present invention, more comprise in the step (A2):
(A21) the maximum indication range according to this display window calculates the initial position that the first stroke data items object (group) is positioned at this display window; And
(A22) an initial coordinate of setting this first stroke data items object (group) is this reference position.
Among the present invention, more comprise in the step (A3):
(A31) be positioned at the reference position of this display window according to the first stroke data items object (group) and this holds this complex coordinates that altitude gauge is calculated all the other these complex data items objects (group).
Among the present invention, more comprise in the step (B):
(B1) write down the user begins to pull this data project object (group) in this display window an initial position coordinate and the initial time;
(B2) write down the user stops to pull this data project object (group) in this display window an end position coordinate and the concluding time; And
(B3) calculate this towed speed that the user pulls this data project object (group) according to this initial position coordinate, this end position coordinate, this zero-time and this concluding time.
Among the present invention, more comprise in the step (C):
(C1) according to this animation of the initial position correction execution distance that height and the first stroke data items object (group) are positioned at this display window of holding of this complex data items object (group).
Among the present invention, this partition curve is a normal curve of distribution.
Among the present invention, this display screen is a touch control screen.
The invention also discloses the display packing of object displacement on a kind of electronic installation screen, include the following step:
(A) read the hardware database of this electronic installation, obtain at least one Facility Column object (group) that desire shows, and it is shown in the display window of setting on the display screen of this electronic installation;
(B) set an animation time and an animation and carry out distance;
(C) set an animation number of times, mean allocation calculates animation interval time in this animation time;
(D) order according to this animation interval time and desire execution animation calculates an animation concluding time;
(E) calculate an allotment ratio according to this an animation concluding time and a partition curve;
(F) carry out distance calculation according to this allotment ratio and this animation and go out the displacement that desire is carried out this order animation;
(G) calculate renewal coordinate after this Facility Column object (group) displacement according to this displacement, and repaint in this display window according to this renewal coordinate this Facility Column object (group) after with displacement; And
(H) repeat step (D) to step (H), equal this animation number of times until the order of carrying out animation.
Among the present invention, step (A) comprises:
(A1) calculate the maximum indication range of this display window on this display screen according to the resolution of this display screen of this electronic installation;
(A2) calculate the length of holding of this Facility Column object (group) according to the maximum indication range of this display window;
(A3) set an initial coordinate of this Facility Column object (group); And
(A4) according to this origin coordinates this Facility Column object (group) is drawn in this display window.
Among the present invention, step (A2) more comprises:
(A21) the maximum indication range according to this display window calculates the initial position that this Facility Column object (group) is positioned at this display window.
Among the present invention, more comprise in the step (A3):
(A31) this origin coordinates of setting this Facility Column object (group) is this reference position.
Among the present invention, step (B) is that the length of holding of setting this Facility Column object (group) is carried out distance for this animation.
Among the present invention, this partition curve is a normal curve of distribution.
The beneficial effect that the present invention has: display packing of the present invention can make this complex data item object (group) when display window carries out displacement action, the animation display effect that presentation speed changes, and the present invention is according to the execution of per step animation of the animation implementation velocity variations apart from the control animation, so can be easy to control the velocity variations of animation, and can make this complex data items object (group) on the display screen of electronic installation when displacement action, can correct positioning on reposition and complete demonstration.
Description of drawings
Fig. 1 is the display screen of electronic installation of a preferred embodiment of the present invention and the synoptic diagram of display window;
Fig. 2 is the synoptic diagram that the data items object (group) of a preferred embodiment of the present invention is shown in display window;
Fig. 3 to Fig. 8 is the process flow diagram of a preferred embodiment of the present invention;
Fig. 9 is the curve map of the partition curve of a preferred embodiment of the present invention;
Figure 10 is the synoptic diagram that the Facility Column object (group) of another preferred embodiment of the present invention is shown in display window; And
Figure 11 to Figure 14 is the process flow diagram of another preferred embodiment of the present invention.
[figure number simple declaration]
10 display screens, 15 display windows
20 data items objects (group), 22 data items objects (group)
24 data items objects (group), 26 data items objects (group)
28 data items objects (group), 30 Facility Column objects (group)
Embodiment
Further understand and understanding for making architectural feature of the present invention and the effect reached had, cooperate detailed explanation, be described as follows in order to preferred embodiment and accompanying drawing:
Display packing of the present invention mainly applies to electronic installation, when its object (group) on the display screen of electronic installation carries out displacement action, but the animation display effect that presentation speed changes.Below be to enumerate embodiment to describe display packing of the present invention in detail.
See also Fig. 1, it is the display screen of electronic installation of a preferred embodiment of the present invention and the synoptic diagram of display window.As shown in the figure, the electronic installation that the present invention used has a display screen 10, display screen 10 has at least one display window 15, only has a display window 15 in this embodiment, only can not have the single display window but do not limit to display screen 10 of the present invention, its quantity is to decide according to design requirement.Display screen 10 of the present invention is the touch-sensitive display screen curtain.Display window 15 is used to show complex data items object (group).As Fig. 1 and shown in Figure 2, the display window 15 of this embodiment can show 5 data project objects (group) 20,22,24,26,28.The content of those data items objects (group) 20,22,24,26,28 is a literal, for example is news, meteorology and stock market's tendency etc., for user's reading of electronic installation.
See also Fig. 2, it is the synoptic diagram that the data items object (group) of a preferred embodiment of the present invention is shown in display window.Because display screen 10 of the present invention (consulting Fig. 1) is the touch-sensitive display screen curtain, so be available for users to by indicator, for example point or stylus, and arbitrary the data project object (group) in shown this complex data items object (group) 20,22,24,26,28 of towing display window 15, with this complex data items object (group) 20,22,24,26,28 of scrolling, to show that other data project object (group) is in display window 15.For instance, if the user as shown in Figure 2, when the first stroke data items object (group) 20 of towing display window 15 moves down, i.e. this shown complex data items object (group) 20,22,24,26,28 of scrolling display window 15 down, and other script of update displayed not data presented project object (group) read its content in display window 15 for the user.
The user is behind the first stroke data items object (group) 20 displacement actions that drag down and when decontroling, i.e. this complex data items object (group) 20,22,24,26,28 of scrolling downwards, the data items object (group) that allows other script not be shown in the display window 15 is shown in the display window 15.The process of this complex data items object (group) 20,22,24,26,28 of above-mentioned downward scrolling is to form animation.During these complex data items object (group) 20,22,24,26,28 displacement actions, meeting of the present invention shows animation with friction speed, and presents the animation with velocity variations.Below be to cooperate Fig. 2 and Fig. 3 to describe display packing of the present invention in detail.
See also Fig. 3, it is the process flow diagram of a preferred embodiment of the present invention.At first, carry out step (A) and read the hardware database (figure do not show) of electronic installation, to obtain the complex data items object (group) that desire shows, it comprises data items object (group) 20,22,24,26,28 shown in Figure 2, and is shown in the display window of setting on the display screen 10 of electronic installation 15.The detailed process of this step (A) will be elaborated to this flow process as shown in Figure 4 afterwards.
Shown in the step (B) of Fig. 3, when arbitrary the data project object (group) 20,22,24,26 or 28 in the towing data project object (group) 20,22,24,26,28 carried out displacement action when user's operating electronic devices and on the display window 15 of display screen 10, the present invention can calculate the towed speed of user's towing data project object (group).In this step, the user is when towing data project object (group) 20,22,24,26 or 28 carries out displacement action on display window 15, the operating system of electronic installation promptly can be sent the operation message of user on display window 15, operating system be corresponding user on display window 15 mode of operation and send this operation message, and notify user's towing data project object (group) 20,22,24,26 or 28 on display window 15 to carry out displacement action, calculate towed speed to calculate.
The detailed process that calculates towed speed in the above-mentioned steps (B) below cooperates Fig. 2 and Fig. 7 to describe the flow process that the present invention calculates towed speed in detail as shown in Figure 7.As shown in Figure 2, the user is after shown the first stroke data items object (group) 20 moves down on the towing display window 15 and decontrols in this embodiment.Because among this embodiment, the user is towing the first stroke data items object (group) 20, therefore following explanation is to describe with the operation of pulling the first stroke data items object (group) 20, only can not pull the first stroke data items object (group) 20 but do not limit to the user.The present invention calculates the method for towed speed, is first execution in step (B1), the record user begins to pull the first stroke data items object (group) 20 in the display window 15 of display screen 10 an initial position coordinate P1 and an initial time T 1.In addition, carry out step (B2), the record user stops to pull an end position coordinate P2 and a concluding time T2 of the first stroke data items object (group) 20 in the display window 15 of display screen 10.Then, shown in step (B3), calculate the towed speed V1 that the user pulls the first stroke data items object (group) 20 according to initial position coordinate P1, end position coordinate P2, zero-time T1 and concluding time T2, so can calculate the towed speed V1 that the user pulls the first stroke data items object (group) 20.Towed speed V1 is shown in following equation:
Towed speed V1=(end position coordinate P2-initial position coordinate P1)/(T2 concluding time-T1 zero-time)
Finish above-mentioned steps (B) and calculate after the towed speed V1, the execution in step that continues (C) is set an animation time TA, and calculates an animation according to towed speed V1 and animation time TA and carry out distance D A.This step (C) is to calculate the execution animation process, total distance of this complex data items object (group) displacement.The present invention can set the time T A that carries out animation, carries out distance D A so the product of towed speed V1 and animation time TA is animation, and it is shown in following equation:
Animation is carried out distance D A=towed speed V1* animation time TA
Finish above-mentioned steps (C) and calculate animation and carry out after the distance D A, the execution in step that continues (D) is set an animation number of times TN, and mean allocation is in animation time TA, and calculates animation TS interval time.Animation TS interval time is shown in following equation:
Animation TS=interval time animation time TA/ animation number of times TN
As above shown in the equation, this step (D) is the time that calculates the per step animation of execution of whole animation process.Just with animation time TA mean allocation in per step animation, the time of promptly carrying out per step animation is all identical.For instance, be 10 if set animation number of times TN, and animation time TA is 3 seconds, be all 0.3 second so carry out the first step, the time of second step to the tenth step animation.
Finish step (D) and calculate after animation TS interval time, continue and carry out step (E), the order of carrying out animation according to animation TS interval time and desire calculates an animation concluding time TDi (i=1~TN).Just calculate the concluding time of carrying out per step animation, for example carry out first step animation, the second step animation ..., concluding time of the tenth step animation, the animation concluding time, TDi was shown in following equation:
Animation concluding time TDi=animation TS* interval time carries out the order of animation, and (1~TN) calculates after the animation concluding time TDi, carries out step (F), calculates an allotment ratio Ri (i=1~TN) according to an animation concluding time TDi and a partition curve.Owing to will present the animation that friction speed changes, so under animation speed changes, the distance of carrying out the animation institute displacement of different order also can be different, for example the animation velocity of displacement is by accelerating slowly, promptly comparatively the velocity of displacement of first step animation is fast for the velocity of displacement of the second step animation, so the shift length of the second step animation is then greater than the shift length of first step animation.This step promptly calculates the allotment ratio Ri of different order animations according to velocity variations, to calculate shift length at next step according to allotment ratio Ri.
The mode of dispensed ratio R i of the present invention is a certain position of integration partition curve, obtaining the area under the curve of corresponding this position, and as allotment ratio Ri.The summation of this area under the curve is 1.Specifically, be with animation concluding time TDi as the position that is positioned at partition curve, and the integral equation of this curve of substitution, and calculate area under the curve, and calculate allotment ratio Ri with respect to this position.Above-mentioned partition curve can be a normal curve of distribution (Normal Distribution).The type of above-mentioned partition curve can be different and different according to the demand that the design animation speed changes, and the integral equation of area under the curve also can be different according to the difference of partition curve.As shown in Figure 9, if the velocity variations of desire design animation is fast to slow for arriving slowly, then can adopt first curve of dotted line.If the velocity variations of desire design animation is near slowly, then can adopt second curve of solid line.
Finish above-mentioned steps (F) and calculate after the allotment ratio Ri, carry out step (G), carry out distance D A according to allotment ratio Ri and animation and calculate desire and carry out a displacement DAi of this order animation (i=1~TN).This step is to calculate the displacement DAi that carries out different order animations, promptly calculates each and goes on foot the shift length that animation moved, and it can be different according to the animation speed variation.Displacement DAi is shown in following equation:
Displacement DAi=allotment ratio Ri* animation is carried out distance D A
Finish above-mentioned steps (G) and calculate after the displacement DAi, execution in step (H), calculate renewal coordinate after this complex data items object (group) displacement according to displacement DAi, and repaint in display window 15 according to upgrading coordinate this complex data items object (group) after with displacement, to be shown in display window 15.This step (H) is the renewal coordinate that calculates this complex data items object (group), the new coordinate of this complex data items object (group) just, and foundation renewal coordinate judges that those data project objects (group) are positioned at display window 15, and the drawing letter formula of executive operating system, and repaint this complex data items object (group) in display window 15.Above-mentioned drawing letter formula is general existing technology, promptly no longer describes in detail at this.
Finish above-mentioned steps (H), promptly finish a step animation, such as first step animation.Continue shown in step (I), judge whether animation is finished, this step judges promptly whether the order of carrying out animation equals animation number of times TN.In this embodiment, animation number of times TN is set at 10, so promptly judge whether to finish the tenth step animation, promptly do not repeat above-mentioned steps (E) to step (I) if finish, and calculate animation concluding time TDi (step e), allotment ratio Ri (step F), the displacement DAi (step G) that carries out next step animation and upgrade coordinate (step H), equal animation number of times TN until the order of carrying out animation.If judge and to have finished animation, then operating system promptly can wait for the user next time on display window 15 towing data project object (group) carry out displacement action and send the operation message, to carry out display packing of the present invention once more.
The present invention carries out above-mentioned all processing steps, all can carry out by the processor of electronic installation, other hardware circuit perhaps is set carries out above-mentioned treatment step, skilled personnel can learn that its embodiment is a lot of, do not utilize which kind of hardware circuit to carry out display packing of the present invention so the present invention does not limit to.
See also Fig. 4, it is the detail flowchart that the present invention carries out step (A), below is that this flow process is elaborated.Carry out step (A) and show that these several data project objects (group) that read are in display window 15, be earlier shown in step (A1), according to the resolution of the display screen 10 of electronic installation, and calculate the maximum indication range of the display window 15 on the display screen 10.This step (A1) is the sum that calculates the pixel in the display window 15 according to the resolution of display screen 10, to calculate the maximum indication range of display window 15.Then, carry out step (A2) and hold height DI (consulting Fig. 2) according to what the maximum indication range of display window 15 calculated each data project object (group), to define the scope that each data project object (group) is positioned at display window 15, i.e. the scope of each data project object (group) displaying contents.As shown in Figure 2, each data items object (group) hold the height DI be identical.In this embodiment, estimate that display window 15 shows five data project objects (group), so calculate the highly DI that holds of each data project object (group) according to the maximum indication range of display window 15, hold height DI to allow each data project object (group) under limited indication range, have maximum, and can completely be shown in the display window 15.
Finish above-mentioned steps (A2) and calculate the holding after the height DI of each data project object (group), carry out step (A3) and calculate the complex coordinates of this complex data items object (group) according to holding height DI.Then, carry out step (A4), this complex data items object (group) is drawn in the display window 15 according to this complex coordinates.This step is to judge that according to this complex coordinates of being calculated those data items objects (group) are positioned at the maximum indication range of display window 15, and then being shown in the display window 15 of general.Carry out above-mentioned steps (A1) to step (A4) afterwards, promptly as shown in Figure 2, display window 15 complete video data project objects (group) 20,22,24,26,28.
See also Fig. 5, it is the detail flowchart of step of the present invention (A2).Step (A2) more comprises step (A21) and step (A22), and step (A21) calculates the initial position PS (consulting Fig. 2) that the first stroke data items object (group) 20 is positioned at display window 15 according to the maximum indication range of display window 15.It is reference position PS in an initial coordinate of display window 15 that step (A22) is set the first stroke data items object (group) 20, and so the first stroke data items object (group) 20 promptly can be presented at the reference position PS of display window 15.
See also Fig. 6, it is the detail flowchart of step of the present invention (A3).The present invention carries out the step (A3) of Fig. 4, foundation is held when highly DI calculates this complex coordinates of this complex data items object (group), be more can shown in step (A31), to be positioned at the reference position PS of display window 15 and to hold this complex coordinates that height DI calculates all the other these complex data items objects (group) according to the first stroke data items object (group) 20.
In addition, the present invention is in order to ensure after carrying out animation, and the follow-up origin coordinates that is shown in the first stroke data items object (group) in the display window 15 still is positioned at reference position PS.Therefore, as shown in Figure 8, step of the present invention (C) more comprises step (C1).After step (C) calculates animation and carries out distance D A, more carry out step (C1), according to the reference position PS correction animation execution distance D A that height DI and the first stroke data items object (group) are positioned at display window 15 that holds of data items object (group).So, after can guaranteeing to carry out animation, the follow-up the first stroke data items object (group) that is shown in the display window 15 still is positioned at reference position PS.
The present invention except the displacement action that can apply to video data project object (group), but also Facility Column (Tool Bar) object (group) on the display screen 10 of display electronics assemblies in the displacement animation of the process of hiding.Below be to cooperate embodiment that the method for show tools row object of the present invention (group) displacement action is described.See also Figure 10, display window 15 also shows a Facility Column object (group) 30 except showing data items object (group) 20,22,24,26.Facility Column object (group) 30 is to move toward the right of display window 15 when hiding.The present invention at Facility Column object (group) but the animation that 30 displacement processes are display speeds to be changed.Below be to cooperate Figure 10 and Figure 11 to describe the method for show tools row object of the present invention (group) 30 displacement actions in detail.
See also Figure 11, it is the process flow diagram of another preferred embodiment of the present invention.As shown in the figure, the method of show tools row object of the present invention (group) 30 displacement actions, at first execution in step (A) reads the hardware database of electronic installation, obtains at least one Facility Column object (group) 30 that desire shows, and is shown in the display window of setting on the display screen 10 of electronic installation 15.The detailed process of this step (A) will be elaborated to this flow process as shown in figure 12 afterwards.In this embodiment, when Facility Column object (group) 30 was hidden, Facility Column object (group) the 30th can move toward the right of display window 15, and the present invention's this moment can show the animation with velocity variations.Display packing of the present invention is execution in step (B), set animation time TA and animation and carry out distance D A, because the displacement of Facility Column object (group) 30 is held length T W for it, so be that the length T W that holds of setting means row object (group) 30 is animation execution distance D A.Afterwards, execution in step (C) is set animation number of times TN, and mean allocation and calculates animation TS interval time in animation time TA, promptly calculate the execution time of per step animation.Continue, execution in step (D), the order of carrying out animation according to animation TS interval time and desire calculates animation concluding time TDi (i=1~TN).Just calculate the concluding time of carrying out per step animation.
Calculate after the above-mentioned animation concluding time TDi, being execution in step (E) calculates allotment ratio Ri (i=1~TN) according to animation concluding time TDi and partition curve.Afterwards, execution in step (F) is carried out distance D A according to allotment ratio Ri and animation and is calculated desire and carry out the displacement DAi of this order animation (i=1~TN).This step (F) is to calculate the displacement DAi that carries out different order animations, the distance that promptly calculates asynchronous animation and moved, and it can change and different according to animation speed.Continue, execution in step (G) calculates renewal coordinate after Facility Column object (group) 30 displacements according to displacement DAi, and repaints in display window 15 according to upgrading the Facility Column object (group) 30 of coordinate after with displacement.So, promptly finish a step animation.
Finishing above-mentioned steps (G) afterwards, is to continue to carry out step (H), judges whether animation is finished, and this step judges promptly whether the order of carrying out animation equals animation number of times TN.Do not finish animation if judge, promptly repeat above-mentioned steps (D) to step (H), and calculate the renewal coordinate (step G) of the animation concluding time TDi (step D), the allotment ratio Ri (step e) that carry out next step animation, displacement DAi (step F) and Facility Column object (group) 30, equal animation number of times TN until the order of execution animation.If judge and to have finished animation because Facility Column object (group) 30 is hiding, so data items object (group) in the past the direction of Facility Column object (group) 30 move, and show more multidata project object (group).Shown in step (I), upgrade the reference position of the first stroke data items object (group) 20 shown in Figure 10, also recomputate simultaneously the renewal coordinate of other data project object (group), and repaint this complex data items object (group) in display window 15 according to upgrading coordinate.
See also Figure 12, it is the detail flowchart that this embodiment carries out step (A).The step (A) of carrying out Figure 11 shows that Facility Column object (group) 30 who is read is in display window 15, be earlier shown in step (A1), according to the resolution of the display screen 10 of electronic installation, and calculate the maximum indication range of the display window 15 on the display screen 10.Afterwards, execution in step (A2) is held length T W (consulting Figure 10) according to what the maximum indication range of display window 15 calculated Facility Column object (group) 30, and promptly defining tool row object (group) 30 can hold the scope of instrument object.Then, carry out the origin coordinates of step (A3) setting means row objects (group) 30, this step (A3) is the initial position that setting means row object (group) 30 is shown on the display window 15.Then, carrying out step (A4) is drawn on Facility Column object (group) 30 in the display window 15 according to origin coordinates.After finishing above-mentioned steps, promptly as shown in figure 10, display window 15 shows Facility Column object (group) 30.
See also Figure 13, it is the detail flowchart of the step (A2) of this embodiment.Step (A2) more comprises step (A21), and step (A21) calculates the reference position PS (consulting Figure 10) that Facility Column object (group) 30 is positioned at display window 15 according to the maximum indication range of display window 15.So, Facility Column object (group) 30 promptly can be presented at the reference position PS of display window 15.
See also Figure 14, it is the detail flowchart of the step (A3) of this embodiment.The present invention carries out the step (A3) of Figure 12, during the origin coordinates of setting means row object (group) 30, be more can be shown in step (A31), the origin coordinates of setting means row object (group) 30 be reference position PS, to allow Facility Column object (group) 30 be shown in the reference position PS of display window 15.
In sum, the display packing of object displacement on the electronic installation screen of the present invention is to be used for when object (group) carries out displacement action, the animation that display speed changes, and display packing of the present invention mainly is the displacement that calculates each step animation; Then, calculate renewal coordinate after object (group) displacement, and repaint in the display window that the object (group) after the displacement sets on the display screen of electronic installation according to upgrading coordinate according to displacement.So, when making object (group) carry out displacement action, get final product the animation display effect that presentation speed changes.In addition, because the present invention is the maximum indication range demonstration object (group) according to display window, and the reference position of setting the first stroke object (group) that is shown in display window, so can guarantee that object (group) is complete is shown in the display window, watches complete object (group) to guarantee the user.
In sum, it only is a preferred embodiment of the present invention, be not to be used for limiting scope of the invention process, all equalizations of doing according to the described shape of claim scope of the present invention, structure, feature and spirit change and modify, and all should be included in the claim scope of the present invention.

Claims (14)

1. the display packing of object displacement on the electronic installation screen is characterized in that comprising the following step:
(A) read the hardware database of this electronic installation, obtain the complex data items object (group) that desire shows, and it is shown in the display window of setting on the display screen of this electronic installation;
(B) user pulls arbitrary the data project object (group) in this complex data items object (group) on this display window, when carrying out displacement action, calculates the towed speed that the user pulls this data project object (group);
(C) set an animation time, and calculate animation execution distance according to this towed speed and this animation time;
(D) set an animation number of times, mean allocation calculates animation interval time in this animation time;
(E) order according to this animation interval time and desire execution animation calculates an animation concluding time;
(F) calculate an allotment ratio according to this an animation concluding time and a partition curve;
(G) carry out distance calculation according to this allotment ratio and this animation and go out the displacement that desire is carried out this order animation;
(H) calculate renewal coordinate after this complex data items object (group) displacement according to this displacement, and upgrade coordinates this complex data items object (group) after with displacement according to those and repaint in this display window; And
(I) repeat step (E) to step (I), equal this animation number of times until the order of carrying out animation.
2. display packing as claimed in claim 1 is characterized in that step (A) comprises:
(A1) calculate the maximum indication range of this display window on this display screen according to the resolution of this display screen of this electronic installation;
(A2) the maximum indication range according to this display window calculates holding highly of each data project object (group);
(A3) according to holding the complex coordinates that altitude gauge is calculated this complex data items object (group); And
(A4) according to this complex coordinates this complex data items object (group) is drawn in this display window.
3. display packing as claimed in claim 2 is characterized in that more comprising in the step (A2):
(A21) the maximum indication range according to this display window calculates the initial position that the first stroke data items object (group) is positioned at this display window; And
(A22) an initial coordinate of setting this first stroke data items object (group) is this reference position.
4. display packing as claimed in claim 2 is characterized in that more comprising in the step (A3):
(A31) be positioned at the reference position of this display window according to the first stroke data items object (group) and this holds this complex coordinates that altitude gauge is calculated all the other these complex data items objects (group).
5. display packing as claimed in claim 1 is characterized in that more comprising in the step (B):
(B1) write down the user begins to pull this data project object (group) in this display window an initial position coordinate and the initial time;
(B2) write down the user stops to pull this data project object (group) in this display window an end position coordinate and the concluding time; And
(B3) calculate this towed speed that the user pulls this data project object (group) according to this initial position coordinate, this end position coordinate, this zero-time and this concluding time.
6. display packing as claimed in claim 1 is characterized in that more comprising in the step (C):
(C1) according to this animation of the initial position correction execution distance that height and the first stroke data items object (group) are positioned at this display window of holding of this complex data items object (group).
7. display packing as claimed in claim 1 is characterized in that this partition curve is a normal curve of distribution.
8. as each described display packing of claim 1 to 7, it is characterized in that this display screen is a touch control screen.
9. the display packing of object displacement on the electronic installation screen is characterized in that including the following step:
(A) read the hardware database of this electronic installation, obtain at least one Facility Column object (group) that desire shows, and it is shown in the display window of setting on the display screen of this electronic installation;
(B) set an animation time and an animation and carry out distance;
(C) set an animation number of times, mean allocation calculates animation interval time in this animation time;
(D) order according to this animation interval time and desire execution animation calculates an animation concluding time;
(E) calculate an allotment ratio according to this an animation concluding time and a partition curve;
(F) carry out distance calculation according to this allotment ratio and this animation and go out the displacement that desire is carried out this order animation;
(G) calculate renewal coordinate after this Facility Column object (group) displacement according to this displacement, and repaint in this display window according to this renewal coordinate this Facility Column object (group) after with displacement; And
(H) repeat step (D) to step (H), equal this animation number of times until the order of carrying out animation.
10. display packing as claimed in claim 9 is characterized in that step (A) comprises:
(A1) calculate the maximum indication range of this display window on this display screen according to the resolution of this display screen of this electronic installation;
(A2) calculate the length of holding of this Facility Column object (group) according to the maximum indication range of this display window;
(A3) set an initial coordinate of this Facility Column object (group); And
(A4) according to this origin coordinates this Facility Column object (group) is drawn in this display window.
11. display packing as claimed in claim 10 is characterized in that step (A2) more comprises:
(A21) the maximum indication range according to this display window calculates the initial position that this Facility Column object (group) is positioned at this display window.
12. display packing as claimed in claim 11 is characterized in that more comprising in the step (A3):
(A31) this origin coordinates of setting this Facility Column object (group) is this reference position.
13. display packing as claimed in claim 9 is characterized in that step (B), is that the length of holding of setting this Facility Column object (group) is carried out distance for this animation.
14. display packing as claimed in claim 9 is characterized in that this partition curve is a normal curve of distribution.
CN2010101235218A 2010-02-26 2010-02-26 Display method for article displacement on screen of electronic device Pending CN102169404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101235218A CN102169404A (en) 2010-02-26 2010-02-26 Display method for article displacement on screen of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101235218A CN102169404A (en) 2010-02-26 2010-02-26 Display method for article displacement on screen of electronic device

Publications (1)

Publication Number Publication Date
CN102169404A true CN102169404A (en) 2011-08-31

Family

ID=44490581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101235218A Pending CN102169404A (en) 2010-02-26 2010-02-26 Display method for article displacement on screen of electronic device

Country Status (1)

Country Link
CN (1) CN102169404A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257798A (en) * 2012-02-17 2013-08-21 阿里巴巴集团控股有限公司 Window sliding method and window sliding device
CN103870096A (en) * 2012-12-12 2014-06-18 联想(北京)有限公司 Information processing method and terminal equipment
CN103871023A (en) * 2014-03-07 2014-06-18 广州金山网络科技有限公司 Image moving method and device
CN104063167A (en) * 2013-03-19 2014-09-24 卡西欧计算机株式会社 Graph display apparatus and graph display method
CN104281374A (en) * 2013-07-01 2015-01-14 博雅网络游戏开发(深圳)有限公司 Method and system for achieving sliding list module
CN105678123A (en) * 2014-11-18 2016-06-15 联发科技(新加坡)私人有限公司 Equipment unlocking method and device
CN108446118A (en) * 2018-04-12 2018-08-24 珠海横琴盛达兆业科技投资有限公司 A method of shopping cart parabola animation is added to based on wechat small routine platform
CN113076495A (en) * 2021-03-31 2021-07-06 维沃移动通信有限公司 Content display method, content display device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101336407A (en) * 2005-12-08 2008-12-31 苹果公司 List scrolling in response to moving contact over list of index symbols
CN101371217A (en) * 2005-12-23 2009-02-18 苹果公司 Scrolling list with floating adjacent index symbols
CN101501622A (en) * 2006-08-28 2009-08-05 苹果公司 Method and apparatus for multi-mode traversal of lists
CN101578577A (en) * 2007-01-07 2009-11-11 苹果公司 Application programming interfaces for gesture operations

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101336407A (en) * 2005-12-08 2008-12-31 苹果公司 List scrolling in response to moving contact over list of index symbols
CN101371217A (en) * 2005-12-23 2009-02-18 苹果公司 Scrolling list with floating adjacent index symbols
CN101501622A (en) * 2006-08-28 2009-08-05 苹果公司 Method and apparatus for multi-mode traversal of lists
CN101578577A (en) * 2007-01-07 2009-11-11 苹果公司 Application programming interfaces for gesture operations

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257798B (en) * 2012-02-17 2017-05-10 阿里巴巴集团控股有限公司 Window sliding method and window sliding device
CN103257798A (en) * 2012-02-17 2013-08-21 阿里巴巴集团控股有限公司 Window sliding method and window sliding device
CN103870096A (en) * 2012-12-12 2014-06-18 联想(北京)有限公司 Information processing method and terminal equipment
CN103870096B (en) * 2012-12-12 2017-06-27 联想(北京)有限公司 Information processing method and terminal device
CN104063167A (en) * 2013-03-19 2014-09-24 卡西欧计算机株式会社 Graph display apparatus and graph display method
CN104281374A (en) * 2013-07-01 2015-01-14 博雅网络游戏开发(深圳)有限公司 Method and system for achieving sliding list module
CN104281374B (en) * 2013-07-01 2018-11-13 博雅网络游戏开发(深圳)有限公司 The method and system of sliding list component
CN103871023A (en) * 2014-03-07 2014-06-18 广州金山网络科技有限公司 Image moving method and device
CN103871023B (en) * 2014-03-07 2017-12-01 广州猎豹网络科技有限公司 A kind of image moving method and device
CN105678123A (en) * 2014-11-18 2016-06-15 联发科技(新加坡)私人有限公司 Equipment unlocking method and device
US10121298B2 (en) 2014-11-18 2018-11-06 Mediatek Singapore Pte. Ltd. Unlocking method and device applied the same
CN105678123B (en) * 2014-11-18 2019-03-08 联发科技(新加坡)私人有限公司 A kind of equipment unlocking method and device
CN108446118A (en) * 2018-04-12 2018-08-24 珠海横琴盛达兆业科技投资有限公司 A method of shopping cart parabola animation is added to based on wechat small routine platform
CN113076495A (en) * 2021-03-31 2021-07-06 维沃移动通信有限公司 Content display method, content display device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102169404A (en) Display method for article displacement on screen of electronic device
US11644966B2 (en) Coordination of static backgrounds and rubberbanding
KR102373116B1 (en) Systems, methods, and graphical user interfaces for interacting with augmented and virtual reality environments
CN101382868B (en) Information display device
US9898180B2 (en) Flexible touch-based scrolling
AU2016276029B2 (en) Devices and methods for processing touch inputs
EP2695143B1 (en) Image processing apparatus, display control method and program
US10049625B1 (en) Context-based rendering
US20080256468A1 (en) Method and apparatus for displaying a user interface on multiple devices simultaneously
US10345430B2 (en) Floor determining method and system, and related device
US10839572B2 (en) Contextual virtual reality interaction
US9513795B2 (en) System and method for graphic object management in a large-display area computing device
CN101963859A (en) Method for operation to a multi-touch environment screen by using a touchpad
WO2013029162A1 (en) Detecting pointing gestures iν a three-dimensional graphical user interface
CN102508572A (en) Touch gesture notification dismissal techniques
CN103309437A (en) Buffering mechanism for camera-based gesturing
CN104216616A (en) Interactive processing method and system of display interface
CN102929415A (en) Local monitor and mouse display synchronization method for local monitor and remote virtual machine
CN106095139B (en) A method of it promoting lines in projecting interactive system and draws speed
US8749558B2 (en) Method for displaying displacement of object on display of electronic device
CN102314287A (en) Interactive display system and method
CN113052078A (en) Aerial writing track recognition method and device, storage medium and electronic equipment
CN103593123A (en) Method of searching for playback location of multimedia application and electronic device thereof
CN105988656A (en) Interface information display system and method
CN109804340B (en) Method and device for page display, graphical user interface and mobile 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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110831