OSDN Git Service

android-x86/packages-apps-Eleven.git
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

9 years agoEleven: Add two sliding panels to the player
linus_lee [Fri, 22 Aug 2014 01:52:12 +0000 (18:52 -0700)]
Eleven: Add two sliding panels to the player

This does most of the work to change the player activity to a fragment
and integrate the sliding panel logic.  Since this is a pretty large change
I'll be checking this piece in first and then continue to hook up the remaining pieces

Change-Id: Ibc8ee392a939a4a965a3164558ccf075b4d35567

9 years agoEleven: Add SlidingUpPanel classes from umano
linus_lee [Thu, 21 Aug 2014 00:49:59 +0000 (17:49 -0700)]
Eleven: Add SlidingUpPanel classes from umano

Change-Id: I3d938baed7b3d018c1d7976db23cf302325df12a

9 years agoEleven: strip out app-level theming
Roman Birg [Fri, 15 Aug 2014 21:19:37 +0000 (14:19 -0700)]
Eleven: strip out app-level theming

Because we want to be able to #blamethemes for real.

Change-Id: I4730f96eaf7d5d77b3886aa65b2a739ace38ae3f
Signed-off-by: Roman Birg <roman@cyngn.com>
9 years agoEleven: Fix a crash when clicking the fragment header caused by the section headers
linus_lee [Wed, 20 Aug 2014 21:27:50 +0000 (14:27 -0700)]
Eleven: Fix a crash when clicking the fragment header caused by the section headers

There was a mix beween the position of the underlying adapter and the wrapped adapter

Change-Id: I3adee6606e4c2bb7e58288d1f67e714ed92e3599

9 years agoEleven: Fix the default artwork image bugs
linus_lee [Thu, 21 Aug 2014 20:45:30 +0000 (13:45 -0700)]
Eleven: Fix the default artwork image bugs

Sometimes the artwork is black and sometimes they load at the wrong size.
This patch should fix both of those scenarios with no noticeable performance
difference

Change-Id: I33e2785f7e8739d686aedfd94d4a33b718e810ad

9 years agoEleven: Add Section Headers
linus_lee [Mon, 18 Aug 2014 23:45:24 +0000 (16:45 -0700)]
Eleven: Add Section Headers

This implements section headers for the song/album/artist fragments for each of the sort types
including dates, numbers, durations, alphabetical etc.  The ui will need to be tweaked to look
better, but that is pending UX.  There is a bug with localization (like Chinese songs)
where we could create a valid section header but from an alphabetical it doesn't look correct.
I will look at this afer this big check-in

Change-Id: Ibfc09bb12ebf61c668f135358f65f1e7947bac79

9 years agoEleven: cleanup Android.mk files
Roman Birg [Thu, 14 Aug 2014 22:48:07 +0000 (15:48 -0700)]
Eleven: cleanup Android.mk files

Change-Id: I5000515459d654214fb9dfe0c12b1a47e48d701f
Signed-off-by: Roman Birg <roman@cyngn.com>
9 years agoRepackaged com.andrew.apollo to com.cyngn.eleven
Linus Lee [Mon, 4 Aug 2014 22:05:06 +0000 (15:05 -0700)]
Repackaged com.andrew.apollo to com.cyngn.eleven

Change-Id: Ifc925f29f4028afd359375a1470c129b6528e74f

9 years agoAutomatic translation import
Michael Bestas [Fri, 1 Aug 2014 00:03:14 +0000 (03:03 +0300)]
Automatic translation import

Change-Id: I0fc4b59c9fa8404e19cb3609f235571500df21ea

9 years agoMerge "Display the song duration in the queue and info views" into cm-11.0
Danny Baumann [Sat, 26 Jul 2014 11:55:04 +0000 (11:55 +0000)]
Merge "Display the song duration in the queue and info views" into cm-11.0

9 years agoAutomatic translation import
Michael Bestas [Thu, 24 Jul 2014 20:00:30 +0000 (23:00 +0300)]
Automatic translation import

Change-Id: Icce957bfb213a655d7b238a7c77cd349c98e3673

9 years agoAutomatic translation import
Michael Bestas [Fri, 11 Jul 2014 10:06:20 +0000 (13:06 +0300)]
Automatic translation import

Change-Id: Ibfbc57dcfff073c151edfccf33f2b6581d76269a

9 years agoDisplay the song duration in the queue and info views
Laurentiu Nicola [Fri, 27 Jun 2014 15:43:37 +0000 (18:43 +0300)]
Display the song duration in the queue and info views

Change-Id: Ia76556d55e150142a3c1155126fb41ac12323c43

9 years agoAutomatic translation import
Michael Bestas [Sun, 29 Jun 2014 20:58:43 +0000 (23:58 +0300)]
Automatic translation import

Change-Id: Iaa4918129b099fad42c644b6d304930ba2d7e223

9 years agoapollo: update media cursor according to passed uri
Jorge Ruesga [Fri, 27 Jun 2014 23:04:03 +0000 (01:04 +0200)]
apollo: update media cursor according to passed uri

Check whether an external app is passing a MediaStore.File or MediaStore.Audio.Media uri
and update the cursor according to that uri.
JIRA: CYAN-4437
Issue: https://jira.cyanogenmod.org/browse/CYAN-4437

