WO2013152656A1 - 一种绘制滑动轨迹的方法及移动终端 - Google Patents
一种绘制滑动轨迹的方法及移动终端 Download PDFInfo
- Publication number
- WO2013152656A1 WO2013152656A1 PCT/CN2013/072697 CN2013072697W WO2013152656A1 WO 2013152656 A1 WO2013152656 A1 WO 2013152656A1 CN 2013072697 W CN2013072697 W CN 2013072697W WO 2013152656 A1 WO2013152656 A1 WO 2013152656A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sliding
- time
- total
- current
- percentage
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/203—Drawing of straight lines or curves
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/80—Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method for drawing a sliding track and a mobile terminal. Background technique
- the existing mobile intelligent operating system provides an API (Application Programming Interface) to draw a sliding track through system controls, thereby implementing a basic sliding operation.
- API Application Programming Interface
- embodiments of the present invention provide a method for drawing a sliding track and a mobile terminal.
- the technical solution is as follows:
- a method of drawing a sliding trajectory including:
- a mobile terminal including:
- a first acquiring module configured to acquire a total sliding distance and a total sliding time from a sliding start position to a sliding end position; draw a recording module, draw a sliding track in the current frame image at the sliding starting position, and record the current The current time at which the frame image is drawn;
- a second acquiring module configured to acquire a drawing time from a drawing start time to a current time at which the current frame image is drawn;
- a determining module configured to determine whether the drawing time is greater than or equal to the total sliding time
- a first processing module configured to: when the determining module determines that the drawing time is less than the total sliding time, obtain a current sliding distance according to the drawing time, the total sliding time, and the total sliding distance, Returning to the drawing record module, the sum of the sliding start position and the current sliding distance as the sliding starting position;
- a second processing module configured to: when the determining module determines that the drawing time is greater than or equal to the total sliding time, draw a sliding track in the last frame image at the sliding end position.
- the total sliding distance and the total sliding time are obtained, the sliding track in the current frame image is drawn at the sliding starting position, and the current time at which the current frame image is drawn is recorded, and the image is drawn from the drawing start time to the current frame image.
- the drawing time of the current time when the drawing time is less than the total sliding time, the current sliding distance is obtained, and the sum of the sliding starting position and the current sliding distance is taken as the sliding starting position, and the subsequent frame image is continuously executed until the drawing time
- the sliding track in the last frame image is drawn at the sliding end position when greater than or equal to the total sliding time; the drawing time and the sliding behavior in this embodiment can be customized after comparing the method of implementing sliding by the system control Obtained by the mobile terminal, a variety of sliding interactions can be implemented, thereby improving the user experience.
- Embodiment 1 is a flowchart of an embodiment of a method for drawing a sliding track according to Embodiment 1 of the present invention
- FIG. 2 is a flowchart of an embodiment of a method for drawing a sliding track according to Embodiment 2 of the present invention
- FIG. 3 is a schematic diagram showing a relationship between a current sliding distance and a drawing time according to Embodiment 2 of the present invention.
- FIG. 4 is a schematic diagram of a first structure of a mobile terminal according to Embodiment 3 of the present invention
- FIG. 5 is a second schematic structural diagram of a mobile terminal according to Embodiment 3 of the present invention.
- FIG. 6 is a schematic diagram of a third structure of a mobile terminal according to Embodiment 3 of the present invention.
- FIG. 7 is a schematic structural diagram of a mobile terminal according to Embodiment 4 of the present invention. detailed description
- Embodiments of the present invention provide a method for drawing a sliding track and a mobile terminal.
- FIG. 1 is a flowchart of a method for drawing a sliding track according to Embodiment 1 of the present invention.
- the execution body of the method may be a mobile terminal, specifically a tablet computer or a mobile phone, but It is not limited to this and will not be described here.
- the method for drawing a sliding track includes:
- S101 Acquire a total sliding distance and a total sliding time from a sliding start position to a sliding end position.
- the obtaining the current sliding distance according to the drawing time, the total sliding time, and the total sliding distance includes:
- the generating the inertia percentage according to the drawing time and the total sliding time comprises:
- the percentage of inertia is obtained according to the percentage of drawing, which is specifically:
- the obtaining the total sliding distance and the total sliding time from the sliding starting position to the sliding ending position comprises: acquiring a total sliding distance and a total sliding time of the user sliding from the sliding starting position to the sliding ending position.
- the obtaining the total sliding distance and the total sliding time from the sliding starting position to the sliding ending position comprises: acquiring a total sliding distance and a total sliding time preset from the sliding starting position to the sliding ending position of the system.
- the total sliding distance and the total sliding time are first obtained, the sliding track in the current frame image is drawn at the sliding starting position, and the current time at which the current frame image is drawn is recorded, and the starting time is drawn from the drawing start time to the The current drawing time of the current frame image is completed; when the drawing time is less than the total sliding time, the current sliding distance is obtained, and the sum of the sliding starting position and the current sliding distance is used as the sliding starting position, and the subsequent frame image is cyclically executed.
- FIG. 2 is a flowchart of a method for drawing a sliding trajectory according to Embodiment 2 of the present invention.
- the execution body of the method may be a mobile terminal, specifically a tablet computer or a mobile phone, but It is not limited to this and will not be described here.
- the method for drawing a sliding track includes:
- the mobile terminal acquires the total sliding distance and the total sliding time from the sliding start position to the sliding end position.
- the mobile terminal may acquire the total sliding distance and the total sliding time of the user sliding from the sliding start position to the sliding end position; or when the mobile terminal When the system needs to play an animation, the mobile terminal can acquire the total sliding distance and the total sliding time preset from the sliding start position to the sliding end position of the system.
- the sliding behavior of the user on the touch screen interface of the mobile terminal can be customized, which is not specifically limited in this embodiment.
- the mobile terminal may initialize the sliding distance calculator by using the sliding distance and the sliding time as parameters, thereby obtaining the total sliding distance and the total sliding time from the sliding starting position to the sliding end position by the sliding distance calculator;
- the sliding distance calculator can be implemented by a logic program.
- S202 The mobile terminal draws a sliding track in the current frame image at the sliding start position, and records a current time when the current frame image is drawn.
- the mobile terminal performs image drawing according to the frame. Specifically, when the user starts to slide or the system plays a certain animation, the sliding distance calculator of the mobile terminal is started, and the sliding distance calculator sends a drawing to the drawing thread of the user interface of the mobile terminal to start drawing. The message, the drawing thread of the user interface starts to draw the image according to the frame after receiving the start drawing message.
- the mobile terminal starts to draw a sliding track in the first frame image at the sliding start position, and the drawing start time is starttime (for example: February 20, 2012, 14:12:39, 289 milliseconds).
- the current time currenttime at which the first frame image is drawn is recorded (for example: February 20, 2012, 14:12:39, 389 milliseconds).
- the drawing start time of the first frame image may be consistent with the sliding start time or the time difference between the drawing start time and the sliding start time of the first frame image may be shortened as soon as possible, so as to generate a sliding operation as soon as possible Draw a sliding track to reduce the drawing delay of the sliding track.
- the mobile terminal performs an operation of drawing a sliding track in the current frame image at the sliding start position, thereby realizing the drawing of the first frame image.
- the start time is consistent with the start of the slide.
- S203 The mobile terminal acquires a drawing time from a drawing start time to a current time at which the current frame image is drawn, and determines whether the drawing time is greater than or equal to the total sliding time. If no, execute S204; , execute S205.
- the mobile terminal invokes an interface function of the sliding distance calculator to obtain a current sliding distance.
- the sliding distance calculator obtains the drawing time according to the difference between the drawing start time starttime and the current time current time of the current frame image drawing, that is, the drawing time from the starttime drawing to the current time, which may also be called from starttime to currenttime. Sliding time; determining whether the drawing time is greater than or equal to the total sliding time, and performing corresponding processing according to the judgment result.
- the mobile terminal acquires a current sliding distance according to the drawing time, the total sliding time, and the total sliding distance, and uses a sum of the sliding starting position and the current sliding distance as the sliding starting position. Go back to step S202.
- the sliding distance calculator of the mobile terminal acquires the current sliding distance according to the drawing time, the total sliding time, and the total sliding distance.
- the sliding distance calculator of the mobile terminal may generate a current sliding distance according to formulas (1) and (2);
- Drawing percentage drawing time / total sliding time (1 )
- Current sliding distance total sliding distance * drawing percentage (2) Since the image drawing process and the current sliding distance calculation process have time consumption, in order to make the sliding operation smoother and more realistic
- the embodiment adds an inertia formula in the process of calculating the current sliding distance to make the sliding operation smoother and more realistic.
- the mobile terminal generates an inertia percentage according to the drawing time and the total sliding time;
- the mobile terminal multiplies the inertia percentage by the total sliding distance to obtain a current sliding distance.
- the sliding distance calculator of the mobile terminal generates an inertia percentage according to the drawing time and the total sliding time according to formula (1) and formula (3); the sliding distance calculator is based on the sliding total distance and the inertia The percentage generates the current sliding distance according to formula (4), which is:
- Drawing percentage drawing time / total sliding time (1 )
- Inertia percentage (drawing percentage -1) 2 * (2 * drawing percentage -1) +1 (3)
- Current sliding distance total sliding distance * percentage of inertia (4)
- the sliding track in the second frame image is drawn
- the sliding track in the first frame image is erased and then the second frame image is drawn, and the drawing process of the other frame images is also the same, that is, when the current frame image is drawn, Draws only after the sliding trajectory of the previous frame image.
- the sliding trajectories in the subsequent frame images are sequentially drawn until the drawing time is greater than or equal to the total sliding time.
- FIG. 3 is a schematic diagram showing the relationship between the current sliding distance and the drawing time provided by Embodiment 2 of the present invention.
- the inertia percentage is less than 1; when the current sliding distance is equal to the sliding total distance, the inertia percentage is equal to 1; When the sliding distance is greater than the total sliding distance, the inertia percentage is greater than one.
- S205 The mobile terminal draws a sliding track in the last frame image at the sliding end position.
- the mobile terminal draws a sliding track in the last frame image at the sliding end position, and completes the entire drawing process of the sliding track.
- the total sliding distance and the total sliding time are first obtained, the sliding track in the current frame image is drawn at the sliding starting position, and the current time at which the current frame image is drawn is recorded, and the starting time is drawn from the drawing start time to the The current drawing time of the current frame image is completed; when the drawing time is less than the total sliding time, the current sliding distance is obtained, and the sum of the sliding starting position and the current sliding distance is used as the sliding starting position, and the subsequent frame image is cyclically executed.
- Draw until the drawing time is greater than or equal to the total sliding time, draw the sliding track in the last frame image at the sliding end position; compared with the method of implementing sliding by the system control, the drawing time and the sliding behavior in this embodiment Both can be customized and then acquired by the mobile terminal, which can realize various sliding interactions, thereby improving the user experience.
- FIG. 4 is a schematic diagram of a first structure of a mobile terminal according to Embodiment 3 of the present invention.
- the execution body of the method may be a mobile terminal, specifically a tablet computer or a mobile phone, but It is limited to this and will not be described here.
- the mobile terminal includes:
- the first obtaining module 401 is configured to acquire the total sliding distance and the total sliding time from the sliding start position to the sliding end position.
- the drawing record module 402 draws a sliding track in the current frame image at the sliding start position, and records the current time at which the current frame image is drawn.
- a second obtaining module 403 configured to acquire a drawing time from a drawing start time to a current time at which the current frame image is drawn;
- the determining module 404 is configured to determine whether the drawing time is greater than or equal to the total sliding time
- the first processing module 405 is configured to: when the determining module 404 determines that the drawing time is less than the total sliding time, obtain the current sliding distance according to the drawing time, the total sliding time, and the total sliding distance, and the sliding starting position The sum of the current sliding distance is returned to the drawing record module 402 as the sliding starting position;
- the second processing module 406 is configured to: when the determining module 404 determines that the drawing time is greater than or equal to the total sliding time, draw a sliding track in the last frame image at the sliding end position.
- the first processing module 405 includes: an inertia percentage generating unit 4051 and a current sliding distance generating unit 4052, as shown in FIG. 5,
- FIG. 5 is a second structure of a mobile terminal embodiment according to Embodiment 3 of the present invention.
- the inertia percentage generating unit 4051 is configured to generate an inertia percentage according to the drawing time and the total sliding time;
- the current sliding distance generating unit 4052 is configured to multiply the inertia percentage by the total sliding distance to obtain a current sliding distance.
- the inertia percentage generating unit 4051 includes:
- a first generating subunit configured to divide the drawing time by the total sliding time to obtain a drawing percentage
- FIG. 6 is a schematic diagram of a third structure of a mobile terminal according to Embodiment 3 of the present invention.
- the first obtaining module 401 includes:
- the first obtaining unit 4011 is configured to acquire a total sliding distance of the user from the sliding start position to the sliding end position. And the total time of the slide.
- the first obtaining module 401 includes:
- the second obtaining unit 4012 is configured to acquire a total sliding distance and a total sliding time preset from the sliding starting position to the sliding ending position of the system.
- the mobile terminal first obtains the total sliding distance and the total sliding time, draws a sliding track in the current frame image at the sliding starting position, records the current time when the current frame image is drawn, and obtains the starting time from the drawing. a drawing time of the current time at which the current frame image is drawn; obtaining a current sliding distance when the drawing time is less than the total sliding time, and using a sum of the sliding starting position and the current sliding distance as the sliding starting position, and performing a subsequent frame cyclically Drawing of the image, until the drawing time is greater than or equal to the total sliding time, drawing the sliding track in the last frame image at the sliding end position; comparing the drawing time in the embodiment with the method of implementing sliding by the system control
- the sliding behavior can be customized by the mobile terminal, and various sliding interactions can be realized, thereby improving the user experience.
- FIG. 7 is a schematic structural diagram of a mobile terminal with a touch-sensitive surface according to an embodiment of the present invention.
- the mobile terminal can be used to implement the selection provided in the foregoing embodiment.
- the method of the object Specifically:
- the mobile terminal 700 can include an RF (radio/0 Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a transmission module 170.
- the processor 180 includes one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 7 does not constitute a limitation of the mobile terminal, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
- the RF circuit 110 can be used for receiving and transmitting signals during the transmission or reception of information or during a call, in particular, after receiving the downlink information of the base station, it is processed by one or more processors 180; in addition, the uplink data transmission will be involved.
- the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and an LNA (Low Noise). Amplifier), duplexer, etc.
- RF circuitry 110 can also communicate with the network and other devices via wireless communication.
- the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mob i le communicat l/0n, Global Mobile Telecommunications System), GPRS (General Packet Rad I/O Service) Wireless Service), CDMA (Code Divisl/0n Multiple Access), WCDMA (Wideband Code Divisl/0n Multiple Access), LTE (Long Term Evolutl/0n, Long Term Evolution), Email , SMS (Short Messaging Service, Short Message Service), etc.
- GSM Global System of Mob i le communicat l/0n, Global Mobile Telecommunications System
- GPRS General Packet Rad I/O Service
- CDMA Code Divisl/0n Multiple Access
- WCDMA Wideband Code Divisl/0n Multiple Access
- LTE Long Term Evolutl/0n, Long Term Evolution
- Email Short Message Service
- the memory 120 can be used to store software programs and modules, such as software programs and modules corresponding to the mobile terminal in the third embodiment, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120. , such as the realization of the sliding track drawing.
- the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile terminal 700 (such as audio data, phone book, etc.) and the like.
- memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
- the input unit 130 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
- input unit 130 can include touch sensitive surface 131 as well as other input devices 132.
- Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 131 or on the touch-sensitive surface 131 The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
- the touch-sensitive surface 131 may include two portions of a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information
- the processor 180 is provided and can receive commands from the processor 180 and execute them.
- the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 130 can also include other input devices 132.
- other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
- Display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of mobile terminal 700, which can be constructed from graphics, text, icons, video, and any combination thereof.
- the display unit 140 may include a display panel 141.
- the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting DI/Ode), or the like.
- the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
- the touch-sensitive surface 131 and display Panel 141 is implemented as two separate components to implement input and input functions, but in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 to implement input and output functions.
- the mobile terminal 700 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the mobile terminal 700 moves to the ear. And / or backlight.
- the gravity acceleration sensor can detect the acceleration of each direction (usually three axes), and the magnitude and direction of gravity can be detected at rest.
- the mobile terminal 700 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
- the audio circuit 160, the speaker 161, and the microphone 162 provide an audio interface between the user and the mobile terminal 700.
- the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, sent to the mobile terminal 110 via the RF circuit 110, or the audio data is output to the memory 120 for further processing.
- the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the mobile terminal 700.
- the mobile terminal 700 can help the user to send and receive emails, browse web pages, access streaming media, etc. through the transmission module 170, which provides users with wireless or wired broadband Internet access.
- FIG. 7 shows the transmission module 170, it will be understood that it does not belong to the essential configuration of the mobile terminal 700, and may be omitted as needed within the scope of not changing the essence of the invention.
- the processor 180 is the control center of the mobile terminal 700, connecting various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
- the various functions and processing data of the mobile terminal 700 are executed to perform overall monitoring of the mobile phone.
- the processor 180 may include one or more processing cores.
- the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
- the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 180.
- the mobile terminal 700 further includes a power source 190 (such as a battery) for supplying power to various components.
- a power source 190 such as a battery
- the power source can be logically connected to the processor 180 through the power management system to manage functions such as charging, discharging, and power management through the power management system.
- Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
- the mobile terminal 700 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
- the display unit of the mobile terminal is a touch screen display
- the mobile terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be processed by one or more
- the execution of one or more programs includes instructions for performing the following operations:
- the memory of the mobile terminal further includes: An instruction: generating an inertia percentage according to the drawing time and the total sliding time;
- the memory of the mobile terminal further includes an instruction for performing the following operations:
- the percentage of inertia is obtained according to the percentage of drawing, which is specifically:
- Inertia Percentage (Drawing Percentage -1) 2 * (2*Drawing Percentage-1) +1.
- the memory of the mobile terminal further includes an instruction for performing the following operations:
- the total sliding distance and total sliding time of the user sliding from the sliding start position to the sliding end position are obtained.
- the memory of the mobile terminal further includes an instruction for performing the following operations:
- the mobile terminal provided by the embodiment first obtains the total sliding distance and the total sliding time, draws a sliding track in the current frame image at the sliding starting position, records the current time when the current frame image is drawn, and acquires the current time. Draw a drawing time from the start time to the current time at which the current frame image is drawn; when the drawing time is less than the total sliding time, the current sliding distance is obtained, and the sum of the sliding starting position and the current sliding distance is taken as the sliding starting position.
- Example 5 Since the inertia formula is added in the process of calculating the current sliding distance, the sliding operation realized by the mobile terminal is smoother and more realistic, and the user experience is improved.
- Example 5 Since the inertia formula is added in the process of calculating the current sliding distance, the sliding operation realized by the mobile terminal is smoother and more realistic, and the user experience is improved.
- the embodiment of the present invention provides a computer readable storage medium, which may be a computer readable storage medium included in the memory in the above embodiment, or may exist separately and not assembled into a mobile terminal.
- Computer readable storage medium stores one or more programs, the one or more programs being used by one or more processors to perform a method of processing an object, the method comprising:
- the memory of the mobile terminal further includes: An instruction: generating an inertia percentage according to the drawing time and the total sliding time;
- the memory of the mobile terminal further includes an instruction for performing the following operations:
- the percentage of inertia is obtained according to the percentage of drawing, which is specifically:
- Inertia Percentage (Drawing Percentage -1) 2 * (2*Drawing Percentage-1) +1.
- the memory of the mobile terminal further includes an instruction for performing the following operations: The total sliding distance and total sliding time of the user sliding from the sliding start position to the sliding end position are obtained.
- the memory of the mobile terminal further includes an instruction for performing the following operations:
- the computer readable storage medium provided by the embodiment of the present invention first obtains the total sliding distance and the total sliding time, draws a sliding track in the current frame image at the sliding starting position, records the current time when the current frame image is drawn, and acquires the current time. Draw a drawing time from the start time to the current time at which the current frame image is drawn; when the drawing time is less than the total sliding time, the current sliding distance is obtained, and the sum of the sliding starting position and the current sliding distance is taken as the sliding starting position.
- the drawing time and sliding behavior can be customized by the mobile terminal, and various sliding interactions can be realized, thereby improving the user experience.
- a graphical user interface is provided in an embodiment of the present invention, where the graphical user interface is used on a mobile terminal, and the mobile terminal includes a touch screen display, a memory, and one or more processes for executing one or more programs.
- the graphical user interface includes:
- the graphical user interface provided by the embodiment of the present invention first obtains the total sliding distance and the total sliding time, and draws a sliding track in the current frame image at the sliding starting position, and records the current time when the current frame image is drawn, and obtains the drawing from the drawing. a drawing time of the current time when the current frame image is drawn; when the drawing time is less than the total sliding time, the current sliding distance is obtained, and the sum of the sliding starting position and the current sliding distance is taken as the sliding starting position.
- the ring performs the drawing of the subsequent frame image until the drawing time is greater than or equal to the total sliding time, and the sliding track in the last frame image is drawn at the sliding end position; compared with the method for implementing sliding by the system control, in this embodiment
- the drawing time and the sliding behavior can be customized by the mobile terminal, and various sliding interactions can be realized, thereby improving the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
Claims
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/391,630 US20150070360A1 (en) | 2012-04-09 | 2013-03-15 | Method and mobile terminal for drawing sliding trace |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210101545.2 | 2012-04-09 | ||
CN201210101545.2A CN103365559B (zh) | 2012-04-09 | 2012-04-09 | 一种绘制滑动轨迹的方法及移动终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013152656A1 true WO2013152656A1 (zh) | 2013-10-17 |
Family
ID=49327077
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/072697 WO2013152656A1 (zh) | 2012-04-09 | 2013-03-15 | 一种绘制滑动轨迹的方法及移动终端 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20150070360A1 (zh) |
CN (1) | CN103365559B (zh) |
WO (1) | WO2013152656A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3303419A4 (en) * | 2015-06-05 | 2018-06-20 | ExxonMobil Chemical Patents Inc. | Heterophasic copolymers and sequential polymerization |
CN106909265B (zh) * | 2015-12-23 | 2020-06-26 | 阿里巴巴集团控股有限公司 | 终端***光标事件的处理方法及装置、鼠标 |
US10203860B2 (en) | 2016-03-18 | 2019-02-12 | Ebay Inc. | Graphical user interface element adjustment |
CN106933486B (zh) * | 2017-03-13 | 2020-04-21 | 广州视源电子科技股份有限公司 | 用于安卓***的触控实现方法及装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006050454A2 (en) * | 2004-11-01 | 2006-05-11 | Heffington Mark F | Programmable automotive computer system having start time and wheel spin correction |
CN101599001A (zh) * | 2009-07-13 | 2009-12-09 | 青岛海信移动通信技术股份有限公司 | 触摸屏显示界面更新方法和多媒体电子设备 |
CN101727230A (zh) * | 2008-10-17 | 2010-06-09 | ***通信集团公司 | 一种触摸屏光标控制方法、装置和移动通信终端 |
CN101995983A (zh) * | 2009-08-18 | 2011-03-30 | 宏达国际电子股份有限公司 | 追踪触控面板上碰触输入的移动轨迹的方法及其电子装置 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1453011A4 (en) * | 2001-10-11 | 2005-04-06 | Yappa Corp | SYSTEM FOR DISPLAYING 3D IMAGES ON THE WEB |
JP2006192246A (ja) * | 2004-12-13 | 2006-07-27 | Nintendo Co Ltd | ゲーム装置およびゲームプログラム |
CN101819498B (zh) * | 2009-02-27 | 2013-06-05 | 瞬联讯通科技(北京)有限公司 | 面向触摸屏滑动体的屏幕显示控制方法 |
US9417787B2 (en) * | 2010-02-12 | 2016-08-16 | Microsoft Technology Licensing, Llc | Distortion effects to indicate location in a movable data collection |
-
2012
- 2012-04-09 CN CN201210101545.2A patent/CN103365559B/zh active Active
-
2013
- 2013-03-15 WO PCT/CN2013/072697 patent/WO2013152656A1/zh active Application Filing
- 2013-03-15 US US14/391,630 patent/US20150070360A1/en not_active Abandoned
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006050454A2 (en) * | 2004-11-01 | 2006-05-11 | Heffington Mark F | Programmable automotive computer system having start time and wheel spin correction |
CN101727230A (zh) * | 2008-10-17 | 2010-06-09 | ***通信集团公司 | 一种触摸屏光标控制方法、装置和移动通信终端 |
CN101599001A (zh) * | 2009-07-13 | 2009-12-09 | 青岛海信移动通信技术股份有限公司 | 触摸屏显示界面更新方法和多媒体电子设备 |
CN101995983A (zh) * | 2009-08-18 | 2011-03-30 | 宏达国际电子股份有限公司 | 追踪触控面板上碰触输入的移动轨迹的方法及其电子装置 |
Also Published As
Publication number | Publication date |
---|---|
CN103365559B (zh) | 2018-07-06 |
US20150070360A1 (en) | 2015-03-12 |
CN103365559A (zh) | 2013-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6467526B2 (ja) | 通信メッセージ送信方法及びウェアラブル・デバイス | |
WO2018103525A1 (zh) | 人脸关键点跟踪方法和装置、存储介质 | |
WO2016169465A1 (zh) | 一种显示弹幕信息的方法、装置和*** | |
KR101652373B1 (ko) | 가상 키보드 표시방법, 장치, 단말기, 프로그램 및 기록매체 | |
WO2016150270A1 (zh) | 群组会话消息处理方法和装置 | |
WO2017125027A1 (zh) | 一种进行信息展示的方法和装置、计算机存储介质 | |
TWI520043B (zh) | 消息查看方法、裝置和移動終端 | |
WO2016119580A1 (zh) | 一种开启终端的语音输入功能的方法、装置和终端 | |
WO2015100569A1 (zh) | 侧边菜单显示方法、装置和终端 | |
CN103634717B (zh) | 一种利用耳机控制的方法、装置及终端设备 | |
KR20150079829A (ko) | 제스처에 기반한 대화 처리 방법, 장치, 단말 장치, 프로그램 및 기록 매체 | |
WO2015062235A1 (zh) | 电子设备、电池保护方法和装置 | |
WO2014086218A1 (zh) | 界面调整方法、装置及终端 | |
TW201516844A (zh) | 一種物件選擇的方法和裝置 | |
WO2018209555A1 (zh) | 连接蓝牙设备的方法及终端设备 | |
WO2013135169A1 (zh) | 一种输入法键盘的调整方法及其移动终端 | |
WO2013149530A1 (zh) | 显示信息的方法、移动终端和计算机可读存储介质 | |
WO2017096909A1 (zh) | 建立数据连接的方法及装置 | |
WO2015010466A1 (zh) | 信息显示方法、装置和移动终端 | |
WO2015024372A1 (zh) | 发起通信的方法、装置及移动终端 | |
CN106371749A (zh) | 一种终端控制的方法和装置 | |
CN103813127A (zh) | 一种视频通话方法、终端及*** | |
WO2017128986A1 (zh) | 多媒体菜单项的选择方法、装置及存储介质 | |
WO2017206853A1 (zh) | 一种滑动加速响应方法、及相关产品 | |
WO2015074387A1 (zh) | 滑动操作响应方法、装置及终端设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13775596 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14391630 Country of ref document: US |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 16/12/2014) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13775596 Country of ref document: EP Kind code of ref document: A1 |