OSDN Git Service

android-x86/packages-apps-Eleven.git
9 years agoEleven: Make fastforward/rewind more reliable
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

9 years agoEleven: Remove some dead code and make app widgets just open up home activity
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

9 years agoEleven: Update Strings and logic based on localization feedback
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

9 years agoEleven: Fix IndexOutOfBounds exception when shuffling or repeating
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

9 years agoEleven: Fix soft keyboard on pop up dialog
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

9 years agoEleven: Update music note asset
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

9 years agoEleven: ignore clicks on ArtistDetail header
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

9 years agoEleven: Fix top tracks to play the track you select
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

9 years agoEleven: Change the divider lines on Play Queue to light (used to be dark)
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

9 years agoEleven - Fixing an issue in ArtistDetail page wherein the hero image
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

9 years agoEleven: Update UI when removing tracks from Playlist
Raj Yengisetty [Thu, 23 Oct 2014 23:07:04 +0000 (16:07 -0700)]
Eleven: Update UI when removing tracks from Playlist

Change-Id: If03d79b88f422b1b1b68c87386d2dfbc8c209ce9

9 years agoEleven: Show scroll bar in PlaylistDetailFragment
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

9 years agoEleven: Fix action bar spacing
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

9 years agoEleven: show empty view in Now Playing when queue empty
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

9 years agoEleven: update assets for Now Playing screen with proper sizes
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

9 years agoEleven: Fix DropSortListView in the QueueFragment
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

9 years agoEleven - Fix MusicPlaybackSerivce to show the proper metadata when a
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

9 years agoEleven: Album art in bottom header bar doesn't get updated when
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

9 years agoEleven: Only enable proguard obfuscation on user builds
Raj Yengisetty [Wed, 22 Oct 2014 22:12:36 +0000 (15:12 -0700)]
Eleven: Only enable proguard obfuscation on user builds

Change-Id: Ib0c0ad1ada0bd29fff594baaf6b4a77740485416

9 years agoEleven: Fix NPE when updating positions in DragSortListView
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

9 years agoEleven: Pull in string resources and make tweaks
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

9 years agoEleven: update queue icon
Wilhelm Fitzpatrick [Tue, 21 Oct 2014 23:26:12 +0000 (16:26 -0700)]
Eleven: update queue icon

Change-Id: I0eb9ddd918fb6935786acf39e0dc6b283baec7bb

9 years agoEleven: Queue redlines and miscellanious
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

9 years agoEleven: redlines for ArtistDetail
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

9 years agoEleven: Update app widgets and notification
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

9 years agoEleven: When changing Artist image or Album art update cache on bg thread
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

9 years agoEleven - change the artist detail view's hero image to be scaled and top-left aligned
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

9 years agoEleven: make sure all lists are using consistent margins
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

9 years agoEleven: Fix resource for search icon in Player Fragment
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

9 years agoEleven: redlines for Now Playing screen
Wilhelm Fitzpatrick [Fri, 17 Oct 2014 05:49:50 +0000 (22:49 -0700)]
Eleven: redlines for Now Playing screen

Change-Id: Iad45c6ebb4f4c541a18d4914c23caae4fa8f4ed4

9 years agoEleven: Updated app icon
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

9 years agoEleven - Enable proguard
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

9 years agoEleven : Clicking on a song in the Album view or Artist view adds all of the songs...
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

9 years agoEleven: Re-add ability to change artist image and album art
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

9 years agoEleven: updated Album Tab to v2 redlines
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

9 years agoEleven : Vertically align the Song info and Album info in the Album detail view
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

9 years agoEleven : Changes to Album Detail page
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

9 years agoResource clean up for Play button
Raj Yengisetty [Tue, 14 Oct 2014 21:20:15 +0000 (14:20 -0700)]
Resource clean up for Play button

Change-Id: Ieb75120a713069c4648b60be299f62ef733a62d8

9 years agoEleven: Remove unused strings, rip out share, change caps to use xml attributes
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

9 years agoEleven: Change order of overflow menu
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

9 years agoEleven: Update top tab bar to be closer to the spec
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

9 years agoEleven : switch to toasts positioned towards the bottom of the screen to convey...
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

9 years agoEleven: Fix action bar header text size/color/style
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

9 years agoEleven: Change time to not use days or seconds
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

9 years agoEleven: add hidden buttons actions as overflow actions instead
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

