OSDN Git Service
linus_lee [Tue, 18 Nov 2014 19:22:07 +0000 (11:22 -0800)]
Eleven: Remove last.fm artwork calls until we find an alternative
Change-Id: I091c1054a8455cc70ddb4a6a68e0c125c5e04c59
linus_lee [Wed, 5 Nov 2014 01:52:36 +0000 (17:52 -0800)]
Eleven: Make the adapter changes refresh not jump to the top of the list
https://cyanogen.atlassian.net/browse/MUSIC-122
https://cyanogen.atlassian.net/browse/MUSIC-130
Change-Id: I6216a84eb13d47b1b6a68fef2b698efebf677d9f
Wilhelm Fitzpatrick [Mon, 3 Nov 2014 22:30:09 +0000 (14:30 -0800)]
Eleven: changed AlbumAdapter to use padding for header/footer spacing
Addresses https://cyanogen.atlassian.net/browse/MUSIC-145 and also fixes
regression where AlbumFragment was not displaying the "no music" view
when no music was available.
Change-Id: I89dddb99f396b0560106edc20236cf6754446691
Raj Yengisetty [Tue, 4 Nov 2014 18:59:53 +0000 (10:59 -0800)]
Eleven: Fix cursor finalized prior to close warning messages
https://cyanogen.atlassian.net/browse/MUSIC-152
Change-Id: I7b3425621700fcb334ff4d4e0cc54c9994fda420
Rohit Yengisetty [Mon, 3 Nov 2014 20:20:34 +0000 (12:20 -0800)]
Eleven - Changing the color of the Notification divider line to blue.
Also increasing the inactivity-timeout of the notification to 5
minutes.
https://cyanogen.atlassian.net/browse/MUSIC-160
https://cyanogen.atlassian.net/browse/MUSIC-177
Change-Id: If4c6a961fbec4dd8be43e6c7ba25a42488e70afb
linus_lee [Mon, 3 Nov 2014 20:02:24 +0000 (12:02 -0800)]
Eleven: Fix a slight regression with the blur image loading too often
Not exactly a regression, but some code cleanup that removed duplicate logic exposed this issue
Basically when a worker task completes, it is possible the AsyncTaskContainer will not have a
reference to it anymore, so store the key separately in case
https://cyanogen.atlassian.net/browse/MUSIC-180
Change-Id: I0757133f18758901fee00e3210472b2c1a206ab8
linus_lee [Fri, 31 Oct 2014 23:54:38 +0000 (16:54 -0700)]
Eleven - Fix the PlaylistDetailFragment crash
https://cyanogen.atlassian.net/browse/MUSIC-154
Change-Id: Ifd27b231b0d98df0133f961c0b4bcd5a7c0dfbbc
linus_lee [Fri, 31 Oct 2014 00:25:09 +0000 (17:25 -0700)]
Eleven: Fix some bugs around the blur drawable not loading
I found three main bugs after some painful investigation
1) The stored key was different from the task key causing the check to always
return false, meaning the blurtask was always cancelled. If we tried to load
the same album music 3 times in a row, the blur image will always re-kick off
even though they are the same image
2) Images don't load while scrolling for perf reasons, and for the lists,
the adapters are notified on scroll stop, but the blur image/album art pager/
bottom album art aren't
3) This was the winner - so if we load an image followed by two default images
on the 2nd default image we create the transition drawable but don't set it into
the blur image because it is a duplicate. Inside the transition drawable it takes
the drawable and sets the listener to the transition drawable, so even if though we
don't set it into the imageview, the 1st transition drawable now isn't hooked up properly
and if this happens while the application isn't in the foreground then you can come back
and the transition drawable wouldn't have fired off
https://cyanogen.atlassian.net/browse/MUSIC-173
https://cyanogen.atlassian.net/browse/MUSIC-138
Change-Id: I9f99273bfcfe328179849f2131d4b1b2c98ca088
linus_lee [Thu, 30 Oct 2014 19:28:36 +0000 (12:28 -0700)]
Eleven: Fix Play next to work as expected
https://cyanogen.atlassian.net/browse/MUSIC-66
https://cyanogen.atlassian.net/browse/MUSIC-156
Change-Id: Ia3f7305ccdc7811246f205f52c739e60d408a4ed
linus_lee [Fri, 31 Oct 2014 20:16:37 +0000 (13:16 -0700)]
Eleven: Fix perf for rearranging a very long list
The scroller would want to scroll through the list too quickly and the logic
would execute too much logic during the layout phase - for now just cap the max
scroll speed
https://cyanogen.atlassian.net/browse/MUSIC-174
Change-Id: I61ac30feb43afe672a8a38637b97ee622e332268
Wilhelm Fitzpatrick [Thu, 30 Oct 2014 00:05:59 +0000 (17:05 -0700)]
Eleven: deal with crashes/bad behavior when music files are deleted externally
https://cyanogen.atlassian.net/browse/MUSIC-163
Change-Id: Icb35ed12e6e71dc4ea57b9eb63fba89f7471ebc4
linus_lee [Thu, 30 Oct 2014 20:56:25 +0000 (13:56 -0700)]
Eleven: Fix action bar not updating when deleting a content
calling fragment remove doesn't incur a backstack changed even if it
is the top most fragment, so call popbackstack instead
https://cyanogen.atlassian.net/browse/MUSIC-169
Change-Id: I56314f61033013b736d7ce11178f2a92b52606a2
linus_lee [Tue, 28 Oct 2014 23:03:47 +0000 (16:03 -0700)]
Eleven: some perf improvements mainly when interacting with the widget
The main culprit is passing large default artwork to the remote views
It also appears that the events from the service may fire multiple times but
fixing that is not a small change - for now cache some of the heavier operations
instead
https://cyanogen.atlassian.net/browse/MUSIC-120
Change-Id: I8bbb10357c9d7d1c01ef5e7627efdf8e9b956421
linus_lee [Wed, 29 Oct 2014 23:16:10 +0000 (16:16 -0700)]
Eleven: Make Images load a bit faster
Load the images while the user is touching but not flinging
I tried a more in-depth solution by listening to the scroll listener
but you could see the scroll chop at the end. Probably looking into
loading an image per frame will be the only way to solve this route, but
I'm putting that on the backburner for now
https://cyanogen.atlassian.net/browse/MUSIC-86
Change-Id: I136688c6b6c380afcb34df0f7a7d6fc180da426c
Rohit Yengisetty [Fri, 31 Oct 2014 18:25:06 +0000 (11:25 -0700)]
Eleven - Remember the 'Shuffle' setting when switching playlists.
https://cyanogen.atlassian.net/browse/MUSIC-158
Change-Id: I2b7bec0e68e4976e020bea55e0c6ffbe338c01aa
Rohit Yengisetty [Tue, 28 Oct 2014 15:58:22 +0000 (08:58 -0700)]
Eleven - Modified HomeActivity#onNewIntent to handle media play
requests correctly. Also, transferred the playback control logic from
AudioPlayerFragment to HomeActivity.
https://cyanogen.atlassian.net/browse/MUSIC-4
Change-Id: I1abaa0be6d3a52526ff428b7eef6712e4d751119
Rohit Yengisetty [Thu, 30 Oct 2014 21:05:32 +0000 (14:05 -0700)]
Eleven - Modifying the removal behavior in Play Queue. Only the
selected song is removed from the list.
https://cyanogen.atlassian.net/browse/MUSIC-135
Change-Id: I2a1d89411891358207aa47930613574ba79e36e6
linus_lee [Thu, 30 Oct 2014 20:27:10 +0000 (13:27 -0700)]
Eleven: Handle partially downloaded images more gracefully
If the server interrupts the connection, we don't get a signal but
we can tell based on the content length
Also modified the code to read more than 1 byte at a time
I was able to simulate a repro by forcing the download to quit part
way through
https://cyanogen.atlassian.net/browse/MUSIC-147
Change-Id: I925fb9cef41485b55219ec4d2443ba809c83bce2
Wilhelm Fitzpatrick [Wed, 29 Oct 2014 01:17:15 +0000 (18:17 -0700)]
Eleven: prevent clicks from "leaking through" frontmost fragment
https://cyanogen.atlassian.net/browse/MUSIC-133
Change-Id: If0d7472f5406e946b1d924d6e61512436504255a
Wilhelm Fitzpatrick [Wed, 29 Oct 2014 00:38:56 +0000 (17:38 -0700)]
Eleven: add null-check while scrolling fading fragment to avoid crash
By inspection, it appears getContainingActivity() might return null while
the fragment is being destroyed. Added a null check to prevent a crash in
this eventuality.
https://cyanogen.atlassian.net/browse/MUSIC-129
Change-Id: I534e427f1e0b04a7acd3cca1632717a2b06f4923
Rohit Yengisetty [Tue, 28 Oct 2014 00:50:38 +0000 (17:50 -0700)]
Eleven - Modified overflow / popup menus to be black text on white bg
https://cyanogen.atlassian.net/browse/MUSIC-110
Change-Id: I0a49177d5f263dfa706544d33b6b8897264e584e
linus_lee [Tue, 28 Oct 2014 19:12:06 +0000 (12:12 -0700)]
Eleven: Don't show unknown artist/album entries
https://cyanogen.atlassian.net/browse/MUSIC-117
Change-Id: I02aeca81f35fa3b2f013d01d11e7c5611f70b943
linus_lee [Tue, 28 Oct 2014 02:18:38 +0000 (19:18 -0700)]
Eleven: Translation import
Pull down
9ed0c65dffe6a17550be6e60fb6d57c42b7c49df
Change-Id: I04c4500ef245c9b148cdc9df1705584fdc8ea5cb
linus_lee [Tue, 28 Oct 2014 18:44:03 +0000 (11:44 -0700)]
Eleven: Add a resume check to fix the action bar
https://cyanogen.atlassian.net/browse/MUSIC-62
Change-Id: I3e8d1aa9b805a4f70e35e9882f2c63b7fa537c01
linus_lee [Tue, 28 Oct 2014 01:30:24 +0000 (18:30 -0700)]
Eleven: Make fastforward/rewind more reliable
Part of the logic was in the ui to control the fastforward/rewind
when there is no need, and the asynchronisity of it was causing problems.
This moves the logic for seeking all into the service so that the ui only
tells the service that it should rewind/fastforward, and by how much
https://cyanogen.atlassian.net/browse/MUSIC-167
Change-Id: Id7623a1a755c7b1346874bdcf64126123eafc7d1
linus_lee [Mon, 27 Oct 2014 21:37:42 +0000 (14:37 -0700)]
Eleven: Remove some dead code and make app widgets just open up home activity
https://cyanogen.atlassian.net/browse/MUSIC-62
Change-Id: Ia92ea39f4b528a5f3958a8ce6877b9dc420bb838
linus_lee [Mon, 27 Oct 2014 18:54:59 +0000 (11:54 -0700)]
Eleven: Update Strings and logic based on localization feedback
https://cyanogen.atlassian.net/browse/MUSIC-134
Change-Id: I08f7f60134ceb1b77e37b5a0d33481c1fd0dd747
Raj Yengisetty [Fri, 24 Oct 2014 22:57:06 +0000 (15:57 -0700)]
Eleven: Fix IndexOutOfBounds exception when shuffling or repeating
an recently emptied queue
https://cyanogen.atlassian.net/browse/MUSIC-164
Change-Id: I6a8e2ed2b905901c275ccb7acb290574b54229b9
linus_lee [Fri, 24 Oct 2014 23:56:18 +0000 (16:56 -0700)]
Eleven: Fix soft keyboard on pop up dialog
https://cyanogen.atlassian.net/browse/MUSIC-79
Change-Id: I006926d9cdfce69c11927281ae7d8c1fc459ba80
linus_lee [Fri, 24 Oct 2014 23:42:41 +0000 (16:42 -0700)]
Eleven: Update music note asset
https://cyanogen.atlassian.net/browse/MUSIC-141
Change-Id: I1ec8d6793a9ebf320607bad7945ef00961e7fd27
Wilhelm Fitzpatrick [Thu, 23 Oct 2014 21:28:18 +0000 (14:28 -0700)]
Eleven: ignore clicks on ArtistDetail header
https://cyanogen.atlassian.net/browse/MUSIC-126
Change-Id: Ic338b3fc6f60cfb830c38651019b0d77653e9a90
linus_lee [Fri, 24 Oct 2014 00:05:58 +0000 (17:05 -0700)]
Eleven: Fix top tracks to play the track you select
There was a trade-off where we don't update the toptracks list while you are looking at it
because each song play could change the order, but the caveat was playing a song wouldn't
necessarily play the song you want. The fix is to use the adapter's list and not re-query
the list
https://cyanogen.atlassian.net/browse/MUSIC-127
Change-Id: Iec882e156658c76986d365d6b2e5d16416aca9ac
Rohit Yengisetty [Tue, 7 Oct 2014 23:49:19 +0000 (16:49 -0700)]
Eleven: Change the divider lines on Play Queue to light (used to be dark)
https://cyanogen.atlassian.net/browse/MUSIC-70
Change-Id: Ic4a2d367ca3bddbaa4b90047977034093c7ba96c
Rohit Yengisetty [Thu, 23 Oct 2014 20:03:08 +0000 (13:03 -0700)]
Eleven - Fixing an issue in ArtistDetail page wherein the hero image
reverts to an unscaled version on subsequent onResume() calls. Also
taking the opportunity to DRY-up ImageWorker#loadImage methods.
To reproduce the bug :
1. load ArtistDetail for any artist (hero image should be scaled)
2. Turn screen off and then back on again
3. hero image should revert back to an unscaled state
Change-Id: I687b192f8480e2cfa628b8ad3f4cb4bdfa6945e9
Raj Yengisetty [Thu, 23 Oct 2014 23:07:04 +0000 (16:07 -0700)]
Eleven: Update UI when removing tracks from Playlist
Change-Id: If03d79b88f422b1b1b68c87386d2dfbc8c209ce9
Raj Yengisetty [Wed, 22 Oct 2014 20:45:23 +0000 (13:45 -0700)]
Eleven: Show scroll bar in PlaylistDetailFragment
https://cyanogen.atlassian.net/browse/MUSIC-124
Change-Id: I1c2c2be670bf78f8b77f7592ddcd4cd27959e608
Raj Yengisetty [Wed, 22 Oct 2014 00:38:40 +0000 (17:38 -0700)]
Eleven: Fix action bar spacing
https://cyanogen.atlassian.net/browse/MUSIC-45
Change-Id: I02f4b72db7176eb815610133b1dc4c9507c196d7
Wilhelm Fitzpatrick [Wed, 22 Oct 2014 22:45:11 +0000 (15:45 -0700)]
Eleven: show empty view in Now Playing when queue empty
Change-Id: I79be089bf35735e391032116c85dfa5b73019faf
Wilhelm Fitzpatrick [Thu, 23 Oct 2014 19:46:16 +0000 (12:46 -0700)]
Eleven: update assets for Now Playing screen with proper sizes
Change-Id: I45229ff75686963b89df9b3f69999089b75a0d20
Raj Yengisetty [Thu, 23 Oct 2014 02:23:20 +0000 (19:23 -0700)]
Eleven: Fix DropSortListView in the QueueFragment
https://cyanogen.atlassian.net/browse/MUSIC-162
Change-Id: I31d2242507431e82fc7278f6dcbe64057e034d13
Rohit Yengisetty [Wed, 22 Oct 2014 00:24:59 +0000 (17:24 -0700)]
Eleven - Fix MusicPlaybackSerivce to show the proper metadata when a
downloaded audio file is playing. A call to notify UI of a change in
the song metada was missing which consequently led to song information
not updating in the audio player UI. The ability to handle download
uri ("content://downloads/*") has been added.
The Jira ticket states that there itself isn't working, but
MediaPlayer was able to handle download uri and playback the audio
file. There was code missing to get audio info in such a case.
https://cyanogen.atlassian.net/browse/MUSIC-4
Change-Id: I2c642c337c42c28ac28237de5a655ee55b5b8d33
Raj Yengisetty [Wed, 22 Oct 2014 21:55:55 +0000 (14:55 -0700)]
Eleven: Album art in bottom header bar doesn't get updated when
changing tracks to a track without album art
https://cyanogen.atlassian.net/browse/MUSIC-65
Change-Id: I90342190a7cd07559d54ee059dfe406bf08bea73
Raj Yengisetty [Wed, 22 Oct 2014 22:12:36 +0000 (15:12 -0700)]
Eleven: Only enable proguard obfuscation on user builds
Change-Id: Ib0c0ad1ada0bd29fff594baaf6b4a77740485416
Raj Yengisetty [Wed, 22 Oct 2014 19:25:49 +0000 (12:25 -0700)]
Eleven: Fix NPE when updating positions in DragSortListView
https://cyanogen.atlassian.net/browse/MUSIC-134
Change-Id: I3b68ed44db25b9dfddccd067fca4c2da9b25da90
linus_lee [Wed, 22 Oct 2014 01:14:41 +0000 (18:14 -0700)]
Eleven: Pull in string resources and make tweaks
https://cyanogen.atlassian.net/browse/MUSIC-54
Change-Id: Iee081700c62073d803b94663553c527e70c5c0f2
Wilhelm Fitzpatrick [Tue, 21 Oct 2014 23:26:12 +0000 (16:26 -0700)]
Eleven: update queue icon
Change-Id: I0eb9ddd918fb6935786acf39e0dc6b283baec7bb
Wilhelm Fitzpatrick [Tue, 21 Oct 2014 22:56:18 +0000 (15:56 -0700)]
Eleven: Queue redlines and miscellanious
Update play queue to bring as close to redlines as possible. Also fixed
padding for section headers and a few other small details.
https://cyanogen.atlassian.net/browse/MUSIC-57
Change-Id: I21b8642ee9013f071081c7415af770cf60acbd6b
Wilhelm Fitzpatrick [Tue, 21 Oct 2014 00:52:10 +0000 (17:52 -0700)]
Eleven: redlines for ArtistDetail
https://cyanogen.atlassian.net/browse/MUSIC-57
Change-Id: I48484c5c01eaa7ff7da3037bf16437a91b9a45b7
Raj Yengisetty [Mon, 20 Oct 2014 23:54:08 +0000 (16:54 -0700)]
Eleven: Update app widgets and notification
https://cyanogen.atlassian.net/browse/MUSIC-43
Change-Id: Icfd6f2794683bd0402dfc8f7fa545e696a91bd8f
Raj Yengisetty [Fri, 17 Oct 2014 00:32:06 +0000 (17:32 -0700)]
Eleven: When changing Artist image or Album art update cache on bg thread
https://cyanogen.atlassian.net/browse/MUSIC-143
Change-Id: I120a4df7b597829098e116c3b134ba9ee19f6c69
Rohit Yengisetty [Mon, 20 Oct 2014 17:43:27 +0000 (10:43 -0700)]
Eleven - change the artist detail view's hero image to be scaled and top-left aligned
https://cyanogen.atlassian.net/browse/MUSIC-107
Change-Id: If7904a1b9c26d306483fd9098de96ff5f30e3801
Wilhelm Fitzpatrick [Mon, 20 Oct 2014 22:10:48 +0000 (15:10 -0700)]
Eleven: make sure all lists are using consistent margins
https://cyanogen.atlassian.net/browse/MUSIC-57
Change-Id: Id94d8ab2a520cf79d28d897411515e522130271d
Raj Yengisetty [Mon, 20 Oct 2014 20:30:56 +0000 (13:30 -0700)]
Eleven: Fix resource for search icon in Player Fragment
Change-Id: Ie68e1fc4ad5db5f0cba21c98fae4be02cd26f533
Wilhelm Fitzpatrick [Fri, 17 Oct 2014 05:49:50 +0000 (22:49 -0700)]
Eleven: redlines for Now Playing screen
Change-Id: Iad45c6ebb4f4c541a18d4914c23caae4fa8f4ed4
Raj Yengisetty [Mon, 20 Oct 2014 18:49:08 +0000 (11:49 -0700)]
Eleven: Updated app icon
https://cyanogen.atlassian.net/browse/MUSIC-55
Change-Id: I43c2a99be9d9c282dadcf938f8dd0fc32ba15e76
Raj Yengisetty [Thu, 16 Oct 2014 22:44:35 +0000 (15:44 -0700)]
Eleven - Enable proguard
https://cyanogen.atlassian.net/browse/MUSIC-75
Change-Id: I9ad843fea27e2fb0d69488188946a48cdb98c4be
Rohit Yengisetty [Thu, 16 Oct 2014 22:21:04 +0000 (15:21 -0700)]
Eleven : Clicking on a song in the Album view or Artist view adds all of the songs in the corresponding entity to the play queue.
And, adding an empty song queue check in AlbumArtPagerAdapter to prevent crashes
https://cyanogen.atlassian.net/browse/MUSIC-67
https://cyanogen.atlassian.net/browse/MUSIC-119
Change-Id: If02502a84452e028fb6bb70b08bead042cbf5b87
Raj Yengisetty [Wed, 15 Oct 2014 01:00:13 +0000 (18:00 -0700)]
Eleven: Re-add ability to change artist image and album art
https://cyanogen.atlassian.net/browse/MUSIC-61
Change-Id: Id839ea2df1b7a5dd7729ae584ecd72af30f975ee
Wilhelm Fitzpatrick [Thu, 16 Oct 2014 21:42:15 +0000 (14:42 -0700)]
Eleven: updated Album Tab to v2 redlines
Had to partially redo the AlbumAdapter to get the top padding to
scroll correctly, since GridView doesn't natively support headers
Change-Id: I856712a5d215d0a684fff87187fce8d37e519d5a
Rohit Yengisetty [Wed, 15 Oct 2014 22:43:28 +0000 (15:43 -0700)]
Eleven : Vertically align the Song info and Album info in the Album detail view
https://cyanogen.atlassian.net/browse/MUSIC-103
https://cyanogen.atlassian.net/browse/MUSIC-104
Change-Id: I283ed37ed0208ad5b66eeee0934b8e03faa07207
Rohit Yengisetty [Wed, 15 Oct 2014 18:55:34 +0000 (11:55 -0700)]
Eleven : Changes to Album Detail page
* increase margin on line 2 with stopwatch icon
* increase the margins to the left and right of Song list (in line with Phase 2 look)
https://cyanogen.atlassian.net/browse/MUSIC-101
https://cyanogen.atlassian.net/browse/MUSIC-102
Change-Id: I5a81ff31fb47166f982ba6139643dcc5b0b7c2b3
Raj Yengisetty [Tue, 14 Oct 2014 21:20:15 +0000 (14:20 -0700)]
Resource clean up for Play button
Change-Id: Ieb75120a713069c4648b60be299f62ef733a62d8
linus_lee [Wed, 8 Oct 2014 19:16:45 +0000 (12:16 -0700)]
Eleven: Remove unused strings, rip out share, change caps to use xml attributes
https://cyanogen.atlassian.net/browse/MUSIC-54
Change-Id: I831d77a03c28967d97138a9158d378ad0b5b7981
linus_lee [Tue, 14 Oct 2014 02:09:31 +0000 (19:09 -0700)]
Eleven: Change order of overflow menu
https://cyanogen.atlassian.net/browse/MUSIC-116
https://cyanogen.atlassian.net/browse/MUSIC-128
This fix could be better longer-term by potentially switching to enums,
but given time constraints and the impact of this bug, this solution is sufficient
Change-Id: I880e8aa5d3ffc6e60865dfcd755146d0dba961f8
linus_lee [Wed, 8 Oct 2014 23:19:20 +0000 (16:19 -0700)]
Eleven: Update top tab bar to be closer to the spec
https://cyanogen.atlassian.net/browse/MUSIC-82
https://cyanogen.atlassian.net/browse/MUSIC-81
https://cyanogen.atlassian.net/browse/MUSIC-80
Change-Id: I890392fd0b3f937a386b969fc7da867cf0442b54
Rohit Yengisetty [Tue, 14 Oct 2014 19:23:55 +0000 (12:23 -0700)]
Eleven : switch to toasts positioned towards the bottom of the screen to convey messages to user
https://cyanogen.atlassian.net/browse/MUSIC-88
Change-Id: I8a98038a5d7e2819b5f6aa51a505cb9c8b21de81
linus_lee [Mon, 13 Oct 2014 22:26:26 +0000 (15:26 -0700)]
Eleven: Fix action bar header text size/color/style
https://cyanogen.atlassian.net/browse/MUSIC-91
Change-Id: Ieda11e8a96b96bdfe57774a8fd88fec7b253766b
linus_lee [Mon, 13 Oct 2014 22:45:56 +0000 (15:45 -0700)]
Eleven: Change time to not use days or seconds
https://cyanogen.atlassian.net/browse/MUSIC-121
Change-Id: Ie329267aefb04c79aa1f4a73bcb12cf9f72bc269
Wilhelm Fitzpatrick [Thu, 2 Oct 2014 00:24:20 +0000 (17:24 -0700)]
Eleven: add hidden buttons actions as overflow actions instead
Note: renamed a string resource, so it is renamed in all localized files
Change-Id: Ic81184122674d5e7d63000113f5412030895002a
linus_lee [Thu, 9 Oct 2014 04:14:09 +0000 (21:14 -0700)]
Eleven: Fix regression in smart playlist navigation
I inadvertantly switched ordinal to id while changing other ordinals.
Ids are fine but I didn't update the HomeActivity logic
Change-Id: I1f97db3ff3f0e6e94da3fe9dd67184d4c375b516
linus_lee [Fri, 3 Oct 2014 18:06:43 +0000 (11:06 -0700)]
Eleven: Add song indicators, change ProfileSongAdapter to use SongAdapter
Much larger change than anticipated. A look of hook ins into the MusicPlaybackService
Also a lot of changes here and there
Still, a portion of the music playback service needs to be rewritten in bug https://cyanogen.atlassian.net/browse/MUSIC-44
https://cyanogen.atlassian.net/browse/MUSIC-56
Change-Id: I644b4347e1655ebb529cd0dd0a7a34ce2bd399c1
linus_lee [Mon, 6 Oct 2014 20:20:30 +0000 (13:20 -0700)]
Eleven: Fix artist header transparency
https://cyanogen.atlassian.net/browse/MUSIC-59
Change-Id: I49602582798f4bd946fe986bc54f3814ff59d37e
linus_lee [Mon, 6 Oct 2014 18:58:18 +0000 (11:58 -0700)]
Eleven: Rip out palette code and use a simple gray scrim, adjust icons a bit
Icons are now using 40% opacity for disabled states instead of a grayish image
https://cyanogen.atlassian.net/browse/MUSIC-7
Change-Id: I7ebc0c162fae3d0776d23c166458d0876e5fbfff
linus_lee [Mon, 6 Oct 2014 21:09:24 +0000 (14:09 -0700)]
Eleven: Fix Playlist header sometimes disappearing because it gets released
https://cyanogen.atlassian.net/browse/MUSIC-60
Change-Id: I16c716f093e2a6e1e49c07772901ebac56fa6343
linus_lee [Mon, 6 Oct 2014 20:24:11 +0000 (13:24 -0700)]
Eleven: Remove shadow from top bar
https://cyanogen.atlassian.net/browse/MUSIC-83
Change-Id: If3ac297c681a8c1cac669ffca7b94c2455550d6a
linus_lee [Fri, 3 Oct 2014 01:02:20 +0000 (18:02 -0700)]
Eleven: Fix queue to use position and not audio id to show the play pause icon
https://cyanogen.atlassian.net/browse/MUSIC-74
Change-Id: I1687e9743d1d306da8224062ae3c55cbb4de3060
linus_lee [Thu, 2 Oct 2014 19:41:23 +0000 (12:41 -0700)]
Eleven: Add loading dialogs to all fragments
Some fragments intentionally don't show the loading dialog on recreate to prevent a split second flash on the screen
Loading is delayed by 300ms for better user experience
Fixed a small bug in the RecentStore
https://cyanogen.atlassian.net/browse/MUSIC-63
Change-Id: I5bd7ee25234d0146887f152bbcb57fed6bbb2c01
linus_lee [Tue, 30 Sep 2014 23:51:08 +0000 (16:51 -0700)]
Eleven: Move most activities to fragments to improve perf
Change-Id: I20cdf01a4b1a3554dfbd1c9bc2c14d4f77560ec8
linus_lee [Thu, 2 Oct 2014 00:11:52 +0000 (17:11 -0700)]
Eleven: Fix regression where blur meta info was not updating
Change-Id: I4621797b7fcad16bd549dc1e613e083e7b3aaa0e
linus_lee [Wed, 1 Oct 2014 23:39:51 +0000 (16:39 -0700)]
Eleven: Fix crash for non-public api
Change-Id: I98bec9a50c43d7a49fae631883f1fbf53f816659
linus_lee [Mon, 29 Sep 2014 22:10:37 +0000 (15:10 -0700)]
Eleven: Update the lists when things change
https://cyanogen.atlassian.net/browse/MUSIC-50
There is still a race condition where you delete an artist and immediately click it
and can get it to crash. Not quite sure how to fix it as restarting the loader doesn't
do it. The only thing I can think of is temporarily remove it from the adapter and also
restart the loader. Since this is less likely scenario I've separated it into its own bug
https://cyanogen.atlassian.net/browse/MUSIC-76
Change-Id: I4a1a705d311c991686b1aa5ec02ff6a1a9f9241d
linus_lee [Tue, 30 Sep 2014 01:11:34 +0000 (18:11 -0700)]
Eleven: Fix most of the async tasks related crash and improve image loading perf
Three main points of problems:
1) Creating a temp file with the same name can cause a pause of up to 50s that causes the worker tasks to
not be processed for that long
2) Keep track of songs that have hit the web in memory and don't hit them again. We might want to move it to a db
in the future
3) Cancelled tasks are not automatically removed from the queue, so added a rejection policy that will purge them
when it gets too full
https://cyanogen.atlassian.net/browse/MUSIC-51
Change-Id: I441c4bfb4452bd77ca15b5b62198fe9235587074
Wilhelm Fitzpatrick [Tue, 30 Sep 2014 01:32:42 +0000 (18:32 -0700)]
Eleven: add empty view to play queue
Fixed issue where adapter was not cleared when last song was removed.
Clear album art from now playing bar when last item in queue is removed.
Change-Id: I4827203a9399faab213320a2664e3f6842897189
linus_lee [Sat, 27 Sep 2014 00:50:34 +0000 (17:50 -0700)]
Eleven: Add the context menu items to the 2nd layer
Part 2/2
Fix the delete case scenarios that I could find where lists were not updating
https://cyanogen.atlassian.net/browse/MUSIC-22
Change-Id: I96a97378b5cfd06239e6a470e16c081f55daa012
Wilhelm Fitzpatrick [Sat, 27 Sep 2014 00:35:07 +0000 (17:35 -0700)]
Eleven: fix arist and album detail to have selection highlight
The problem was attaching click listeners directly to the list item views rather
than using an OnItemClickListener on the list view.
Change-Id: I7a5c6a2063622ef66aa463b1ec23025b83efea7e
Linus Lee [Thu, 25 Sep 2014 07:02:30 +0000 (00:02 -0700)]
Eleven: Add context menus to all top level fragments and playlists
This is part 1/2 - will add it to album detali/artist detail page after
Added helper pop up menu class
This also merged songfragment with basicsongframent because of the large similarities
https://cyanogen.atlassian.net/browse/MUSIC-22
Change-Id: I9951fe7238aaff7599f0cb6f655f0677f998bb6b
Linus Lee [Wed, 24 Sep 2014 22:45:13 +0000 (15:45 -0700)]
Eleven: Move dividers into the list item to allow more flexibility
https://cyanogen.atlassian.net/browse/MUSIC-48
Change-Id: I16300e101d439b4c46a14b8ede034ebeda297c6b
linus_lee [Tue, 23 Sep 2014 01:38:29 +0000 (18:38 -0700)]
Eleven: Add search history implementation. Fix padding and a small bug in Top tracks
Padding layouts were wrong in some layouts
Fixed a bug in top tracks where we were looking at id and not loading time
https://cyanogen.atlassian.net/browse/MUSIC-39
Change-Id: Ie304a9a7cc07770a2b699310b0ecbe94142863cf
Linus Lee [Wed, 24 Sep 2014 17:44:29 +0000 (10:44 -0700)]
Eleven: update .gitignore
Change-Id: I02a45bfd025b35d484d70805cf95ca9767089506
linus_lee [Tue, 23 Sep 2014 01:23:30 +0000 (18:23 -0700)]
Eleven: Merge multiple db into one before it is too late!
https://cyanogen.atlassian.net/browse/MUSIC-64
Change-Id: I4b4b7a4ddb3c838c1ddba8b3904143152f59e3b8
linus_lee [Sat, 20 Sep 2014 01:46:07 +0000 (18:46 -0700)]
This hooks up the show all part of the search as well as footers
The divider is slightly off - I think to properly fix it, we need to bring
in the dividers into the list items and not have the list view handle it. I
will add comments to Music-48 to track the divider issue
https://cyanogen.atlassian.net/browse/MUSIC-24
Change-Id: I756064154bc4b217a1981ff39bdee7e8000cf911
linus_lee [Mon, 22 Sep 2014 18:00:46 +0000 (11:00 -0700)]
fix tabbing
Change-Id: Ieb7cb3486637f05840ecc58ef912585bebee69b5
Wilhelm Fitzpatrick [Fri, 19 Sep 2014 02:50:28 +0000 (19:50 -0700)]
Eleven: fix lists so padding/margins are inside the ListView
https://cyanogen.atlassian.net/browse/MUSIC-48
Change-Id: Iaea93f4d97ddb24cf61a5678802fc8bd453a4cd7
linus_lee [Fri, 19 Sep 2014 22:27:31 +0000 (15:27 -0700)]
Eleven: Move recents logic to song level instead of album level and enable it
This also fixes an empty state bug for playlists not showing the proper text
Also adds logic where if ids are not found, they are removed from the SongPlayCount and Recents db
https://cyanogen.atlassian.net/browse/MUSIC-34
Change-Id: I550f0481944a6c2bc82c0270a4f8024c7339d86e
linus_lee [Fri, 19 Sep 2014 01:47:17 +0000 (18:47 -0700)]
Eleven: remove dead code and recent widget
Change-Id: I635ec96493b9c2bdf173c0dad726edd6c30bef50
linus_lee [Fri, 19 Sep 2014 00:18:38 +0000 (17:18 -0700)]
Eleven: This adds the playlist top artist and song artwork logic
Reshuffles a lot of code from ImageWorker/ImageFetcher into ImageUtils and
Separate worker tasks. The artwork logic leverages the top songs db to
figure the top artist as well as the top songs for a playlist and builds images
based on them. There is some basic logic to prevent this code from running all
the time
https://cyanogen.atlassian.net/browse/MUSIC-27
Change-Id: I05d832d4f0810b71ed0c0df184a372771537ccc1
Wilhelm Fitzpatrick [Thu, 18 Sep 2014 22:44:37 +0000 (15:44 -0700)]
Eleven: make sure genre is a displayable value
Change-Id: Ie0b1dc8c3f54939b66cfe1e6a83485feabfa5bfd
linus_lee [Mon, 15 Sep 2014 20:01:01 +0000 (13:01 -0700)]
Eleven: This adds the empty state for all pages
This adds the empty state for playlists and retweaks all the other pages
with the empty state to use this new and updated empty state
https://cyanogen.atlassian.net/browse/MUSIC-26
https://cyanogen.atlassian.net/browse/MUSIC-49
Change-Id: I286e867267dd74c177e0c04f74f71cc3dc301913
Wilhelm Fitzpatrick [Fri, 12 Sep 2014 23:10:08 +0000 (16:10 -0700)]
Eleven: AlbumDetailPage implemented according to red lines
Change-Id: I6b5d5051951eda26018f1be67d19aab27af9ae1a
linus_lee [Thu, 11 Sep 2014 01:01:50 +0000 (18:01 -0700)]
Eleven: Add Top Tracks smart playlist and rework some look and feel
https://cyanogen.atlassian.net/browse/MUSIC-35
https://cyanogen.atlassian.net/browse/MUSIC-29
Change-Id: I3b262e7c0b20e15dcd1ce19f39f26dd6cc6306a2