1376 Commits

Author SHA1 Message Date
Christopher Eby
c307995b73 Add a beep for headset button double-click
Also adds missing header to PrefKeys
2012-05-16 10:00:43 -05:00
Christopher Eby
57975df691 Use transparent drawable for Widget D fallback
Closes #61
2012-05-15 19:49:12 -05:00
Christopher Eby
09825c0d71 Make title, album, and artist multi-line when extra info is visible
Closes #64
2012-05-15 14:18:58 -05:00
Christopher Eby
be9e298a72 Add play or enqueue library action; make it the default
As suggested by Jonas Thiem
2012-05-15 13:44:23 -05:00
Christopher Eby
0d5f83c7fa Move all preference string contants into PrefKeys 2012-04-13 05:32:22 -05:00
nferenc
df8de4f3b4 New white widget 2012-03-30 17:58:14 -05:00
Christopher Eby
f94493bd91 Actually lazy load sensor manager 2012-03-26 01:45:10 -05:00
Christopher Eby
e6d74b6a1b Split preferences into multiple screens; add about page 2012-03-24 03:46:24 -05:00
Christopher Eby
0965430b64 Fix some deprecation warnings 2012-03-24 02:25:39 -05:00
Christopher Eby
cc582a2842 TargetApi annontations for lint
This makes the CompatHoneycomb tab listener an inner class instead
of an anonymous class so it can be annotated
2012-03-23 15:23:15 -05:00
Christopher Eby
2bd5151ffe Fix action tab bar in landscape mode
It was displaying as NAVIGATION_MODE_LIST
2012-03-16 13:42:46 -05:00
Christopher Eby
8056a06d81 Default to artist,album,track sort order for albums and songs 2012-03-14 21:03:59 -05:00
Christopher Eby
3f1e1b04bf Add "More from artist" and "More from album" 2012-03-14 20:57:21 -05:00
Christopher Eby
131bdc4507 Workaround bug in ICS's handling of backspace
This was causing backspace to delete two characters instead of one on
ICS
2012-03-14 17:43:29 -05:00
Christopher Eby
467009169b Code cleanup 2012-03-14 16:18:12 -05:00
Christopher Eby
ac8ae6dc9f Load sensor manager as needed 2012-03-13 16:39:51 -05:00
Christopher Eby
61ec1b9df6 Fix playback layout on Froyo and below
Oops.
2012-03-13 16:21:43 -05:00
Christopher Eby
e6dd92f3e4 Only trim random songs in addSongs when in random mode 2012-03-13 15:45:34 -05:00
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