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
Christopher Eby
744432a744
Don't call startService to pick songs from library
2011-09-17 03:02:40 -05:00
Christopher Eby
06915f6cf7
Add serialVersionUID to MediaAdapter.Limiter
...
I don't know that this is strictly necessary since the serialization is only
ever saved in memory, but Eclipse wants it.
2011-09-07 02:25:46 -05:00
Christopher Eby
53e40f85f2
Fix random cache shuffling when it is not completely full
...
We were shuffling around the null elements
2011-09-06 00:33:48 -05:00
Christopher Eby
b8c137310a
Make widget double tap setting global
2011-09-05 16:02:07 -05:00
Christopher Eby
4abbbfd6f3
Clear mPendingSeek
2011-09-03 13:59:48 -05:00
Christopher Eby
3f99f98a56
Add configurable up/down swipe actions
...
More actions to come...
2011-09-03 00:31:55 -05:00
Christopher Eby
9bc3e97e9d
Properly initialize mCurrentAdapter
2011-09-02 02:40:39 -05:00
Christopher Eby
605e14f930
Account for sorting that takes place when querying random songs
2011-09-02 02:36:49 -05:00
Christopher Eby
d0ee5e8676
Load saved song position
2011-09-02 02:34:28 -05:00
Christopher Eby
8617a7c7c6
Update track progress when play pressed
2011-09-02 01:06:13 -05:00
Christopher Eby
283a53e4db
Fix PlaybackService.onDestroy
...
Pausing in onDestroy was broadcasting an update which would
cause receivers to restart the service and/or crash.
2011-09-02 00:41:17 -05:00
Christopher Eby
7c00dc4496
Tweak inverted notification
...
Use American English, clarify description, simplify code a bit, and
default to disabled.
2011-08-31 21:30:57 -05:00
Jean-Baptiste Lab
e7ea4941ea
Add option to invert colours in notifications
2011-08-31 21:18:45 -05:00
David Beswick
91094a85ab
Mandated Java 1.6 so that the @Override annotation can be used
...
with interface overrides.
2011-08-30 22:24:15 -05:00
Christopher Eby
76b6fe134d
Add widget display mode without zoomed cover art
...
This changes the id for the zoomed mode, just for consistency. Since this
feature hasn't been released yet that should be ok.
2011-08-30 18:44:36 -05:00
Christopher Eby
339a9fcf85
Make media button play/pause pause immediately.
...
It provides a faster response and there isn't any reason not to---a double
click will restart playback.
2011-08-30 01:53:50 -05:00
Christopher Eby
69bbfbb255
Run playback activity song/state change methods on UI thread
...
This allows CoverView and song info views to be updated in one go, rather than
in multiple posts to the UI thread.
2011-08-30 01:35:18 -05:00
Christopher Eby
cc1a5cb448
Handle notifications better
...
Don't update them when unecessary. Fix an edge case where the notification
wouldn't update from the paused to playing style.
2011-08-29 01:38:25 -05:00
Christopher Eby
a4ea3089f6
Move media button registration into MediaButtonHandler; only register when media buttons are enabled
2011-08-29 01:37:41 -05:00