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
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