658 Commits

Author SHA1 Message Date
Christopher Eby
a00e9b8816 Handle null bitrate 2012-03-13 15:32:33 -05:00
Christopher Eby
6afb80d57c Ensure queue pos view has enough room 2012-03-13 15:27:41 -05:00
Christopher Eby
ec9449a227 Prevent cover when art from changing when scroll is in progress
The previous/next song can change while scrolling if shuffling is enabled.
This saves those songs in mActiveBitmaps until scrolling is finished.
This doesn't handle two successive scrolls (i.e. no time to settle) with
changes, though.
2012-03-13 15:27:41 -05:00
Christopher Eby
1bbde8050d Prevent seek bar from sometimes displaying old position after song change
MediaPlayer.getPosition() could be called before the new data source is
set. This makes PlaybackService.getPosition() return 0 while the load is
pending.
2012-03-13 15:27:41 -05:00
Christopher Eby
ea1a12af01 Don't update seek bar unnecessarily often
Since Handler delays aren't very accurate, updateElapsedTime() is
sometimes called just before the second increments, causing
updateElapsedTime() to be called several times in rapid succession. This
adds a 50 ms to help avoid this.
2012-03-13 15:27:41 -05:00
Christopher Eby
7cc59120d4 Rework playback activity layout.
Display all info in the table layout, including title, artist and album.
Add queue position display.
2012-03-13 15:27:37 -05:00
Christopher Eby
95debe778b Fix fake targetSdkVersion
The ApplicationInfo instance is reused, so we can't change its
targetSdkVersion without affecting subsequent usage.
2012-03-11 16:59:08 -05:00
Christopher Eby
4669b8ea37 Make long pressing song info display additional metadata 2012-03-11 16:58:56 -05:00
Christopher Eby
64d716571f Refactor SongTimeline.addSongs() so it receives arguments from QueryTask 2012-03-11 08:26:02 -05:00
Christopher Eby
3774d386e3 Fix playlist item removal 2012-03-09 12:20:23 -06:00
Christopher Eby
378a5b3a93 Back out of limiters 2012-03-09 12:01:06 -06:00
Christopher Eby
977d24a324 Save current library page 2012-03-09 11:14:15 -06:00
Christopher Eby
dabacbbd49 Customizable library tab order 2012-03-05 04:37:38 -06:00
Christopher Eby
6c6754cff0 Remove paused status icon 2012-03-03 06:31:59 -06:00
Christopher Eby
c28ce389cd Don't reset list if sort mode hasn't changed 2012-03-01 03:16:46 -06:00
Christopher Eby
80ca7d955e Disable match drag position behavior in FastScroller
I'm not sure what it's supposed to accomplish, but whatever it is, it
doesn't do it very well.

This always makes sure the FastScroller remains always visible after
changing the sort order.
2012-03-01 03:16:40 -06:00
Christopher Eby
88fe955b23 Doc fixes 2012-03-01 00:47:11 -06:00
Christopher Eby
2699be1cdb Remove MediaView in favor of TextView-based layouts
This allows for RTL language support and will help with library display
customization
2012-02-29 22:36:58 -06:00
Christopher Eby
dd00cf2584 Remove compatibility library 2012-02-29 21:24:40 -06:00
Christopher Eby
caf8cf1893 Make PlaybackActivity abstract
This prevents lint from complaining that it is not in the manifest
2012-02-29 21:24:40 -06:00
Christopher Eby
8349780252 Use SHOW_AS_ACTION_IF_ROOM for search action
Only because lint wants it. And lint is my master.
2012-02-29 21:24:40 -06:00
Christopher Eby
28ebbf33eb Show Now Playing title in playback activity 2012-02-29 21:24:40 -06:00
Christopher Eby
b8965b02ca Use holo-style background for buttons 2012-02-29 21:24:40 -06:00
Christopher Eby
a6de315694 Show fallback cover art on 2x2 A and 1x1 widgets 2012-02-29 21:24:40 -06:00
Christopher Eby
411d0e99a8 Remove unnecessary LinearLayout 2012-02-29 21:24:40 -06:00
Christopher Eby
d30361fb8f New 4x1 widget 2012-02-29 21:24:40 -06:00
Christopher Eby
eea5deceb6 CoverView improvements
- Switch to next song immediately when fling is started. Makes response
  faster, but can also cause a minor delay on slower devices. Setting
  a lower priority on worker threads helps with this a bit.
- Simplify scrolling code. No longer uses View's scrolling code
- Remove invalidateCovers(). There is no advantage to using this since
  the view has no children.
- Various minor tweaks
2012-02-29 21:24:25 -06:00
Christopher Eby
026464754a Implement Honeycomb tab listener more safely
Dalvik complains about CompatHoneycomb in Gingerbread and below. Seems
harmless, but I'll fix it just to be safe.
2012-02-21 03:22:24 -06:00
Christopher Eby
b5fedb6993 Only force notification visible from focus loss on Honeycomb or above 2012-02-21 01:56:54 -06:00
Christopher Eby
dba5d4f1b9 SVG folder icon
Also tweak the padding on left MediaView bitmaps
2012-02-21 01:28:35 -06:00
Christopher Eby
d7358b4a4c Avoid float conversions 2012-02-21 01:28:25 -06:00
Christopher Eby
d7f3a9cb17 Doc fixes 2012-02-20 23:20:48 -06:00
Christopher Eby
aca31dcd08 Don't draw anything in MediaView when it is "hidden" by DragListView 2012-02-20 23:13:43 -06:00
Christopher Eby
9715a39b3d Hide play/enqueue for play all headers 2012-02-20 23:09:20 -06:00
Christopher Eby
20517a8281 Split library ListView/adapter related code out into LibraryPagerAdapter 2012-02-20 23:03:33 -06:00
Christopher Eby
fd1eedb329 SVG fallback cover art 2012-02-20 03:16:34 -06:00
Christopher Eby
2a1217ae3b Change expander and divider look for MediaView 2012-02-20 03:01:11 -06:00
Christopher Eby
5a9e8cc5b9 Version 0.9.8 2012-02-18 02:27:18 -06:00
Christopher Eby
8d32bcf2ae Controls in notification 2012-02-18 02:01:06 -06:00
Christopher Eby
e9d7391e44 Add toggle controls menu item 2012-02-17 17:06:19 -06:00
Christopher Eby
479b2639ea Click -> tap 2012-02-17 00:07:45 -06:00
Christopher Eby
915f3eebb5 Handle permission revocation 2012-02-16 02:39:34 -06:00
Christopher Eby
ec9fac546f Fix crash when trying to hide action bar 2012-02-16 01:50:39 -06:00
Christopher Eby
218a0fb0b4 Prevent RemoteControlClient from clobbering cover art 2012-02-16 01:35:09 -06:00
Christopher Eby
7b95199839 Use Honeycomb API to query genre 2012-02-16 01:20:10 -06:00
Christopher Eby
e20f5241cb Expose the queue-related actions as menu options 2012-02-16 00:50:07 -06:00
Christopher Eby
85033d411e Show keyboard when search box opened 2012-02-15 23:38:04 -06:00
Christopher Eby
5d086bb82d Use LruCache for cover art and no cache in CoverView 2012-02-15 23:37:33 -06:00
Christopher Eby
623a1b2332 Remove fullscreen cover art mode 2012-02-13 21:37:31 -06:00
Christopher Eby
4a91d0ac9e Fix landscape long widget 2012-02-13 00:53:09 -06:00