diff options
author | Linus Lee <llee@cyngn.com> | 2015-07-27 17:07:05 -0700 |
---|---|---|
committer | Linus Lee <llee@cyngn.com> | 2015-08-11 18:25:59 -0700 |
commit | 9f3fa0b5a03e69b1896f86ceff88357fb7cdab48 (patch) | |
tree | 2c7d0ec4c9e79fdb54189b069157bd4f9716d16c /src/com/cyanogenmod/eleven/utils | |
parent | dd33b6ea6558d6934766337e3e6e7f709b63d403 (diff) | |
download | android_packages_apps_Eleven-9f3fa0b5a03e69b1896f86ceff88357fb7cdab48.tar.gz android_packages_apps_Eleven-9f3fa0b5a03e69b1896f86ceff88357fb7cdab48.tar.bz2 android_packages_apps_Eleven-9f3fa0b5a03e69b1896f86ceff88357fb7cdab48.zip |
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
Diffstat (limited to 'src/com/cyanogenmod/eleven/utils')
-rw-r--r-- | src/com/cyanogenmod/eleven/utils/MusicUtils.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/eleven/utils/MusicUtils.java b/src/com/cyanogenmod/eleven/utils/MusicUtils.java index 6279a78..38e9ac0 100644 --- a/src/com/cyanogenmod/eleven/utils/MusicUtils.java +++ b/src/com/cyanogenmod/eleven/utils/MusicUtils.java @@ -87,6 +87,9 @@ public final class MusicUtils { public static final String MUSIC_ONLY_SELECTION = MediaStore.Audio.AudioColumns.IS_MUSIC + "=1" + " AND " + MediaStore.Audio.AudioColumns.TITLE + " != ''"; //$NON-NLS-2$ + public static final long UPDATE_FREQUENCY_MS = 500; + public static final long UPDATE_FREQUENCY_FAST_MS = 30; + static { mConnectionMap = new WeakHashMap<Context, ServiceBinder>(); sEmptyList = new long[0]; |