Commit Graph
337 Commits
Author SHA1 Message Date
Christopher Eby f92c7348c6 Move DO_ITEM startService handling into separate intents 2010-04-26 20:01:03 -05:00
Christopher Eby 618c364f72 Prepend ACTION_ to PlaybackService actions 2010-04-26 19:18:04 -05:00
Christopher Eby 58c53567bf Open the application by means of a launcher activity
This allows the history to be better handled when the song selector is opened
on launch. Pressing back will leave the application, etc.
2010-04-26 18:10:40 -05:00
Christopher Eby fe2ec0f975 Handle non-running PlaybackService better
Add a method to retrieve the PlaybackService instance that will start the
service if it is not running
2010-04-26 17:45:54 -05:00
Christopher Eby 80ebbafb6d Document ControlButton and add missing license header 2010-04-25 23:54:58 -05:00
Christopher Eby a9a8083e89 Store generated cover art views in a cache in CoverView
This isolates the worker thread from the UI thread
2010-04-25 23:54:33 -05:00
Christopher Eby 38b8e3ef9f Split bitmap generation code out of CoverView 2010-04-25 23:54:27 -05:00
Christopher Eby f33eaa5ba6 Don't prevent flinging in CoverView either 2010-04-25 23:54:23 -05:00
Christopher Eby 44b78811b3 Add license headers to XML files 2010-04-25 23:54:20 -05:00
Christopher Eby 4e9d541dfb Document ContextApplication 2010-04-25 23:54:14 -05:00
Christopher Eby bcceeb6b9d Document most of Song 2010-04-25 23:51:27 -05:00
Christopher Eby 6cd2b5c7a2 Don't prevent scrolling in CoverView when an bitmap has not yet been loaded 2010-04-25 23:51:24 -05:00
Christopher Eby 88784789ca Move bitmap generation and service interaction into a background thread 2010-04-25 23:51:20 -05:00
Christopher Eby 69ea872f75 Don't use binders or broadcasts to communicate within the application 2010-04-25 23:51:13 -05:00
Christopher Eby 2ca9c39f1c Make SongSelector an Activity again 2010-04-23 22:14:35 -05:00
Christopher Eby c7e10009c2 Make the external output only preference work again 2010-04-23 13:03:25 -05:00
Christopher Eby e49fde46cd Move all of the media button handling code into PlaybackService
Also disable MediaButtonReceiver when it is not needed
2010-04-23 12:13:15 -05:00
Christopher Eby 53eb34ec84 Make scrobbling work with the official Last.FM client 2010-04-23 11:20:08 -05:00
Christopher Eby 1ac82fd16b Don't update the seek bar when the activity is paused 2010-04-23 11:18:10 -05:00
Christopher Eby 669ecb4dd3 Don't update the seek bar position when not playing 2010-04-23 11:06:37 -05:00
Christopher Eby 3eec11e821 Fix broken logic in headset_plug receiver 2010-04-23 00:57:27 -05:00
Christopher Eby f2763c9eb3 Don't broadcast a change to a null song on service shutdown
Removes a workaround for now-defunct behavior
2010-04-22 21:49:32 -05:00
Christopher Eby d0a88387af Don't show the search box in the selector by default 2010-04-22 20:54:24 -05:00
Christopher Eby adee2c36aa Do some preemptive updating of the widget when the next button is pressed 2010-04-21 20:16:02 -05:00
Christopher Eby aeeeaab238 Use the application icon as the widget fallback background in all cases 2010-04-21 17:58:24 -05:00
Christopher Eby 966a02f5c6 Remove the double-press-launches-activity functionality in the widget
This feature causes a delay after pressing either of the buttons and is not
really obvious to begin with
2010-04-21 10:24:42 -05:00
Christopher Eby 846b1aad76 Remove reliance on MediaStore cover cache
Cover art retrieval now relies completely on undocumented APIs, but it _is_ a
little faster
2010-04-20 23:12:16 -05:00
jfim fc7aae9d81 Use the private MediaScanner API to load cover art 2010-04-20 22:56:33 -05:00
Christopher Eby 05e4abed9c Don't automatically hide the controls in the main view
Let's just try it out. It's more like the iPod/iPhone..?
2010-04-20 18:37:07 -05:00
Christopher Eby f1142c894f Fix CoverView rendering in horizontal separated mode 2010-04-20 18:20:24 -05:00
Christopher Eby 0d625e0851 Cpoy the albumId into the parcel 2010-04-20 18:20:19 -05:00
Christopher Eby 3dfb6e6b6e Add a fallback for cover art fetching 2010-04-19 00:32:41 -05:00
Christopher Eby ec1de12818 Shorten some long preference descriptions 2010-04-15 22:37:53 -05:00
Christopher Eby 0409d707b4 Swap library / display mode menu items
Makes position consistent with those in song selector
2010-04-15 22:31:58 -05:00
Christopher Eby d4b38f4491 Search button toggles song selector on/off 2010-04-15 22:31:08 -05:00
Christopher Eby fe335aa90a Don't dismiss the dialog on back press in selector-on-startup mode 2010-04-15 22:29:59 -05:00
Christopher Eby 1c4c65890c Use an alternative method to fetch cover art
This seems to allow the MediaStore to generate the thumbnails for cover art if
they do not exist yet.

Is this documented anywhere..?
2010-04-13 23:26:18 -05:00
Christopher Eby 78122cc4c2 Remove some unused imports 2010-04-13 22:38:36 -05:00
Christopher Eby 809192ab4f Fix crasher 2010-04-12 23:45:51 -05:00
Christopher Eby 38fb7abafd Sort a little better for SongMediaAdapter songs 2010-04-12 23:17:58 -05:00
Christopher Eby 93f0873b64 Sort a little better for chosen songs 2010-04-12 23:17:02 -05:00
Christopher Eby e2889d3d25 Add controls in the song selector
This is somewhat hackish.
2010-04-12 23:11:06 -05:00
Christopher Eby 7049755021 Reorder the menu
Keeps things more consistent
2010-04-12 21:38:17 -05:00
Christopher Eby 0776b1e08b Save repeat and shuffle states 2010-04-12 21:35:58 -05:00
Christopher Eby 23cadc916e Don't remove the repeat start song 2010-04-12 19:41:06 -05:00
Christopher Eby 23bda5a16d Update the previous cover when repeating 2010-04-12 19:39:54 -05:00
Christopher Eby eb74963785 Store mRepeatStart as a position rather than a pointer 2010-04-12 19:14:51 -05:00
Christopher Eby 478c732673 Enabling shuffle shuffles repeated songs 2010-04-12 18:53:12 -05:00
Christopher Eby 2fd9a69898 Add more file types to .gitignore 2010-04-12 17:14:04 -05:00
Christopher Eby c3ce56fc0c Center the expander in its cut-out
It seems to look a little nicer
2010-04-12 17:11:37 -05:00