Commit Graph
556 Commits
Author SHA1 Message Date
Christopher Eby fdcf44f36d Only run queries for the active tab in the library 2011-10-03 19:19:46 -05:00
Christopher Eby de9793ca37 Cap user volume at 1.0
It seems that MediaPlayer.setVolume ignores anything greater.
2011-10-03 13:39:31 -05:00
Christopher Eby af651e4aa5 Clear old data from flags when loading 2011-10-02 20:47:13 -05:00
Christopher Eby f49d71f688 Use the correct sort order when using play all 2011-10-02 00:57:07 -05:00
Christopher Eby fa1c9d23eb Ensure mExpanderPressed is accurate
It was not being set to false in the case where a non-header view was recycled
as a header view.
2011-10-02 00:46:22 -05:00
Christopher Eby 5a7e282a41 Remove untranslatable array and make overflowing tab text marquee 2011-09-29 13:34:50 -05:00
Pavol 'Scrool' Babincak 3a1d2f146f Slovak translation 2011-09-29 08:43:19 +02:00
Pavol 'Scrool' Babincak 1dbfd6471a Shorten long labels in tabs 2011-09-29 08:42:39 +02:00
Christopher Eby a62659a917 Make service actions public and add play/pause actions 2011-09-27 18:24:14 -05:00
Christopher Eby 0938428514 Version 0.9.0
Just a test release
2011-09-27 02:07:38 -05:00
Christopher Eby 4a618c38ce Add play when headphones plugged option 2011-09-27 01:37:18 -05:00
Christopher Eby 78d471010d Add emulation of stock music player broadcast
This in the very least works with the CyanogenMod lockscreen controls.
2011-09-27 01:26:04 -05:00
Christopher Eby 396bc20bfd Prevent cover bitmaps for the actives songs from being deleted
Since previously we loaded directly from the cache, the actives songs' bitmaps
could be deleted if the next song was changing very frequently. While this is
fairly unlikely to happen, this new intermediate method should be a bit faster
anyway.
2011-09-27 00:26:59 -05:00
Christopher Eby 4a939a4ac1 Make swipes harder to accidently trigger 2011-09-27 00:26:55 -05:00
Christopher Eby 7c98ba54ed Speed up CoverView scrolling a bit 2011-09-27 00:26:50 -05:00
Christopher Eby fa24f2aa0f Remove STORE_SIZE constant
It bothers me?
2011-09-27 00:26:47 -05:00
Christopher Eby 31651e491e Fix SongTimeline.removeSong
We were skipping songs as the index changes whenever we remove a song. Use an
iterator so we don't have to worry about that.
2011-09-27 00:26:43 -05:00
Christopher Eby cd935206e4 Don't crash when failing to query a saved song 2011-09-27 00:26:42 -05:00
Christopher Eby d17df425cd Move deleteMedia into PlaybackService 2011-09-27 00:26:41 -05:00
Christopher Eby 6cdaf3787d Pass ContentResolver instead of Context in some cases 2011-09-27 00:26:39 -05:00
Christopher Eby 870bc77e8b Avoid adding null songs to the library 2011-09-27 00:26:38 -05:00
Christopher Eby 9270c1a02d Update proguard.config 2011-09-27 00:26:30 -05:00
Christopher Eby 20a1ff1ae7 Change some log messages; remove SongNotification pref reset 2011-09-25 02:49:30 -05:00
Christopher Eby 086596b230 Reduce allocations in CoverView.onDraw
The Paint parameters for drawBitmap is unnecessary and we can avoid requesting
the clip rect.
2011-09-25 02:08:48 -05:00
Christopher Eby ae78e46517 Reduce allocations in playback activity song position code 2011-09-25 01:50:14 -05:00
Christopher Eby 6da2526648 Use a cached SharedPreferences instance
Reduces allocations a bit
2011-09-25 01:16:58 -05:00
Christopher Eby 221e3857f3 Move clear button to the side of the search field; use different icon 2011-09-24 19:53:53 -05:00
Christopher Eby 6be7e4d69e Remove ControlButton 2011-09-24 18:16:51 -05:00
Christopher Eby 09135ac52d Used focused icons for hidden buttons in widgets 2011-09-24 17:50:02 -05:00
Christopher Eby 2894c2aca4 Add HDPI icons; new play/pause/next/previous buttons 2011-09-24 17:45:08 -05:00
Christopher Eby 370514a316 Add album shuffle 2011-09-23 23:33:06 -05:00
Christopher Eby f194262c99 Don't shuffle songs unnecessarily 2011-09-23 21:56:13 -05:00
Christopher Eby ef924a80b9 Make cover press/long-press actions configurable
Also don't update the swipe action preferences through the service. There's no
reason to do that; I'm not sure why I was doing so before...
2011-09-23 03:18:15 -05:00
Christopher Eby 1088ea67ee Make disable cover art affect widgets 2011-09-23 02:40:02 -05:00
Christopher Eby 5620d240b5 Add a default album art icon for the library controls
Mostly to prevent the need to shift the postion of the buttons back and forth
when changing between songs with/without cover art.
2011-09-23 02:23:24 -05:00
Christopher Eby 98873972f7 Make library controls prettier 2011-09-23 01:59:40 -05:00
Christopher Eby 268a537969 Don't use TabHost 2011-09-23 01:06:16 -05:00
Christopher Eby b842b7e46f Share layout content between library with/without control layouts.
Also make search box not overlap.
2011-09-22 15:29:53 -05:00
Christopher Eby 827201a644 Implmenent some optimizations suggested by layoutopt 2011-09-22 15:28:32 -05:00
Christopher Eby 84f0e02882 Add repeat current song mode 2011-09-21 22:23:47 -05:00
Christopher Eby 5341772d0c Move state file code to PlaybackService and add a version code to state file 2011-09-21 22:23:46 -05:00
Christopher Eby 48e2aa1d91 Shuffle current songs when enabling shuffling 2011-09-21 22:23:45 -05:00
Christopher Eby 8e83d85a59 Rename SongSelector to LibraryActivity 2011-09-21 22:23:44 -05:00
Christopher Eby eb7930543c Remove playlist instances 2011-09-21 22:23:43 -05:00
Christopher Eby f524be7199 Add a play all row 2011-09-21 22:23:43 -05:00
Christopher Eby 690789273b Run MediaStore queries on background thread 2011-09-21 22:23:42 -05:00
Christopher Eby 95a7a32e35 Separate MediaView from MediaAdapter 2011-09-21 22:23:36 -05:00
Christopher Eby e94c40bdcb Remove SongMediaAdapter 2011-09-21 16:26:41 -05:00
Christopher Eby 0f38aa4159 Add library section indexer 2011-09-21 16:25:26 -05:00
Christopher Eby 0cb2b325d3 Use separate layouts for library with/without controls 2011-09-21 16:23:58 -05:00