9 years agoEleven: Fix regression in smart playlist navigation
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

9 years agoEleven: Add song indicators, change ProfileSongAdapter to use SongAdapter
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

9 years agoEleven: Fix artist header transparency
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

9 years agoEleven: Rip out palette code and use a simple gray scrim, adjust icons a bit
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

9 years agoEleven: Fix Playlist header sometimes disappearing because it gets released
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

9 years agoEleven: Remove shadow from top bar
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

9 years agoEleven: Fix queue to use position and not audio id to show the play pause icon
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

9 years agoEleven: Add loading dialogs to all fragments
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

9 years agoEleven: Move most activities to fragments to improve perf
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

9 years agoEleven: Fix regression where blur meta info was not updating
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

9 years agoEleven: Fix crash for non-public api
linus_lee [Wed, 1 Oct 2014 23:39:51 +0000 (16:39 -0700)]
Eleven: Fix crash for non-public api

Change-Id: I98bec9a50c43d7a49fae631883f1fbf53f816659

9 years agoEleven: Update the lists when things change
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

9 years agoEleven: Fix most of the async tasks related crash and improve image loading perf
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

9 years agoEleven: add empty view to play queue
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

9 years agoEleven: Add the context menu items to the 2nd layer
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

9 years agoEleven: fix arist and album detail to have selection highlight
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

9 years agoEleven: Add context menus to all top level fragments and playlists
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

9 years agoEleven: Move dividers into the list item to allow more flexibility
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

9 years agoEleven: Add search history implementation. Fix padding and a small bug in Top tracks
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

9 years agoEleven: update .gitignore
Linus Lee [Wed, 24 Sep 2014 17:44:29 +0000 (10:44 -0700)]
Eleven: update .gitignore

Change-Id: I02a45bfd025b35d484d70805cf95ca9767089506

9 years agoEleven: Merge multiple db into one before it is too late!
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

9 years agoThis hooks up the show all part of the search as well as footers
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

9 years agofix tabbing
linus_lee [Mon, 22 Sep 2014 18:00:46 +0000 (11:00 -0700)]
fix tabbing

Change-Id: Ieb7cb3486637f05840ecc58ef912585bebee69b5

9 years agoEleven: fix lists so padding/margins are inside the ListView
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

9 years agoEleven: Move recents logic to song level instead of album level and enable it
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

9 years agoEleven: remove dead code and recent widget
linus_lee [Fri, 19 Sep 2014 01:47:17 +0000 (18:47 -0700)]
Eleven: remove dead code and recent widget

Change-Id: I635ec96493b9c2bdf173c0dad726edd6c30bef50

9 years agoEleven: This adds the playlist top artist and song artwork logic
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

9 years agoEleven: make sure genre is a displayable value
Wilhelm Fitzpatrick [Thu, 18 Sep 2014 22:44:37 +0000 (15:44 -0700)]
Eleven: make sure genre is a displayable value

Change-Id: Ie0b1dc8c3f54939b66cfe1e6a83485feabfa5bfd

9 years agoEleven: This adds the empty state for all pages
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

9 years agoEleven: AlbumDetailPage implemented according to red lines
Wilhelm Fitzpatrick [Fri, 12 Sep 2014 23:10:08 +0000 (16:10 -0700)]
Eleven: AlbumDetailPage implemented according to red lines

Change-Id: I6b5d5051951eda26018f1be67d19aab27af9ae1a

9 years agoEleven: Add Top Tracks smart playlist and rework some look and feel
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

9 years agoEleven: combine similar logic from detail views into base class
Wilhelm Fitzpatrick [Thu, 11 Sep 2014 00:58:31 +0000 (17:58 -0700)]
Eleven: combine similar logic from detail views into base class

Change-Id: Id6f3f92279cd8000b08a3d3c3d1a307768903667

9 years agoEleven: Change playlist to the new layout, rip out dead code
linus_lee [Tue, 9 Sep 2014 23:28:10 +0000 (16:28 -0700)]
Eleven: Change playlist to the new layout, rip out dead code

Still missing the image based on the top played - this turned out to be larger so I'm
moving that to a separate changelist.  Some code similar to the ArtistDetailPage but
not enough to warrant sharing of code

Change-Id: I84454590c8d9580ca42ac8254bc3648368d233a3

