606 Commits

Author SHA1 Message Date
Christopher Eby
eaf2faac2c Slight cover optimization for widgets 2011-10-26 19:39:41 -05:00
Christopher Eby
d1837655a2 Improve library layout
Remove unessecary layout when using controls; place search/limits in the proper
layout
2011-10-26 16:43:46 -05:00
Christopher Eby
0ff18ca932 Show shuffle/repeat buttons in library and mini activity 2011-10-26 03:58:56 -05:00
Christopher Eby
d43dcc14ae Add play all and enqueue all library actions
Similar to the play all and enqueue all headers, but plays selected row
first. This is similar to the default behavior of most music player's libraries
2011-10-26 03:10:31 -05:00
Christopher Eby
bc1f587730 Use ant to create docs 2011-10-25 18:23:35 -05:00
Christopher Eby
924205bbad Add some files to gitignore; add some scripts 2011-10-25 04:35:02 -05:00
Christopher Eby
42901f1866 Remove Eclipse project 2011-10-25 04:21:32 -05:00
Christopher Eby
895740ea36 Render default cover programatically 2011-10-25 04:07:33 -05:00
Christopher Eby
cba7b0125d Go back to using TabHost to better support Holo theme 2011-10-25 02:00:17 -05:00
Christopher Eby
99b92f7e14 Playlist editor 2011-10-24 05:41:07 -05:00
Christopher Eby
712eee13b5 Remove some unused resources 2011-10-22 20:52:52 -05:00
Christopher Eby
07813d3422 Make fixed info the default display mode 2011-10-22 17:54:12 -05:00
Christopher Eby
96dc1673f3 Translate individual strings rather than whole arrays
This makes it much easier to modify the arrays after they have been translated
2011-10-22 17:48:26 -05:00
Christopher Eby
ef5278fec4 Improve appearance with holo theme 2011-10-21 18:39:06 -05:00
Christopher Eby
6bc2aa0356 Target ICS; use Holo theme where available 2011-10-21 18:19:34 -05:00
Christopher Eby
2ce0386a7a Add context menu for shuffle/repeat buttons 2011-10-21 18:19:33 -05:00
Christopher Eby
7152a4e06c Remove some old translations 2011-10-21 18:19:32 -05:00
Christopher Eby
f7137e45e0 Make swipes easier to trigger 2011-10-21 18:19:31 -05:00
Christopher Eby
87514b4107 Use an enum for swipe actions 2011-10-21 18:19:30 -05:00
Christopher Eby
344017035c Add a way to enter random mode from the empty queue screen 2011-10-21 18:19:29 -05:00
Christopher Eby
61bb610ce3 Allow a specific shuffle/repeat mode to be set rather than force cycling
This is just plumbing for a future UI
2011-10-21 18:19:23 -05:00
Christopher Eby
601074c9cc Make repeat/shuffle buttons instead of menu items 2011-10-21 08:21:28 -05:00
Christopher Eby
c2646d0dc8 Improve the icons a bit 2011-10-21 08:07:32 -05:00
Christopher Eby
e44b10810d Restore default cover art in library behavior 2011-10-21 00:46:38 -05:00
Christopher Eby
c68874a981 Simplify code in CoverBitmap
Make createBitmap the only entry point
2011-10-20 23:36:12 -05:00
Christopher Eby
2149745f52 Prevent redundant cover work in CoverView
There were two main cases where we would generate covers: when querySongs is
called and when onSizeChanged is called. querySongs was sometimes called before
the initial layout had occured and the CoverView's size determined (usually
when the service had already been running when a new PlaybackActivity is
created). onSizeChanged was sometimes called before the service had been
initialized. Both of these cases are not useful, and in the former case,
harmful, since the default cover art could be shown when the view should have
been blank. So this removes generation in onSizeChanged except when querySongs
had been called before the layout occurs, which elminates the redundant cases.
2011-10-20 22:43:54 -05:00
Christopher Eby
1ae2958041 Clean-up Cache a bit
Just remove some unused stuff
2011-10-20 02:32:34 -05:00
Christopher Eby
a488764638 Remove cover cache 2011-10-20 02:12:43 -05:00
Christopher Eby
68a89314b2 Move elapsed time to left side of seek bar (or left above seek bar for alt mode) 2011-10-20 00:56:16 -05:00
Christopher Eby
34d108a1cc Use android style for notification text
On versions where this style doesn't exist (pre-Gingerbread), this defaults
to black text, which looks fine.
2011-10-20 00:12:31 -05:00
Christopher Eby
925d64ca6d Merge SongNotification into PlaybackService 2011-10-19 20:41:04 -05:00
Christopher Eby
ffe97ab254 Use onStartCommand instead of onStart
Forgot to update this when I made 2.0 required.
2011-10-19 00:28:25 -05:00
Christopher Eby
d78eb70bd7 Rename default.properties to project.properties for ADT 14 2011-10-19 00:26:22 -05:00
Christopher Eby
aaec10014a Restart activities on layout change rather than kill them 2011-10-18 20:53:33 -05:00
Christopher Eby
cd847f4a93 Add default cover for no info modes
The improves swiping: before, with no default cover, one just swiped a black
screen with no scrolling feedback, which was rather unintuitive.
2011-10-17 18:00:06 -05:00
Christopher Eby
bb39b8677e CoverView improvements
Cancel stale pending generate jobs---these can build up if skipping songs
rapidly. Avoid calling touch on worker thread---no advantage to doing so and
builds up jobs. Load songs in more optimal order (current, then next,
then previous).
2011-10-14 16:07:29 -05:00
Christopher Eby
518e16ffc4 Don't leak bitmaps for scale cover art mode
We were ignoring the bitmap that should have been recycled if unused.
2011-10-14 16:07:19 -05:00
Christopher Eby
c6b8efe2f4 Reorganize values into translatable/untranslatable 2011-10-13 18:42:27 -05:00
Christopher Eby
d9d47e276f Add disable lockscreen option 2011-10-13 17:48:59 -05:00
Christopher Eby
7f47b29073 Add random icon and genre icon 2011-10-11 23:32:09 -05:00
Christopher Eby
1bac719961 Add BackupManager support 2011-10-11 23:11:53 -05:00
Christopher Eby
3a5e506c6c Redraw CoverView when the generated bitmap is in the cache
postInvalidate was not being called in this case
2011-10-11 23:11:52 -05:00
Christopher Eby
2ad4e90cda Refactor PlaybackService start intents
It's a bit confusing as it is and was not properly playing for the autoplay intents
2011-10-11 23:11:38 -05:00
Christopher Eby
fb53c329bb Refactor MediaButtonHandler
Merge into MediaButtonReceiver, make static-only, avoid using reflection
2011-10-11 13:30:10 -05:00
Christopher Eby
556351df6c Some trivial clean-ups suggested by inspection 2011-10-11 12:58:10 -05:00
Christopher Eby
c09eadb951 Fix shuffle state cycling
Prevent the addition from overflowing
2011-10-11 02:11:16 -05:00
Christopher Eby
557649d7e5 Add Norwegian translation from Petter Sulwik 2011-10-07 14:17:03 -05:00
Christopher Eby
8e30ad605f Eliminate the useless layout for the message overlay 2011-10-04 02:02:35 -05:00
Christopher Eby
52377a86de Remove MiniPlaybackActivityLayout 2011-10-04 01:07:11 -05:00
Christopher Eby
fc3ce9f551 Use JUnit assert rather than assert keyword
These are turned on by default and can be compiled out entirely for release mode
2011-10-04 00:29:21 -05:00