155 Commits

Author SHA1 Message Date
Christopher Eby
7e05f88c4a Don't autoconnect to service if it was explicity stopped within the application 2010-03-12 23:42:26 -06:00
Christopher Eby
93d59aca7a Share connect service code 2010-03-12 23:23:35 -06:00
Christopher Eby
ca7fcd82c6 Long press back finish activity and disconnects from service 2010-03-12 22:45:19 -06:00
Christopher Eby
f1e7c0d425 Update the filter for all lists 2010-03-12 22:26:29 -06:00
Christopher Eby
1b1b83127c Defer to TabHost to retrieve MediaAdapters 2010-03-12 22:12:52 -06:00
Christopher Eby
ebcae9e507 Move limiters to their own layer 2010-03-11 20:29:40 -06:00
Christopher Eby
d955dd3fa6 Version 0.1 build 10 2010-03-11 02:33:49 -06:00
Christopher Eby
fa0376318d Scale the widget resolution 2010-03-11 02:08:48 -06:00
Christopher Eby
74664dbb2b Only empty the view on tab change
Previously it was done when removing a limiter which caused a brief flicker
2010-03-11 02:03:35 -06:00
Christopher Eby
03821bbae5 Avoid using getTag(id)
It's not in Android 1.5
2010-03-11 02:00:38 -06:00
Christopher Eby
6bf23b0237 Disable the media library menu item when there is no media 2010-03-11 01:29:09 -06:00
Christopher Eby
7c087cc6af Allow a limiter set by an expander to be removed 2010-03-11 01:04:30 -06:00
Christopher Eby
1d6ca04568 Add a "last used action" preference to the song selector 2010-03-10 23:48:43 -06:00
Christopher Eby
4a5bbb3582 Defer loading of artist adapter too 2010-03-10 23:38:23 -06:00
Christopher Eby
c204191049 Rename queue to media library 2010-03-10 23:21:00 -06:00
Christopher Eby
568c5be403 Consolidate the adapters into one MediaAdapter class 2010-03-10 23:04:49 -06:00
Christopher Eby
fe5ff05bad Create a custom layout for the song selector items
Makes the code nicer, speeds things a little, and allows text to be centered
better.

Also add a high DPI expander icon
2010-03-10 22:47:58 -06:00
Christopher Eby
e8f8ff3888 Don't crash with no songs present
I should really add an auto test for this..
2010-03-10 22:32:46 -06:00
Christopher Eby
a9d1941a46 Decrease the sample interval for the velocity tracker
Flings were made too sensitive with the resolution-independence change.
2010-03-10 02:16:43 -06:00
Christopher Eby
e3f0807a98 Removed (paused) from notification
The icon gives this information now, that's good enough
2010-03-10 02:13:28 -06:00
Christopher Eby
1e7f93b71f Increase the padding on the expander button 2010-03-10 01:33:02 -06:00
Christopher Eby
53ea3c4fe1 Make the arrow buttons filter media 2010-03-10 00:32:15 -06:00
Christopher Eby
d9d78b0ea5 Remove double tap ability in song selector in favor of a configurable single tap action 2010-03-09 23:44:14 -06:00
Christopher Eby
e86ca5dae5 Make the clear button work again
Not sure how I missed this..
2010-03-09 23:41:54 -06:00
Christopher Eby
1cc008181e Rework adapter setup
Moves Toast code into SongSelector and media field code into Song and builds
media intents in AbstractAdapter
2010-03-09 23:41:46 -06:00
Christopher Eby
da087bd3ac Hook up clicks on albums and artists 2010-03-09 21:28:23 -06:00
Christopher Eby
565c4a42cc Add a context menu for song items 2010-03-09 00:13:09 -06:00
Christopher Eby
2081783456 Change click actions in song selector
Single click now plays immediately. Double click enqueues.
2010-03-08 23:45:28 -06:00
Christopher Eby
958ffcc852 Respond to clicks on the expanders 2010-03-08 22:14:50 -06:00
Christopher Eby
03e11a5fee Unify ListView getView() code and add an expander icon to it 2010-03-08 21:29:44 -06:00
Christopher Eby
b767e4eca8 Share filter code and use SparseArray instead of HashMap 2010-03-08 19:18:17 -06:00
Christopher Eby
3410917239 Hook up the filter to all listviews 2010-03-08 03:20:26 -06:00
Christopher Eby
ef64a330a0 Delay initialization of the invisible ListViews 2010-03-08 03:12:23 -06:00
Christopher Eby
4b5d43cced Show lists for all song selector tabs 2010-03-08 03:05:03 -06:00
Christopher Eby
12af3135f2 Initialize the widget sooner on startup 2010-03-08 01:51:40 -06:00
Christopher Eby
ed670a73e3 Don't crash with an invalid state 2010-03-08 01:45:05 -06:00
Christopher Eby
f108489413 Make song item view larger 2010-03-08 00:41:09 -06:00
Christopher Eby
d66f5dae08 Make filter more flexible
Now allows words to match out of order and restores searching in album and
artist fields
2010-03-08 00:05:19 -06:00
Christopher Eby
775170c1bc Use Song directly in SongAdapter 2010-03-07 22:54:51 -06:00
Christopher Eby
1024f36ac4 Add tabs to the song selector
They serve no purpose, yet
2010-03-07 21:51:47 -06:00
Christopher Eby
ae4fa22c46 Declare support for small screens
LGTM
2010-03-07 21:34:06 -06:00
Christopher Eby
28ae21ac55 Target API 7
Now we must handle scaling ourselves
2010-03-07 21:33:57 -06:00
Christopher Eby
8de8d28474 Rename statusbar.xml to notification.xml 2010-03-07 13:45:23 -06:00
Christopher Eby
6b035ef230 Just use the app icon rather than a text message for the disconnected widget 2010-03-06 23:52:34 -06:00
Christopher Eby
a222d6fa62 Don't crash in mReceiver 2010-03-06 23:35:44 -06:00
Christopher Eby
290078e544 Add a clear button on the filter edittext 2010-03-06 22:42:02 -06:00
Christopher Eby
a87a185c3c Use broadcasts instead of callbacks in PlaybackService 2010-03-06 21:53:07 -06:00
Christopher Eby
acd259e305 Add the original SVGs for the icons 2010-03-06 14:56:58 -06:00
Christopher Eby
e169046e4c Add a .gitignore file 2010-03-06 14:49:05 -06:00
Christopher Eby
e37d3d149d Ensure the notification is canceled when persistence is disabled
startForeground will keep a hold on the notification passed to it.
It seems that stopForeground is the only way to cancel the notification
then
2010-03-06 14:45:33 -06:00