9 years agoEleven: Adjust height of the pop up msg based on action bar visibility
linus_lee [Fri, 5 Sep 2014 19:11:17 +0000 (12:11 -0700)]
Eleven: Adjust height of the pop up msg based on action bar visibility

Change-Id: I958b1763d46ce79ef57b05460c1efd5e4147f170

9 years agoEleven: Fix add to playlist
linus_lee [Fri, 5 Sep 2014 18:31:38 +0000 (11:31 -0700)]
Eleven: Fix add to playlist

Change-Id: Ic80e87faaec1ac98ff44be88451672129ab8e4bc

9 years agoEleven: Update the search ui to be the latest version minus some features
linus_lee [Fri, 5 Sep 2014 01:09:11 +0000 (18:09 -0700)]
Eleven: Update the search ui to be the latest version minus some features

this doesn't have the show all button or the jump into the new sections but it
looks much better than stock so we'll take it

Change-Id: I72a5d38c5fced13598000776d59a933b249262bf

9 years agoEleven: add new ArtistDetail activity to match redlines
Wilhelm Fitzpatrick [Thu, 4 Sep 2014 23:24:02 +0000 (16:24 -0700)]
Eleven: add new ArtistDetail activity to match redlines

Change-Id: I1cc892d376d424647ee30f1423ee2d444f31c944

9 years agoEleven: decrease overflow menu width
Roman Birg [Thu, 4 Sep 2014 23:43:45 +0000 (16:43 -0700)]
Eleven: decrease overflow menu width

Change-Id: I8e5c2187162708e335ce73f94935a1913819e81b
Signed-off-by: Roman Birg <roman@cyngn.com>
9 years agoEleven: Minor ui tweaks and fix playlist song layout
linus_lee [Fri, 5 Sep 2014 02:57:13 +0000 (19:57 -0700)]
Eleven: Minor ui tweaks and fix playlist song layout

Change-Id: I3d0f93cdc4ab73b546ce19131e0ca6ba40f552d7

9 years agoEleven: add inset padding dividers to queue and playlist song lists
Roman Birg [Thu, 4 Sep 2014 22:27:36 +0000 (15:27 -0700)]
Eleven: add inset padding dividers to queue and playlist song lists

Change-Id: Ib2cadbf1668b99a381a877fba26164e1dd3d7d5e
Signed-off-by: Roman Birg <roman@cyngn.com>
9 years agoEleven: enable panel sliding on profile activity
Roman Birg [Thu, 4 Sep 2014 20:54:15 +0000 (13:54 -0700)]
Eleven: enable panel sliding on profile activity

Change-Id: Ibe1023caa2715539ecc35c08d1c2c7580bfac923
Signed-off-by: Roman Birg <roman@cyngn.com>
9 years agoEleven: Fix the click issue on the browse layer and remove dead code
linus_lee [Thu, 4 Sep 2014 21:12:20 +0000 (14:12 -0700)]
Eleven: Fix the click issue on the browse layer and remove dead code

Previously clicking on the browse layer would dismiss the panel
Clean up dead code

Change-Id: If68daf99cb97902c6a3039a46a64f271e3fd5866

9 years agoEleven: Rip out apollo references, add default artist/playlist images, fix default...
linus_lee [Thu, 4 Sep 2014 18:33:14 +0000 (11:33 -0700)]
Eleven: Rip out apollo references, add default artist/playlist images, fix default blur to default blur transition

Default playlist image not hooked up yet - that will be in the next larger check-in

Change-Id: I7c6d4c17e1d9e14b3379469f8d8eaf6d1a091ef1

9 years agoEleven: update Profile Activity to have sliding panel
Roman Birg [Thu, 4 Sep 2014 18:38:47 +0000 (11:38 -0700)]
Eleven: update Profile Activity to have sliding panel

* Split out common sliding panel logic into SlidingPanelActivity.java so
multiple activities can inherit from it
* updated intents to go through Home Activity

Change-Id: I5cf880c961cdd9e763231eb5418cd6632a52c5f5
Signed-off-by: Roman Birg <roman@cyngn.com>
9 years agoEleven: Update the bottom action bar to be latest, add update playlist view
linus_lee [Thu, 4 Sep 2014 05:46:09 +0000 (22:46 -0700)]
Eleven: Update the bottom action bar to be latest, add update playlist view

Playlists: add images and show # of songs
HomeACtivity: fix the jumping back behavior

