CN105487801B - Progress bar adjusting method and mobile terminal - Google Patents
Progress bar adjusting method and mobile terminal Download PDFInfo
- Publication number
- CN105487801B CN105487801B CN201510848058.6A CN201510848058A CN105487801B CN 105487801 B CN105487801 B CN 105487801B CN 201510848058 A CN201510848058 A CN 201510848058A CN 105487801 B CN105487801 B CN 105487801B
- Authority
- CN
- China
- Prior art keywords
- touch point
- progress bar
- progress
- distance
- touch
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
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/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/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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04808—Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
Abstract
The invention discloses a progress bar adjusting method and a mobile terminal, wherein the progress bar adjusting method comprises the following steps: acquiring positions of a first touch point and a second touch point; acquiring the position of a third touch point between the first touch point and the second touch point; and taking the distance between the first touch point and the second touch point as the total progress of the progress bar, and adjusting the progress bar according to the distance between the third touch point and the first touch point or the second touch point. Through the mode, the progress bar can be adjusted at any position on the surface of the touch screen, and the display picture cannot be influenced.
Description
Technical Field
The invention relates to the technical field of display, in particular to a progress bar adjusting method and a mobile terminal.
Background
With the continuous development of intelligent devices, large screens of the intelligent devices are standard, so that most of the devices can be operated only by touch nowadays, and with the development of touch technologies, the intelligent devices can basically support multi-point touch operation nowadays.
When the intelligent device is operated, a progress bar, such as a progress bar for video and audio, a progress bar for volume adjustment or brightness adjustment, and a progress bar for pull-down menu, such as a phonebook and a song list, are often required to be adjusted.
Taking video playing as an example, when the intelligent device controls playing of a video file, the progress can be controlled through a progress bar on an interface basically, but the progress bar can affect display of a picture, and although the progress bar can be invisible when not operated, a user is required to click on a screen to display the progress bar when the progress bar needs to be controlled. And the position of the progress bar is fixed and cannot be changed at any time according to the requirements of the user.
Disclosure of Invention
The technical problem mainly solved by the invention is to provide a progress bar adjusting method and a mobile terminal, which can adjust the progress bar at any position on the surface of a touch screen without influencing a display picture.
In order to solve the technical problems, the invention adopts a technical scheme that: provided is a progress bar adjusting method, including: acquiring positions of a first touch point and a second touch point; acquiring the position of a third touch point between the first touch point and the second touch point; and taking the distance between the first touch point and the second touch point as the total progress of the progress bar, and adjusting the progress bar according to the distance between the third touch point and the first touch point or the second touch point.
Wherein the content of the first and second substances,the step of adjusting the progress bar according to the distance between the third touch point and the first touch point or the second touch point by taking the distance between the first touch point and the second touch point as the total progress of the progress bar specifically includes: taking the position of the first touch point as the starting position of the progress bar, and taking the position of the second touch point as the ending position of the progress bar; obtaining the distance X between the third touch point and the first touch point1And obtaining the distance X between the third touch point and the second touch point2(ii) a Calculating the progress position proportion a of the progress bar as X1/(X1+X2) (ii) a And adjusting the progress bar according to the progress position proportion a.
Before the step of obtaining the positions of the first touch point and the second touch point, the method further includes: acquiring a plurality of touch points; calculating the number of a plurality of touch points; and if the number of the plurality of touch points is 3, executing the step of acquiring the positions of the first touch point and the second touch point.
After the step of obtaining the position of the third touch point located between the first touch point and the second touch point, the method further includes: taking a preset area between the first touch point and the second touch point as an effective area; judging whether the position of the third touch point is located in the effective area; and if so, adjusting the progress bar according to the distance between the third touch point and the first touch point or the second touch point by taking the distance between the first touch point and the second touch point as the total progress of the progress bar.
The method comprises the following steps of taking a preset area between a first touch point and a second touch point as an effective area, and specifically comprises the following steps: establishing a straight line segment by taking the first touch point and the second touch point as end points; judging whether the position of the third touch point is located in the effective area, specifically: and judging whether the third touch point is positioned on the straight line segment.
The method comprises the following steps of taking a preset area between a first touch point and a second touch point as an effective area, and specifically comprises the following steps: establishing a straight line segment by taking the first touch point and the second touch point as end points; taking a set area of points with a distance from the straight line segment smaller than a preset threshold value as an effective area; judging whether the position of the third touch point is located in the effective area, specifically: and judging whether the distance between the third touch point and the straight line segment is smaller than a preset threshold value.
After the step of obtaining the positions of the first touch point and the second touch point, the method further includes: acquiring the position of a straight line segment taking the first touch point and the second touch point as end points; if the straight line segment is positioned below the screen, taking the distance between the first touch point and the second touch point as the total progress of the video or audio progress bar; or if the straight line segment is positioned on the left side of the screen, taking the distance between the first touch point and the second touch point as the total progress of the brightness progress bar; or if the straight line segment is positioned on the right side of the screen, taking the distance between the first touch point and the second touch point as the total progress of the volume progress bar.
In order to solve the technical problems, the invention adopts a technical scheme that: there is provided a mobile terminal including: the acquisition module is used for acquiring the positions of the first touch point and the second touch point; the acquisition module is also used for acquiring the position of a third touch point between the first touch point and the second touch point; and the processing module is used for adjusting the progress bar according to the distance between the third touch point and the first touch point or the second touch point by taking the distance between the first touch point and the second touch point as the total progress of the progress bar.
The processing module is further used for taking the position of the first touch point as the starting position of the progress bar and taking the position of the second touch point as the ending position of the progress bar; the obtaining module is further used for obtaining the distance X between the third touch point and the first touch point1And obtaining the distance X between the third touch point and the second touch point2(ii) a The processing module is also used for calculating the progress position proportion a of the progress bar as X1/(X1+X2) (ii) a The processing module is also used for adjusting the progress bar according to the progress position proportion a.
The processing module is further used for taking a preset area between the first touch point and the second touch point as an effective area; the processing module is further used for judging whether the position of the third touch point is located in the effective area; and the processing module is further used for adjusting the progress bar according to the distance between the third touch point and the first touch point or the second touch point by taking the distance between the first touch point and the second touch point as the total progress of the progress bar when the position of the third touch point is located in the effective area.
The invention has the beneficial effects that: different from the prior art, the invention obtains the positions of the first touch point and the second touch point; acquiring the position of a third touch point between the first touch point and the second touch point; the distance between the first touch point and the second touch point is used as the total progress of the progress bar, the progress bar is adjusted according to the distance between the third touch point and the first touch point or the second touch point, the progress bar can be adjusted at any position on the surface of the touch screen when the touch screen controls the adjustment of the progress bar, the progress bar is adjusted through the area selected by the user, and the display picture cannot be influenced.
Drawings
FIG. 1 is a flow chart of a first embodiment of a process bar adjustment method of the present invention;
FIG. 2 is an operational view of a first embodiment of the process bar adjustment method of the present invention;
fig. 3 is a schematic view of a progress bar according to a first embodiment of the process bar adjustment method of the present invention;
FIG. 4 is a flow chart of a second embodiment of a process bar adjustment method of the present invention;
fig. 5 is an operation view of a second embodiment of a process bar adjustment method of the present invention;
FIG. 6 is a flow chart of a third embodiment of a process bar adjustment method of the present invention;
fig. 7 is a schematic view of an effective area of a third embodiment of a process bar adjustment method of the present invention;
FIG. 8 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a physical device of the mobile terminal of the present invention.
Detailed Description
Referring to fig. 1, a flow chart of a first embodiment of a process bar adjustment method of the present invention includes:
step 101: and acquiring the positions of the first touch point and the second touch point.
Referring to fig. 2, the first touch point P1, the second touch point P2 and the third touch point P3 are all points where the user touches the display screen 200 by a finger or other touch tool, and the positions of the first touch point P1, the second touch point P2 and the third touch point P3 are coordinates of the points on the display screen 200.
Since the operation of the single touch display 200 is usually provided with keys for other functions, such as lighting up the screen, zooming in, selecting, etc., for video playing, it is usually playing or pausing. Therefore, in the present embodiment, the acquisition of the positions of the first touch point P1 and the second touch point P2 refers to the acquisition of the positions of the first touch point P1 and the second touch point P2 at the same time, that is, the acquisition of the positions of the first touch point P1 and the second touch point P2 which are referred to by two fingers when the two fingers simultaneously touch the display screen 200.
Of course, in other embodiments, if the operation of the single touch display 200 does not provide a key having another function, the first touch point P1 and the second touch point P2 may be sequentially acquired.
Step 102: and acquiring the position of a third touch point between the first touch point and the second touch point.
In one embodiment, if the touch time of the third touch point P3 is delayed from the first touch point P1 and the second touch point P2, the third touch point P3 should be between the first touch point P1 and the second touch point P2 due to human control.
In another embodiment, if three touch points are touched at the same time, the distance between the three touch points is determined, the middle touch point is determined as the third touch point P3, and the other two touch points are determined as the first touch point P1 and the second touch point P2.
Step 103: and taking the distance between the first touch point and the second touch point as the total progress of the progress bar, and adjusting the progress bar according to the distance between the third touch point and the first touch point or the second touch point.
Referring to fig. 2 and 3, in an embodiment, taking a progress bar for video playing as an example, after the first touch point P1 and the second touch point P2 are acquired, a progress bar with a distance between the first touch point P1 and the second touch point P2 as a total progress is displayed, and after the third touch point P3 is touched, a mark for adjusting the progress bar is displayed. In addition, the total time of the progress bar, the time at the third contact point P3, and the percentage of the time duration at the third contact point P3 may also be displayed.
Specifically, when the user a watches a video in the full screen mode of the mobile phone, the screen is simultaneously touched using the thumb and the middle finger to form a first touch point P1 and a second touch point P2, respectively, and then the screen is touched using the index finger to form a third touch point P3, and the progress of the video is adjusted to a certain percentage, and at the same time, the user may adjust the progress of the video again by sliding the index finger.
In the above embodiment, in the adjustment process, the progress bar may be displayed at the corresponding position touched after being touched, or the progress bar may not be displayed in the whole adjustment process.
In addition, in other embodiments, after the first touch point P1 and the second touch point P2 are formed, a progress bar may be automatically displayed between P1 and P2 and a current progress mark, such as the P3 position in fig. 3, may be simultaneously displayed, and the user may actively press the P3 position to form a third touch point while adjusting the progress bar mark by sliding.
Different from the prior art, the embodiment acquires the positions of the first touch point and the second touch point; acquiring the position of a third touch point between the first touch point and the second touch point; the distance between the first touch point and the second touch point is used as the total progress of the progress bar, the progress bar is adjusted according to the distance between the third touch point and the first touch point or the second touch point, the progress bar can be adjusted at any position on the surface of the touch screen when the touch screen controls the adjustment of the progress bar, the progress bar is adjusted through the area selected by the user, and the display picture cannot be influenced.
Referring to fig. 4, a flowchart of a second embodiment of the method for adjusting a progress bar according to the present invention includes:
step 401: a plurality of touch points are acquired.
Step 402: the number of multiple touch points is calculated.
Step 403: and if the number of the plurality of touch points is 3, acquiring the positions of the first touch point and the second touch point.
In the present embodiment, it is clear that the number of touch points is 3, but it is not limited whether the 3 touch points need to act on the touch screen at the same time or not
Step 404: and taking the position of the first touch point as the starting position of the progress bar, and taking the position of the second touch point as the ending position of the progress bar.
Step 405: obtaining the distance X between the third touch point and the first touch point1And obtaining the distance X between the third touch point and the second touch point2。
When a first touch point, a second touch point and a third touch point are respectively determined in the 3 touch points, if the 3 touch points act on the touch screen in a time sequence, the 3 touch points are sequentially used as the first touch point, the second touch point and the third touch point; if 3 touch points act on the touch screen at the same time, the middle touch point can be calculated as a third touch point, and the other two points are respectively used as a first touch point and a second touch point.
Step 406: calculating the progress position proportion a of the progress bar as X1/(X1+X2)。
Step 407: and adjusting the progress bar according to the progress position proportion a.
Referring to FIG. 5, the distance between the first touch point P1 and the third touch point P3 is X1The distance between the second touch point P2 and the third touch point P3 is X2Thus, the total progress bar has a length X1+X2Therefore, the ratio of the progress bar is a ═ X1/(X1+X2). In this embodiment, the ratio a may be a progress percentage, a volume or a brightness of the video playing.
Referring to fig. 6, a flowchart of a third embodiment of a method for adjusting a progress bar according to the present invention includes:
step 601: and acquiring the positions of the first touch point and the second touch point.
Step 602: and acquiring the position of a third touch point between the first touch point and the second touch point.
Step 603: and taking a preset area between the first touch point and the second touch point as an effective area.
Step 604: and judging whether the position of the third touch point is located in the effective area.
Specifically, a straight line segment may be established by using the first touch point and the second touch point as end points; and judging whether the third touch point is positioned on the straight line segment. Or
Establishing a straight line segment by taking the first touch point and the second touch point as end points; taking a set area of points with a distance from the straight line segment smaller than a preset threshold value as an effective area; and judging whether the distance between the third touch point and the straight line segment is smaller than a preset threshold value.
Referring to fig. 7, where P1 is a first touch point, P2 is a second touch point, and P3 is a third touch point, the method for determining that P3 is a valid touch point may be determining whether P3 is located on a line segment formed by P1 and P2, or determining whether P3 and the line segment P1P2 are smaller than a preset threshold, i.e., the region 701 in fig. 7.
Step 605: and taking the distance between the first touch point and the second touch point as the total progress of the progress bar, and adjusting the progress bar according to the distance between the third touch point and the first touch point or the second touch point.
In other embodiments, the function of the progress bar may also be determined by determining the position of the progress bar formed by the first touch point and the second touch point in the display screen, for example:
acquiring the position of a straight line segment taking the first touch point and the second touch point as end points; if the straight line segment is positioned below the screen, taking the distance between the first touch point and the second touch point as the total progress of the video or audio progress bar; or if the straight line segment is positioned on the left side of the screen, taking the distance between the first touch point and the second touch point as the total progress of the brightness progress bar; or if the straight line segment is positioned on the right side of the screen, taking the distance between the first touch point and the second touch point as the total progress of the volume progress bar.
By the method, when the user adopts the method at different positions of the display screen, the function of the progress bar is changed, so that the application range of the method is wider, and the user experience is improved.
Referring to fig. 8, a schematic structural diagram of an embodiment of a mobile terminal according to the present invention includes an obtaining module 801 and a processing module 802.
An obtaining module 801, configured to obtain positions of the first touch point and the second touch point.
The obtaining module 801 is further configured to obtain a position of a third touch point located between the first touch point and the second touch point.
In particular, the acquisition module 801 may be a sensing module.
The processing module 802 is configured to use the distance between the first touch point and the second touch point as a total progress of the progress bar, and adjust the progress bar according to the distance between the third touch point and the first touch point or the second touch point.
In other embodiments, the processing module 802 is further configured to use the position of the first touch point as a starting position of the progress bar, and use the position of the second touch point as an ending position of the progress bar; the obtaining module 801 is further configured to obtain a distance X between the third touch point and the first touch point1And obtaining the distance X between the third touch point and the second touch point2(ii) a The processing module 802 is further configured to calculate a progress position ratio a of the progress bar X1/(X1+X2) (ii) a The processing module is also used for adjusting the progress bar according to the progress position proportion a.
In other embodiments, the processing module 802 is further configured to use a preset area between the first touch point and the second touch point as an active area; the processing module 802 is further configured to determine whether the position of the third touch point is located in the effective area; the processing module 802 is further configured to adjust the progress bar according to the distance between the third touch point and the first touch point or the second touch point, by taking the distance between the first touch point and the second touch point as the total progress of the progress bar when the position of the third touch point is located in the effective area.
The embodiment is a terminal based on the embodiment of the progress bar adjusting method, and the embodiment is similar and will not be described herein again.
Different from the prior art, the embodiment acquires the positions of the first touch point and the second touch point through the acquisition module; acquiring the position of a third touch point between the first touch point and the second touch point; the distance between the first touch point and the second touch point is used as the total progress of the progress bar through the processing module, the progress bar is adjusted according to the distance between the third touch point and the first touch point or the second touch point, the progress bar can be adjusted at any position on the surface of the touch screen when the touch screen controls the adjustment of the progress bar, the progress bar is adjusted through the area selected by the user, and the display picture cannot be influenced.
Referring to fig. 9, a schematic structural diagram of an entity device of the mobile terminal of the present invention is shown, where the device can execute the steps in the method, and related contents refer to detailed descriptions in the method and are not repeated herein.
The mobile terminal comprises a bus 901 and a processor 902 and a memory 903 connected to the bus 901.
The memory 903 is used for storing an operating system and related programs for adjusting progress bars such as video and audio progress bars, volume and brightness.
The processor 902 is configured to obtain positions of the first touch point and the second touch point; acquiring the position of a third touch point between the first touch point and the second touch point; and taking the distance between the first touch point and the second touch point as the total progress of the progress bar, and adjusting the progress bar according to the distance between the third touch point and the first touch point or the second touch point.
In other embodiments, the processor 902 is further configured to use the position of the first touch point as a starting position of the progress bar, and use the position of the second touch point as an ending position of the progress bar; obtaining the distance X between the third touch point and the first touch point1And obtaining the distance X between the third touch point and the second touch point2(ii) a Calculating the progress position proportion a of the progress bar as X1/(X1+X2) (ii) a And adjusting the progress bar according to the progress position proportion a.
In other embodiments, the processor 902 is further configured to use a preset area between the first touch point and the second touch point as an active area; judging whether the position of the third touch point is located in the effective area; and when the position of the third touch point is located in the effective area, taking the distance between the first touch point and the second touch point as the total progress of the progress bar, and adjusting the progress bar according to the distance between the third touch point and the first touch point or the second touch point.
Specifically, a straight line segment may be established by using the first touch point and the second touch point as end points; and judging whether the third touch point is positioned on the straight line segment. Or establishing a straight line segment by taking the first touch point and the second touch point as end points; taking a set area of points with a distance from the straight line segment smaller than a preset threshold value as an effective area; and judging whether the distance between the third touch point and the straight line segment is smaller than a preset threshold value.
In the embodiments provided in the present invention, it should be understood that the disclosed method and terminal can be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (8)
1. A progress bar adjustment method is characterized by comprising the following steps:
acquiring positions of a first touch point and a second touch point;
acquiring the position of a third touch point between the first touch point and the second touch point;
taking the distance between the first touch point and the second touch point as the total progress of the progress bar, and adjusting the progress bar according to the distance between the third touch point and the first touch point or the second touch point; specifically, the position of the first touch point is taken as the starting position of the progress bar, and the position of the second touch point is taken as the ending position of the progress bar;
obtaining the distance X between the third touch point and the first touch point1And obtaining the distance X between the third touch point and the second touch point2(ii) a Calculating the progress position proportion a of the progress bar as X1/(X1+X2) (ii) a According to the aboveThe progress position ratio a adjusts the progress bar.
2. The method of claim 1, wherein the step of obtaining the positions of the first touch point and the second touch point is preceded by the step of:
acquiring a plurality of touch points;
calculating the number of the plurality of touch points;
and if the number of the plurality of touch points is 3, executing the step of acquiring the positions of the first touch point and the second touch point.
3. The method of claim 1, wherein after the step of obtaining the location of a third touch point located between the first touch point and the second touch point, further comprising:
taking a preset area between the first touch point and the second touch point as an effective area;
judging whether the position of the third touch point is located in the effective area;
and if so, adjusting the progress bar according to the distance between the third touch point and the first touch point or the second touch point by taking the distance between the first touch point and the second touch point as the total progress of the progress bar.
4. The method according to claim 3, wherein the step of using a preset area between the first touch point and the second touch point as an effective area specifically comprises:
establishing a straight line segment by taking the first touch point and the second touch point as end points;
judging whether the position of the third touch point is located in the effective area, specifically:
and judging whether the third touch point is positioned on the straight line segment.
5. The method according to claim 3, wherein the step of using a preset area between the first touch point and the second touch point as an effective area specifically comprises:
establishing a straight line segment by taking the first touch point and the second touch point as end points;
taking a set area of points with a distance from the straight line segment smaller than a preset threshold as the effective area;
judging whether the position of the third touch point is located in the effective area, specifically:
and judging whether the distance between the third touch point and the straight line segment is smaller than a preset threshold value.
6. The method of claim 1, wherein the step of obtaining the positions of the first touch point and the second touch point is followed by the step of:
acquiring the position of a straight line segment with the first touch point and the second touch point as end points;
if the straight line segment is positioned below the screen, taking the distance between the first touch point and the second touch point as the total progress of the video or audio progress bar; or
If the straight line segment is positioned on the left side of the screen, taking the distance between the first touch point and the second touch point as the total progress of the brightness progress bar; or
And if the straight line segment is positioned on the right side of the screen, taking the distance between the first touch point and the second touch point as the total progress of the volume progress bar.
7. A mobile terminal, comprising:
the acquisition module is used for acquiring the positions of the first touch point and the second touch point;
the acquisition module is further used for acquiring the position of a third touch point between the first touch point and the second touch point;
the obtaining module is further configured to obtain a distance X between the third touch point and the first touch point1Obtaining the distance between the third touch point and the second touch pointFrom X2;
The processing module is specifically configured to use the position of the first touch point as a starting position of the progress bar and use the position of the second touch point as an ending position of the progress bar;
calculating the progress position proportion a of the progress bar as X1/(X1+X2) And adjusting the progress bar according to the progress position proportion a.
8. The mobile terminal of claim 7,
the processing module is further used for taking a preset area between the first touch point and the second touch point as an effective area;
the processing module is further configured to determine whether the position of the third touch point is located in the effective area;
and the processing module is further configured to adjust the progress bar according to the distance between the third touch point and the first touch point or the second touch point by taking the distance between the first touch point and the second touch point as the total progress of the progress bar when the position of the third touch point is located in the effective area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510848058.6A CN105487801B (en) | 2015-11-26 | 2015-11-26 | Progress bar adjusting method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510848058.6A CN105487801B (en) | 2015-11-26 | 2015-11-26 | Progress bar adjusting method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105487801A CN105487801A (en) | 2016-04-13 |
CN105487801B true CN105487801B (en) | 2020-01-03 |
Family
ID=55674808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510848058.6A Active CN105487801B (en) | 2015-11-26 | 2015-11-26 | Progress bar adjusting method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105487801B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3270262A1 (en) * | 2016-07-12 | 2018-01-17 | Vestel Elektronik Sanayi ve Ticaret A.S. | Touch-screen control device with haptic feedback |
CN106303655A (en) * | 2016-08-17 | 2017-01-04 | 珠海市魅族科技有限公司 | A kind of media content play cuing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103116467A (en) * | 2013-03-07 | 2013-05-22 | 东蓝数码股份有限公司 | Video progress and volume control method based on multi-point touch control |
CN103559117A (en) * | 2013-10-31 | 2014-02-05 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for displaying progress bar |
CN104199611A (en) * | 2014-08-29 | 2014-12-10 | 广东欧珀移动通信有限公司 | Method and device for adjusting playing progress through mobile terminal |
CN104822091A (en) * | 2015-04-29 | 2015-08-05 | 努比亚技术有限公司 | Video playing progress control method and device and mobile terminal |
CN104902331A (en) * | 2014-03-07 | 2015-09-09 | 联想(北京)有限公司 | Play progress regulating method and electronic equipment |
-
2015
- 2015-11-26 CN CN201510848058.6A patent/CN105487801B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103116467A (en) * | 2013-03-07 | 2013-05-22 | 东蓝数码股份有限公司 | Video progress and volume control method based on multi-point touch control |
CN103559117A (en) * | 2013-10-31 | 2014-02-05 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for displaying progress bar |
CN104902331A (en) * | 2014-03-07 | 2015-09-09 | 联想(北京)有限公司 | Play progress regulating method and electronic equipment |
CN104199611A (en) * | 2014-08-29 | 2014-12-10 | 广东欧珀移动通信有限公司 | Method and device for adjusting playing progress through mobile terminal |
CN104822091A (en) * | 2015-04-29 | 2015-08-05 | 努比亚技术有限公司 | Video playing progress control method and device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105487801A (en) | 2016-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9354797B2 (en) | Progress adjustment method and electronic device | |
US8749586B2 (en) | Method and apparatus for providing folder item information based on touch operation | |
US20130014042A1 (en) | Method and apparatus for adjusting size of a list item | |
EP2869174A1 (en) | Method and device for text input and display of intelligent terminal | |
CN106648341B (en) | Display interface typesetting adjustment method and system | |
CN105117062A (en) | Screen luminance regulation method and mobile terminal | |
CA2922060C (en) | Swipe toolbar to switch tabs | |
WO2014183428A1 (en) | Method, apparatus and terminal for adjusting playback progress | |
US20130127758A1 (en) | Touch input apparatus and method in user terminal | |
KR20130020238A (en) | Method and apparatus for moving contents on screen using pointing unit | |
US10579254B2 (en) | Method and apparatus for realizing human-machine interaction | |
CN108459783A (en) | Control method, device and the equipment of dummy keyboard, readable medium | |
US9824072B2 (en) | Adjusting layout size of hyperlink | |
CN107168636A (en) | Gesture identification method, device, touch screen terminal and the storage medium of multiple point touching | |
CN109062486B (en) | Display window adjusting method and electronic equipment | |
CN109298790A (en) | Character deleting method and device | |
CN105487801B (en) | Progress bar adjusting method and mobile terminal | |
CN104571814B (en) | Projection method and electronic equipment | |
TW201344557A (en) | Apparatus and method for automatically controlling display screen density | |
CN105302459B (en) | Single-hand control method and device for terminal | |
CN110795015A (en) | Operation prompting method, device, equipment and storage medium | |
US10318131B2 (en) | Method for scaling down effective display area of screen, and mobile terminal | |
CN106155453B (en) | Target object attribute adjusting method and device | |
US20170168694A1 (en) | Method and electronic device for adjusting sequence of shortcut switches in control center | |
CN108681531B (en) | Document input control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230824 Address after: Unit h, unit 431, floor 4, building C, Xiamen international shipping center, No. 93 Xiangyu Road, Xiamen area, China (Fujian) pilot Free Trade Zone, Xiamen City, Fujian Province Patentee after: Xiamen Lanying Network Technology Co.,Ltd. Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd. |
|
TR01 | Transfer of patent right |