1. Technical Field
The present disclosure relates to audio playing devices, and particularly to an audio playing device, a system and a method for adjusting a progress bar.
2. Description of Related Art
A progress bar normally includes a progress indicator and a number of time points. User usually drags the progress indicator among the number of time points on the progress bar to adjust a playing progress. However, the dragging manner can only achieve a coarse adjustment for the playing progress, and cannot achieve a fine adjustment for the playing progress.
Therefore, what is needed is an audio playing device to overcome the above described limitations.
The audio playing device 100 includes a processor 30. The processor 30 includes a touch detecting module 31, a time detecting module 32, a determining module 33, a display module 34, an acquiring module 36, and an adjusting module 37 which are collection of software instructions and executed by the processor 30.
The touch detecting module 31 detects whether or not the progress bar 2 is touched by a touch operation. The time detecting module 32 detects whether or not duration of the touch operation on the progress bar 2 exceeds a predetermined time when the progress bar 2 is touched by the touch operation. The determining module 33 determines a first time point on the progress bar 2, hides the progress bar 2, and displays a sub progress bar 3 when the duration of the touch operation on the progress bar 2 exceeds the predetermined time. The sub progress bar 3 includes a beginning time point and an ending time point. The beginning time point is the first time point. The ending time point is obtained by adding a predetermined time period to the first time point. The ending time point on the sub progress bar 3 is less than an ending time point on the progress bar 2. In one embodiment, the determining module 33 can display the sub progress bar 3 in a position where the bar has progressed, or display the sub progress bar 3 in other positions. The acquiring module 36 further determines a second time point which is touched by the touch operation on the sub progress bar 3. The determining module 33 further hides the sub progress bar 3 and displays the progress bar 2 after the second time point is determined The adjusting module 37 adjusts the progress indicator 21 from the first time point to the second time point on the progress bar 2.
In one embodiment, the display module 34 further displays the progress bar 2 after the progress indicator 21 is adjusted in response to a user operation.
In one embodiment, the acquiring module 36 includes a receiving sub-module 361, a track acquiring sub-module 362, and a time point acquiring sub-module 363. The receiving sub-module 361 receives a sliding operation from the first time point on the sub progress bar 3. The track acquiring sub-module 362 acquire a sliding track of the sliding operation. The time point determining sub-module 363 determines the second time point based on the sliding track on the sub progress bar 3.
The processor 30 further includes a setting module 39. The setting module 39 sets the predetermined time and the predetermined time period in response to the user operation.
In step S601, the touch detecting module 31 detects whether or not the progress bar 2 is touched by a touch operation, if yes, the procedure goes to step S602, if no, the procedure goes to step S601.
In step S602, the time detecting module 32 detects whether or not a duration of the touch operation on the progress bar 2 exceeds a predetermined time, if yes, the procedure goes to step S603, if no, the procedure goes to step S602.
In step S603, the determining module 33 determines a first time point on the progress bar, hides the progress bar 2, and displays a sub progress bar 3.
In step S604, the acquiring module 36 determines a second time point which is touched by the touch operation on the sub progress bar 3.
In step S605, determining module 33 hides the sub progress bar 3 and displays the progress bar 2.
In step S606, the adjusting module 37 adjusts the progress indicator 21 from the first time point to the second time point on the progress bar 2.
The method further includes a sub-step: the setting module 39 setting the predetermined time and the predetermined time period of the time in response to the user operation.
Although various embodiments have been specifically described, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiments without departing from the scope and spirit of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
102114713 | Apr 2013 | TW | national |