Change-Id: Ib378be6c2906bf35a69a34a95a81d1f3f77f9cce
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
10 years agoApollo: fix npe when there is no data in the errorelement.
Shareef Ali [Mon, 23 Jun 2014 22:30:23 +0000 (00:30 +0200)]
Apollo: fix npe when there is no data in the errorelement.

PS5: fix a regression which causes a crash elsewhere.
Change-Id: Ib1464e8ca0e1f61533ce0b0cd172accc21c21ce0
Jira: CYAN-2839

10 years agoAutomatic translation import
Michael Bestas [Sat, 21 Jun 2014 11:45:42 +0000 (14:45 +0300)]
Automatic translation import

Change-Id: I086e8cdae02290e9153754f1c0a40abe6256ba4d

10 years agoApollo: Allow reading external storage
Shareef Ali [Sat, 14 Jun 2014 02:38:16 +0000 (22:38 -0400)]
Apollo: Allow reading external storage

Change-Id: Ifeb30898036b6e3390e416bfebd22679deb367bf
JIRA: CYAN-3867

10 years agoAutomatic translation import
Michael Bestas [Thu, 12 Jun 2014 17:33:18 +0000 (20:33 +0300)]
Automatic translation import

Change-Id: Ida0b3098ac6e8b22310ad672f81f146403ba2c61

10 years agoAutomatic translation import
Michael Bestas [Fri, 30 May 2014 14:48:06 +0000 (17:48 +0300)]
Automatic translation import

Change-Id: Iba7b253bd132b0b85df964289bb179a4c6b3f5cd

10 years agoAutomatic translation import
Michael Bestas [Sun, 25 May 2014 11:45:41 +0000 (14:45 +0300)]
Automatic translation import

Change-Id: I27d1ce6da94522414e7801556851554dd77e08a7

10 years agoAutomatic translation import
Michael Bestas [Tue, 20 May 2014 22:50:29 +0000 (01:50 +0300)]
Automatic translation import

Change-Id: I8e622662fa84b45e7b7360281d15532c12d460e1

10 years agoAutomatic translation import
Michael Bestas [Thu, 8 May 2014 22:06:24 +0000 (01:06 +0300)]
Automatic translation import

Change-Id: I7dd5e47ef168b863f0c64d66a47b3deb891837bf

10 years agoAutomatic translation import
Michael Bestas [Fri, 25 Apr 2014 19:44:29 +0000 (22:44 +0300)]
Automatic translation import

Change-Id: Iff184c230fff5b6a6fe78e7f1bffafda76352b31

10 years agoAutomatic translation import
Michael Bestas [Thu, 17 Apr 2014 15:20:45 +0000 (18:20 +0300)]
Automatic translation import

Change-Id: I001eaede9d371f05f6f1607d5d62bbda81996438

10 years agoAutomatic translation import
Michael Bestas [Thu, 10 Apr 2014 14:40:31 +0000 (17:40 +0300)]
Automatic translation import

Change-Id: Iedc22ce41ac4600d5b9f8c1159ba2a0fcb89e5f0

10 years agoInitial translation import
Michael Bestas [Wed, 2 Apr 2014 16:59:24 +0000 (19:59 +0300)]
Initial translation import

Change-Id: I415c88b6fb9fbd5debb71fb0aafa7dd4deec5195

10 years agoApollo: Update default album art
Ethan Chen [Wed, 26 Mar 2014 21:10:15 +0000 (14:10 -0700)]
Apollo: Update default album art

* PS 4: Fix some pixels around the edges
* PS 5: Add xxhdpi asset

Change-Id: Id876a095ea54ebfed1ad7dfc41d678e709e37332

10 years agoApollo: Avoid crash when attempting to load many items
Ethan Chen [Thu, 27 Mar 2014 22:17:49 +0000 (15:17 -0700)]
Apollo: Avoid crash when attempting to load many items

* Thread pool executor will reject additional tasks when it has
  exhausted it's queue space causing Apollo to crash.
* Load default artwork if executor is too busy.

Change-Id: Ie25182ede0cfbd0ca8595dbb1f8c024a13a09d93

10 years agoApollo: Use correct preference keys for artwork download
Ethan Chen [Thu, 27 Mar 2014 20:51:19 +0000 (13:51 -0700)]
Apollo: Use correct preference keys for artwork download

* These settings were not being respected because the preference key was
  wrong.

Change-Id: I2f6733b6de206a76ce1f6899beced36922653b05

10 years agoFix Apollo list padding
GiorgioAresu [Sun, 23 Mar 2014 16:42:24 +0000 (17:42 +0100)]
Fix Apollo list padding

Change-Id: I0fcec936f78eaf786ff59ab000510134f993fdbd

10 years agoHandle album and artist view intents
myfreeweb [Wed, 12 Mar 2014 17:10:27 +0000 (21:10 +0400)]
Handle album and artist view intents

Starting playback of an album (or all songs by artist) is very useful.
My current use case is a music library smartwatch app,
like Peapod for Pebble 1.0 and iOS.

Relevant SO question: http://stackoverflow.com/q/15571153/239140

Change-Id: Id6026176436be3d207c7fbf150044adfc14258e2

10 years agoMerge "Fix headset button double-click handling with screen off." into cm-11.0
Danny Baumann [Mon, 3 Mar 2014 10:26:44 +0000 (10:26 +0000)]
Merge "Fix headset button double-click handling with screen off." into cm-11.0