Change-Id: I6327de25c4a4286c575adb2bb86766ed947c14b1

9 years agoEleven: lots of ui tweaks (fonts, padding, grid layout) and cancel tasks smarter
linus_lee [Thu, 4 Sep 2014 02:48:29 +0000 (19:48 -0700)]
Eleven: lots of ui tweaks (fonts, padding, grid layout) and cancel tasks smarter

Change-Id: Ifffd2ef386c301d546d4182bc5c3bf303194021c

9 years agoEleven: Add blurring behind the now playing and the queue fragments and fixes a few...
linus_lee [Wed, 3 Sep 2014 01:57:39 +0000 (18:57 -0700)]
Eleven: Add blurring behind the now playing and the queue fragments and fixes a few bugs

In addition to blurring, hide non-english headers, and fix the gripper colors

Change-Id: I6899a5d1d3bb8c6c7711652a618b1bdc47abcb1f

9 years agoEleven: Add circular progress bar logic and hook into main view and queue view
linus_lee [Fri, 29 Aug 2014 02:43:43 +0000 (19:43 -0700)]
Eleven: Add circular progress bar logic and hook into main view and queue view

This hooks up most of the circular progress bar logic but is pending design redlines
to fill in the rest of the parts

Change-Id: Ibeb0c724aae7ad8ddf6b216ce7a8b73464112c0e

9 years agoEleven: Add a lot of the styling/colors to the Eleven app
linus_lee [Sat, 30 Aug 2014 02:44:58 +0000 (19:44 -0700)]
Eleven: Add a lot of the styling/colors to the Eleven app

There is still quite a few pieces missing like menu, the music
player section, and tweaking of margins and removing of the action
bar, but this change was getting so large I wanted to get this in
first

Change-Id: I3dfa7aff97810b80187eba41435f43edee828213

9 years agoEleven: This adds swiping gestures to the music player in the main area
linus_lee [Fri, 29 Aug 2014 00:28:26 +0000 (17:28 -0700)]
Eleven: This adds swiping gestures to the music player in the main area

Adds a view pager with album art to the main browse area.  This also fixes a few
bugs around the queueing/playback logic without re-writing.  After the demo, we need
to sit down and analyze whether the compromised solution is sufficient or whether we
want to do a full re-write of the queueing logic.  For now, it has been patched enough
that to the user there are some minor kinks but are pretty rare and more of an annoyance
than an actual problem AFAIK

Change-Id: Ifad19e222714bbe76c4d55708d79b035bad06777

9 years agoEleven: Disable landscape and also fix a bug around landscape (in case we re-enable it)
linus_lee [Wed, 27 Aug 2014 17:53:57 +0000 (10:53 -0700)]
Eleven: Disable landscape and also fix a bug around landscape (in case we re-enable it)

Change-Id: I9bbfa1e179d13e22ca0626c92b737466587f52d3

9 years agoEleven: Rip out favorites logic as it is too similar to playlists
linus_lee [Wed, 27 Aug 2014 02:13:38 +0000 (19:13 -0700)]
Eleven: Rip out favorites logic as it is too similar to playlists

We can add it back in when we have a better definition of what we wants favorites
to be

Change-Id: I6e91ed290414b1226b6a7b78066c7b657727fe5b

9 years agoEleven: Hook back in menu button into the now playing and queue menu buttons
linus_lee [Wed, 27 Aug 2014 00:23:44 +0000 (17:23 -0700)]
Eleven: Hook back in menu button into the now playing and queue menu buttons

Change-Id: I07491fe9c1aac87a599a91136db8f5c395cddab3

9 years agoEleven: Remove view as feature to make the ui simpler
linus_lee [Tue, 26 Aug 2014 18:58:53 +0000 (11:58 -0700)]
Eleven: Remove view as feature to make the ui simpler

As per design and for simplicty, we are dictating the view to be used
in certain screens as opposed to letting users pick and choose

Change-Id: If05ed24ff927a551f3e4242c3e03a4399ea5f0e9

9 years agoEleven: Make queue update smarter and show currently playing song with play/pause
linus_lee [Tue, 26 Aug 2014 01:24:16 +0000 (18:24 -0700)]
Eleven: Make queue update smarter and show currently playing song with play/pause

Change-Id: I95d3779e32923f73a5ec67783b80558f03030989