Commit Graph
527 Commits
Author SHA1 Message Date
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
Christopher Eby 4ad42c7285 Move random song code into MediaUtils 2011-09-21 16:23:58 -05:00
Christopher Eby a60d6ec330 Change "Preferences" to "Settings"
Settings seems to be the more common term in Android apps.
2011-09-21 16:23:57 -05:00
Christopher Eby af069c208b Run library queries on worker thread 2011-09-21 16:23:51 -05:00
Christopher Eby e23598aef1 Start playback when using play action from library 2011-09-19 22:13:11 -05:00
Christopher Eby 2023409bd9 Remove ContextApplication 2011-09-19 22:13:09 -05:00
Christopher Eby 5837753b4a Eliminate Song.query; always query populated songs instead 2011-09-19 22:13:08 -05:00
Christopher Eby 1a24a3df4d Avoid using intents in broadcasts 2011-09-19 22:13:06 -05:00
Christopher Eby 34326718ad Move service-related code out of ContextApplication 2011-09-19 22:13:05 -05:00
Christopher Eby ccac623322 Remove exit button 2011-09-19 22:13:03 -05:00
Christopher Eby e19ac9bca5 Don't synchronize MediaPlayer
Preparing sometimes takes a long time and this causes a freeze in the playback
actively when it requests the song position.
2011-09-19 22:13:02 -05:00
Christopher Eby 5c45c4540a Add random option
Disabling this option makes Vanilla function more like a typical music player.
2011-09-19 22:12:54 -05:00
Christopher Eby 0f95ac6336 Volume always controls music volume 2011-09-19 21:52:11 -05:00
Christopher Eby cce040ded8 Query all info for songs chosen from library 2011-09-19 21:51:58 -05:00
Christopher Eby 399631d4ad Update queue offset when changing songs 2011-09-18 09:28:01 -05:00
Christopher Eby 4ba2eddd80 Do less work when widgets are inactive 2011-09-18 09:28:01 -05:00
Christopher Eby 34624b00c3 Don't attempt to load songs when service is not loaded 2011-09-18 09:28:00 -05:00
Christopher Eby 25ce5d6daf Don't send bitmaps through a parcel; send Uri instead
This speeds things up quite a bit, but requires some reworking to the widget
layouts...
2011-09-18 09:28:00 -05:00
Christopher Eby 4311632dd5 Add back headset only feature 2011-09-18 09:28:00 -05:00
Christopher Eby 4191ba031f Require 2.0 2011-09-18 09:28:00 -05:00
Christopher Eby 0fd6230497 Show quantity of picked songs in toast 2011-09-18 09:28:00 -05:00
Christopher Eby 7621c9312e Only hold one wake lock 2011-09-18 09:27:23 -05:00
Christopher Eby 9471e2a0bc Handle PlaybackService.onCreate in one step 2011-09-17 03:02:46 -05:00
Christopher Eby d37c151b02 Implement wait/notify properly 2011-09-17 03:02:46 -05:00
Christopher Eby fdb3e0b238 Attempt to fix ever-lasting Toasts.
I'm not actually able to reproduce this issue, so I'm not certain of what the
cause might be. Apparently this can happen when Toasts aren't created on the
UI thread. I've attempted to mimimize that...
2011-09-17 03:02:46 -05:00
Christopher Eby cb1221e00c Disable repeat option when there are no songs 2011-09-17 03:02:46 -05:00
Christopher Eby cf776d40bb Store the current song in PlaybackService 2011-09-17 03:02:46 -05:00
Christopher Eby a3aa6b4d6e Add swipe action to clear queue 2011-09-17 03:02:45 -05:00
Christopher Eby 8172618a09 Add swipe actions to enqueue songs 2011-09-17 03:02:45 -05:00
Christopher Eby 027489b4a1 Reset queue offset when using play items
Since we clear the queue, we must also clear the offset..
2011-09-17 03:02:45 -05:00