OSDN Git Service

Add ability to seek through track with circular motion
authorLinus Lee <llee@cyngn.com>
Tue, 28 Jul 2015 00:07:05 +0000 (17:07 -0700)
committerLinus Lee <llee@cyngn.com>
Wed, 12 Aug 2015 01:25:59 +0000 (18:25 -0700)
commit9f3fa0b5a03e69b1896f86ceff88357fb7cdab48
tree2c7d0ec4c9e79fdb54189b069157bd4f9716d16c
parentdd33b6ea6558d6934766337e3e6e7f709b63d403
Add ability to seek through track with circular motion

With this patch, if you do a circular gesture motion
on the large play button, you can seek the track instead
of using the long press of the next/previous buttons

Also change the progress bar to 1000 to allow for smaller updates

Change-Id: I38512b2439227686bc6363e77b1858dbb5764a9f
res/layout/main_playback_controls.xml
res/layout/play_pause_progress_button.xml
src/com/cyanogenmod/eleven/ui/activities/HomeActivity.java
src/com/cyanogenmod/eleven/ui/fragments/AudioPlayerFragment.java
src/com/cyanogenmod/eleven/utils/MusicUtils.java
src/com/cyanogenmod/eleven/widgets/PlayPauseProgressButton.java