OSDN Git Service

android-x86/packages-apps-Eleven.git
8 years agoEleven: Simplify a boolean expression
RazorSharp [Mon, 1 Feb 2016 02:17:14 +0000 (07:47 +0530)]
Eleven: Simplify a boolean expression

Change-Id: I6bd01f9a194117238712734757e059aa8e24313c

8 years agoEleven: much material
Joey Rizzoli [Tue, 26 Jan 2016 02:11:46 +0000 (18:11 -0800)]
Eleven: much material

 - Remove old font, let's use the system's
 - Vector drawables
 - Update colors

Change-Id: I6c4335f388c88fd4ce6d10e4995692aaf0679a49
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
8 years agoEleven: Use appropriate String value comparison
RazorSharp [Mon, 1 Feb 2016 02:31:19 +0000 (08:01 +0530)]
Eleven: Use appropriate String value comparison

Change-Id: Iad2ef9085b7f011ccc9e95e9f3874ad5a547daad

8 years agoEleven: Remove unnecessary local variables
RazorSharp [Mon, 1 Feb 2016 02:21:27 +0000 (07:51 +0530)]
Eleven: Remove unnecessary local variables

Change-Id: Ic92632873f75bd2d4569a4700a744a3ca17e99cb

8 years agoAutomatic translation import
Michael Bestas [Tue, 5 Apr 2016 22:17:16 +0000 (01:17 +0300)]
Automatic translation import

Change-Id: Ia2a296e28dfb22dfd52bd18db2b35d2ea4f094ae

8 years agoAutomatic translation import
Michael Bestas [Sun, 27 Mar 2016 21:45:21 +0000 (00:45 +0300)]
Automatic translation import

Change-Id: Iadedb550daccae5527fa818748f20fa3a7f5a091

8 years agoMerge "Fix some scaling issues with non-square album art." into cm-13.0
Danny Baumann [Mon, 21 Mar 2016 10:47:28 +0000 (03:47 -0700)]
Merge "Fix some scaling issues with non-square album art." into cm-13.0

8 years agoAutomatic translation import
Michael Bestas [Thu, 17 Mar 2016 19:58:26 +0000 (21:58 +0200)]
Automatic translation import

Change-Id: Ibddd4a284edd7f3a80b2d6b9b8f0587f06e2bae9

8 years agoAutomatic translation import
Michael Bestas [Fri, 4 Mar 2016 22:17:25 +0000 (00:17 +0200)]
Automatic translation import

Change-Id: I4375dac253206593492c1ea2c93418a1c29af2a9

8 years agoFix some scaling issues with non-square album art.
Danny Baumann [Mon, 29 Feb 2016 13:34:17 +0000 (14:34 +0100)]
Fix some scaling issues with non-square album art.

Change-Id: I541b4ed4c6c0edd09b6419d76566ea0d1fce81da

8 years agoAutomatic translation import
Michael Bestas [Mon, 22 Feb 2016 03:13:16 +0000 (05:13 +0200)]
Automatic translation import

Change-Id: Iea85445f0433aad74c11fcc0e5e87d1e4b5baace

8 years agoCodecleanup: Use Chained append calls to improve the performance
RazorSharp [Mon, 1 Feb 2016 02:23:51 +0000 (07:53 +0530)]
Codecleanup: Use Chained append calls to improve the performance

Change-Id: Ieb9d4ba314d4859f5f17af5cbedd8c06c06ac0b7

8 years agoCodeCleanup : Remove redundant Type Casting
RazorSharp [Mon, 1 Feb 2016 02:33:30 +0000 (08:03 +0530)]
CodeCleanup : Remove redundant Type Casting

Change-Id: I1d539acc4e8bae4a0f9996297936e5c862679660

8 years agoEleven: Synchronization on a non-final field 'mPauseLock'
RazorSharp [Mon, 1 Feb 2016 02:37:58 +0000 (08:07 +0530)]
Eleven: Synchronization on a non-final field 'mPauseLock'

Change-Id: I957b2d5010f31edab105c3ffd553feafe32bb99f

8 years agoAutomatic translation import
Michael Bestas [Sun, 14 Feb 2016 14:24:29 +0000 (16:24 +0200)]
Automatic translation import

Change-Id: Ib23f2140be148368990dc2f4e1b21e72b8931031

8 years agoImprove preview activity behaviour.
Danny Baumann [Tue, 2 Feb 2016 15:19:56 +0000 (16:19 +0100)]
Improve preview activity behaviour.

Move the seek bar to the very end on completion, and make sure the
preview activity isn't added to the (main) player task.

Change-Id: Ic55e2b04b4be4172a7dcca45ff5f30e54c9e5d23

8 years agoAutomatic translation import
Michael Bestas [Tue, 2 Feb 2016 04:59:35 +0000 (06:59 +0200)]
Automatic translation import

Change-Id: I01f8cc82159b25f9ff7b42bd008cb194d1a19010

8 years agoAutomatic translation import
Michael Bestas [Mon, 11 Jan 2016 20:42:21 +0000 (22:42 +0200)]
Automatic translation import

Change-Id: I3d3db920734b28253383a89e93b8cd08c749e3e1

8 years agoMerge "Eleven: Remove wakelock" into cm-13.0
Linus Lee [Tue, 5 Jan 2016 02:36:45 +0000 (18:36 -0800)]
Merge "Eleven: Remove wakelock" into cm-13.0

8 years agoAutomatic translation import
Michael Bestas [Fri, 25 Dec 2015 17:35:47 +0000 (19:35 +0200)]
Automatic translation import

Change-Id: I1a2a08977a35b492180b5908373b25679fb071b3

8 years agoEleven: Remove wakelock
myfluxi [Wed, 23 Dec 2015 00:00:41 +0000 (01:00 +0100)]
Eleven: Remove wakelock

We do not need this, let the device sleep during
(offloaded) playback.

Change-Id: I596b480a6361745b96b547c93f1d5433e18069e0

8 years agoEleven: Add missing RecyclerView support ressources
AdrianDC [Mon, 23 Nov 2015 09:29:26 +0000 (10:29 +0100)]
Eleven: Add missing RecyclerView support ressources

 * Artists list would crash with error :
     "Error inflating class android.support.v7.widget.RecyclerView"

Change-Id: Icc27ef9b8389a9a16eec34562432656bf1726f5d
Signed-off-by: AdrianDC <radian.dc@gmail.com>
8 years agoeleven: Stop using prebuilt support libs
Steve Kondik [Tue, 27 Oct 2015 20:41:19 +0000 (13:41 -0700)]
eleven: Stop using prebuilt support libs

 * For some unknown reason, this copy of the library is crashing
   in the Palette code when we build with Jack.
 * Just use the system version.

Change-Id: I8ad03beeaf11c659e75d7bf3d17288065c5b44bc

8 years agoEleven: lastFM: Replace HttpStatus use with HttpURLConnection
Brandon McAnsh [Fri, 9 Oct 2015 13:20:05 +0000 (09:20 -0400)]
Eleven: lastFM: Replace HttpStatus use with HttpURLConnection

* org.apache.http.* is now deprecated

https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-apache-http-client

Change-Id: Ibd1b044609d8057a67e2928e494c8a0dbd8f8fee
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
8 years agoAutomatic translation import
Michael Bestas [Fri, 2 Oct 2015 21:22:10 +0000 (00:22 +0300)]
Automatic translation import

Change-Id: I3248c408fc498204b733c0002302c90d7789b314

8 years agoAutomatic translation import
Michael Bestas [Thu, 24 Sep 2015 19:00:07 +0000 (22:00 +0300)]
Automatic translation import

Change-Id: I5d217c0fc3f5e47a9214b997bef459483bc81c2e

8 years agoAutomatic translation import
Michael Bestas [Fri, 11 Sep 2015 16:59:00 +0000 (19:59 +0300)]
Automatic translation import

Change-Id: Id54f45929fc6c4c20977f9da410a98dc8b48ea1b

8 years agoREAL_GET_TASKS > GET_TASKS
Abhisek Devkota [Wed, 2 Sep 2015 19:46:53 +0000 (12:46 -0700)]
REAL_GET_TASKS > GET_TASKS

Change-Id: I27dac0467402c7895fbc6f0c956cdf2985c88900

8 years agoAutomatic translation import
Michael Bestas [Mon, 31 Aug 2015 22:32:04 +0000 (01:32 +0300)]
Automatic translation import

Change-Id: I5e59466a1b537e9173fbe01071dcd4ba70de8058

8 years agoAutomatic translation import
Tom Powell [Fri, 21 Aug 2015 18:20:12 +0000 (11:20 -0700)]
Automatic translation import

Change-Id: I08aef66252e59a5d5b28d81fa14a212441802eef

8 years agoAutomatic translation import
Tom Powell [Thu, 20 Aug 2015 21:34:40 +0000 (14:34 -0700)]
Automatic translation import

Change-Id: I09c402c1715d89e72670fdd9cf1e72a0b26275cb

8 years agoAutomatic translation import
Michael Bestas [Mon, 17 Aug 2015 17:01:00 +0000 (20:01 +0300)]
Automatic translation import

Change-Id: I9a33e84708b075cf53f7cdadbb4c7fa9e512379e

8 years agoEleven: Visualizer: Add back landscape mode
Linus Lee [Wed, 12 Aug 2015 00:53:14 +0000 (17:53 -0700)]
Eleven: Visualizer: Add back landscape mode

- Disable visualizer when queue panel is on top

- For some reason, the layout size isn't picked up by its
  parent, so for now force it to be square in onMeasure

Change-Id: I71d3489def08a1ea347801211d92cd113b9cbd5f

8 years agoAdd ability to seek through track with circular motion
Linus Lee [Tue, 28 Jul 2015 00:07:05 +0000 (17:07 -0700)]
Add ability to seek through track with circular motion

With this patch, if you do a circular gesture motion
on the large play button, you can seek the track instead
of using the long press of the next/previous buttons

Also change the progress bar to 1000 to allow for smaller updates

Change-Id: I38512b2439227686bc6363e77b1858dbb5764a9f

8 years agoAutomatic translation import
Tom Powell [Tue, 11 Aug 2015 22:49:10 +0000 (15:49 -0700)]
Automatic translation import

Change-Id: Ie534691c2f70476f3106665f07aaea47125a995c

8 years agoVisualizer tweaks
Utkarsh Gupta [Thu, 23 Jul 2015 05:53:46 +0000 (11:23 +0530)]
Visualizer tweaks

- Show visualizer even when sliding panels
- Hide visualizer in power save mode
- Ignore first 2 bytes of FFT Data - they are quite random
- Hide visualizer in landscape mode
- Reduce color update delay

Change-Id: I90f1a442db2f56f0e4075ff096711c163626731b
Signed-off-by: Utkarsh Gupta <utkarsh.eminem@gmail.com>
8 years agoAutomatic translation import
Michael Bestas [Wed, 5 Aug 2015 14:59:53 +0000 (17:59 +0300)]
Automatic translation import

Change-Id: Iff82672d55475d52a4a9e316d7d1cb1d832ef459

8 years agoAutomatic translation import
Michael Bestas [Mon, 27 Jul 2015 17:49:46 +0000 (20:49 +0300)]
Automatic translation import

Change-Id: Ieef8d0c19082094f71d3037daca2a3c90fb2c993

8 years agoUpgrade visualizer
Utkarsh Gupta [Tue, 21 Jul 2015 11:04:10 +0000 (16:34 +0530)]
Upgrade visualizer

* A different visualizer: http://imgur.com/npV2zyO
* Much smoother than the current one,
  Always stays above 60fps (even in powersave mode).
* Abandon android-visualizer library.
* Set visualizer color alpha to 75%

Change-Id: I08ad5815893735f4427e84d460c4f7a06bf4b019
Signed-off-by: Utkarsh Gupta <utkarsh.eminem@gmail.com>
8 years agoAutomatic translation import
Michael Bestas [Sun, 19 Jul 2015 12:48:08 +0000 (15:48 +0300)]
Automatic translation import

Change-Id: Ic5ba2237f314d8ceec58f05cbf9283f2a6343dd4

8 years agoeleven: fix invalid srt formats
Jorge Ruesga [Mon, 13 Jul 2015 21:45:47 +0000 (23:45 +0200)]
eleven: fix invalid srt formats

Check for invalid time formats in srt files too. If there is an exception loading the file
just throw out the entire file.

Change-Id: Ic6011f843d1c433e9d8d84281c1c98dc5deaf547
JIRA: NIGHTLIES-1552
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
8 years agoAutomatic translation import
Michael Bestas [Sun, 12 Jul 2015 22:01:00 +0000 (01:01 +0300)]
Automatic translation import

Change-Id: I43f9e69ad01926deab83aae02fbe17c2f4067809

8 years agoDynamically generate visualizer color
Utkarsh Gupta [Tue, 7 Jul 2015 08:47:12 +0000 (14:17 +0530)]
Dynamically generate visualizer color

* Set visualizer color along with status bar
* Fix visualizer not showing up after window focus lost
* Cache visualizer parameters

Change-Id: I915e91f485b6e8b8600dad8d9ce304089ba53003
Signed-off-by: Utkarsh Gupta <utkarsh.eminem@gmail.com>
8 years agoAutomatic translation import
Michael Bestas [Wed, 1 Jul 2015 21:19:05 +0000 (00:19 +0300)]
Automatic translation import

Change-Id: Id679a7a476f7d03a5b8241f765e9024da2aa55e2

8 years agoAutomatic translation import
Michael Bestas [Mon, 22 Jun 2015 22:01:03 +0000 (01:01 +0300)]
Automatic translation import

Change-Id: I111bce90f8d07fc70776f3c00e2dc1246097a4eb

8 years agoAudioPreviewActivity: Better external audio previewing
Martin Brabham [Wed, 27 May 2015 22:52:06 +0000 (15:52 -0700)]
AudioPreviewActivity: Better external audio previewing

- Adds a pop up activity that previews the audio with minimal playback controls

Change-Id: I163e47b3ec91603d788cfdbc8ad0262b33d786e6

8 years agoAutomatic translation import
Michael Bestas [Sat, 13 Jun 2015 18:01:48 +0000 (21:01 +0300)]
Automatic translation import

Change-Id: I44f3c3f84c0774ce06d2989d3b57c2fc8953ccc2

8 years agoAutomatic translation import
Michael Bestas [Tue, 9 Jun 2015 17:35:09 +0000 (20:35 +0300)]
Automatic translation import

Change-Id: I7972b1d4acc880a78d37cbb0b7d61d06be63e398

8 years agoAutomatic translation import
Michael Bestas [Sun, 31 May 2015 13:57:59 +0000 (16:57 +0300)]
Automatic translation import

Change-Id: I6b33aeab6423670cf8def9c6b4f068fdd6bfdf66

8 years agoEleven: Add playlist cover art to search results
Linus Lee [Sat, 18 Apr 2015 00:30:21 +0000 (17:30 -0700)]
Eleven: Add playlist cover art to search results

Change-Id: I63f3b15cc9757b0daa945e4d8a3920c28673713d
(cherry picked from commit b84e90377248a0155019915529d45461c3403d44)

8 years agoEleven: remove an unnecessary check when playing music to improve perf
Linus Lee [Sat, 18 Apr 2015 00:59:24 +0000 (17:59 -0700)]
Eleven: remove an unnecessary check when playing music to improve perf

Change-Id: Ic9b6d1ee2f80446013dd0794696e8cd66a73221e
(cherry picked from commit bda812eec5dd254ff5ab32773dc6aa24f3171b60)

8 years agoEleven: Add a play Album option on songs
Linus Lee [Sat, 18 Apr 2015 00:08:07 +0000 (17:08 -0700)]
Eleven: Add a play Album option on songs

Change-Id: I62bf42f98ba8457b0121b723b7e4ace218805577
(cherry picked from commit 40c5425291bd07cb17a31f8d8169e142a51b7a19)

8 years agoMerge "Eleven: Remove inset from top tracks circle" into cm-12.1
Danny Baumann [Fri, 29 May 2015 07:32:46 +0000 (07:32 +0000)]
Merge "Eleven: Remove inset from top tracks circle" into cm-12.1

8 years agoEleven: Remove inset from top tracks circle
Linus Lee [Thu, 28 May 2015 23:40:15 +0000 (16:40 -0700)]
Eleven: Remove inset from top tracks circle

Not sure why this removed the circle, but we don't really need the 1dp inset

Change-Id: Iaa978b5a964b4d7b2d1e1be186790f64023beb24

8 years agoAutomatic translation import
Michael Bestas [Sun, 24 May 2015 20:34:21 +0000 (23:34 +0300)]
Automatic translation import

Change-Id: Ib33c7a7b4e38d200066ed9fdd1a3304c0a0659d4

8 years agoMerge "Add Landscape support to Eleven" into cm-12.1
Linus Lee [Fri, 22 May 2015 19:58:14 +0000 (19:58 +0000)]
Merge "Add Landscape support to Eleven" into cm-12.1

8 years agoAdd Landscape support to Eleven
Linus Lee [Sat, 18 Apr 2015 01:52:24 +0000 (18:52 -0700)]
Add Landscape support to Eleven

This adds most of the support. There is a bug around the album art
not loading on rotation - but this patch covers pretty much every
other case

Change-Id: If9033b0323beab8837493d289dcf77b76d1ea8c9

9 years agoAutomatic translation import
Michael Bestas [Fri, 15 May 2015 21:01:48 +0000 (00:01 +0300)]
Automatic translation import

Change-Id: I2b65bc8a68a9f99303e19be302eb451a20659959

9 years agoAutomatic translation import
Michael Bestas [Fri, 1 May 2015 23:52:14 +0000 (02:52 +0300)]
Automatic translation import

Change-Id: Ib44ae71a0eaef8df5c473639746083c4800b67da

9 years agoAutomatic translation import
Michael Bestas [Fri, 24 Apr 2015 22:14:16 +0000 (01:14 +0300)]
Automatic translation import

Change-Id: If11d181c630d1439723ccdf38d2af70a01d1bcd9

9 years agoEleven: minor string tweaks
Linus Lee [Sat, 18 Apr 2015 00:33:40 +0000 (17:33 -0700)]
Eleven: minor string tweaks

Change-Id: If61a9fceb262d96418134a986a24ec7d79730333
(cherry picked from commit 405d0d09ad8b3ecb24f3633695c034da2cec404e)

9 years agoMerge "eleven: remove_ACTION_PICK from manifest" into cm-12.1
Abhisek Devkota [Mon, 20 Apr 2015 21:24:24 +0000 (21:24 +0000)]
Merge "eleven: remove_ACTION_PICK from manifest" into cm-12.1

9 years agoMerge "Eleven: Checkboxes to switches" into cm-12.1
Abhisek Devkota [Mon, 20 Apr 2015 21:24:01 +0000 (21:24 +0000)]
Merge "Eleven: Checkboxes to switches" into cm-12.1

9 years agoMerge "Eleven: Show/Hide album art on lockscreen" into cm-12.1
Abhisek Devkota [Mon, 20 Apr 2015 21:23:52 +0000 (21:23 +0000)]
Merge "Eleven: Show/Hide album art on lockscreen" into cm-12.1

9 years agoEleven: properly send open/close session events
Roman Birg [Wed, 15 Apr 2015 00:08:54 +0000 (17:08 -0700)]
Eleven: properly send open/close session events

These were being fired off at device boot and there was a session being
held for the entire duration. Only request the session when playing.

Change-Id: I37ebc5a6898453dd090cc68ee2126e9c5d08d892
Signed-off-by: Roman Birg <roman@cyngn.com>
9 years agoAutomatic translation import
Michael Bestas [Fri, 17 Apr 2015 19:19:12 +0000 (22:19 +0300)]
Automatic translation import

Change-Id: I5bf81d21196cfbf74d7e1451ad9000e89a97d79e

9 years agoeleven: remove_ACTION_PICK from manifest
Jorge Ruesga [Sat, 28 Mar 2015 21:30:46 +0000 (22:30 +0100)]
eleven: remove_ACTION_PICK from manifest

We are far from support pick an audio file. This cause MMS to be able to pick an
audio file with Eleven, which is currently not possible.

Change-Id: I65192d1dccd0b98982d65c7743c51cda3860f7d5
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
9 years agoEleven: Checkboxes to switches
Michael Bestas [Wed, 18 Mar 2015 23:48:19 +0000 (01:48 +0200)]
Eleven: Checkboxes to switches

Change-Id: I41439cc69147db49b08cace87ba3513d34dbac6c

9 years agoEleven: Show/Hide album art on lockscreen
Mikalacki Sava [Wed, 4 Mar 2015 15:18:14 +0000 (16:18 +0100)]
Eleven: Show/Hide album art on lockscreen

Added preference option to show/hide album art on lockscreen.

Change-Id: Iea2173288fc279f15abe6675a0ffd582e35ad321

9 years agoAutomatic translation import
Michael Bestas [Mon, 6 Apr 2015 21:50:07 +0000 (00:50 +0300)]
Automatic translation import

Change-Id: Iafb5430b416befbb68309e16bf2cf7a4984c7347

9 years agoAutomatic translation import
Michael Bestas [Mon, 30 Mar 2015 22:50:06 +0000 (01:50 +0300)]
Automatic translation import

Change-Id: I3146069beab8e56c5583ac8c3068b8f2ba65daa3

9 years agoAutomatic translation import
Michael Bestas [Sun, 22 Mar 2015 18:00:54 +0000 (20:00 +0200)]
Automatic translation import

Change-Id: I57fb2e9ca94f3cf041da11897c015662bd4fdfdf

9 years agoAutomatic translation import
Michael Bestas [Sat, 14 Mar 2015 23:47:49 +0000 (01:47 +0200)]
Automatic translation import

Change-Id: I706ba0b421b725967fca66376be10a6a4027e4f1

9 years agoExpose colors from array in Eleven player
Bryan Owens [Thu, 9 Apr 2015 22:14:00 +0000 (17:14 -0500)]
Expose colors from array in Eleven player

Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
Change-Id: I0524ee3c1425ff94c33147cf7a9978fb69f3cc04

9 years agoAutomatic translation import
Michael Bestas [Fri, 6 Mar 2015 21:00:15 +0000 (23:00 +0200)]
Automatic translation import

Change-Id: I0eb3d9ee073d85db21c22c6c88936840669d7ea9

9 years agoImprove string
Michael Bestas [Thu, 5 Mar 2015 22:11:21 +0000 (00:11 +0200)]
Improve string

Change-Id: I1cb08b5eb897a57f4027fb4a6864e27640659688

9 years agoAutomatic translation import
Michael Bestas [Sat, 28 Feb 2015 00:22:52 +0000 (02:22 +0200)]
Automatic translation import

Change-Id: Iba82e26dbbedcb0e82b42d822f2af01774f818e2

9 years agoEleven: shake to play next song, only available while music is playing.
Mikalacki Sava [Tue, 13 Jan 2015 16:37:46 +0000 (17:37 +0100)]
Eleven: shake to play next song, only available while music is playing.

Allows user to shake his device to switch to next song.
This feature is available through settings and is invoked
only while music is playing.

Change-Id: Ifb0866565d49443af7f3ac679e80601660506515

9 years agoAutomatic translation import
Michael Bestas [Wed, 18 Feb 2015 19:49:30 +0000 (21:49 +0200)]
Automatic translation import

Change-Id: I71ce21285d97675bc0aa6678a561d8aaa609cc5c

9 years agoAutomatic translation import
Michael Bestas [Tue, 10 Feb 2015 21:38:33 +0000 (23:38 +0200)]
Automatic translation import

Change-Id: Ifdbb2e2ab68d314f033b12c55fe96b845a3b194f

9 years agoNew Material icon
Michael Bestas [Mon, 2 Feb 2015 07:02:31 +0000 (09:02 +0200)]
New Material icon

* Created by Jovie Brett Bardoles

Change-Id: If061e56906567722550c230a8f8cfd87f90ba97d

9 years agoEleven: Fix crash in LetterTileDrawable
morckx [Mon, 19 Jan 2015 09:22:46 +0000 (10:22 +0100)]
Eleven: Fix crash in LetterTileDrawable

- Make sure that the title string is not empty.

Change-Id: Ifa4b4f916f476519ecef19629e5b9d33ac0642e1
Signed-off-by: morckx <morckx@gmail.com>
9 years agoEleven: Fix LocalizedSongSort - Missed Collate keyword
linus_lee [Tue, 6 Jan 2015 23:20:28 +0000 (15:20 -0800)]
Eleven: Fix LocalizedSongSort - Missed Collate keyword

Change-Id: Ief86b3fea672bcc498a4560fab40486657cc2751

9 years agoEleven: Fix equalizer not pausing, action bar hiding and 1px equalizer on xxhdpi
linus_lee [Mon, 5 Jan 2015 22:01:36 +0000 (14:01 -0800)]
Eleven: Fix equalizer not pausing, action bar hiding and 1px equalizer on xxhdpi

1) Equalizer was not pausing because HomeActivity onSlide wasn't calling super.onSlide
2) Action bar hiding - the hiding/showing of the action bar was ripped out in materialize but was
missing in one spot so in some sceanrios we were hiding it and never showing it again
3) the 1px equalizer fuzz was really bothering me especially since it showed while paused

Change-Id: I47475e3ea724fa460125c753fb64ec2dd7f095d5

9 years agoMake buttons more touch friendly.
Danny Baumann [Fri, 19 Dec 2014 12:42:57 +0000 (13:42 +0100)]
Make buttons more touch friendly.

Do this by replacing margins and empty space around buttons by padding.
Doing this also makes the ripple touch feedback look better.

Change-Id: I7f2e933b9f7b481c9456f56860483c2e5e96b67b

9 years agoEleven: materialize
linuxx [Wed, 10 Dec 2014 17:25:02 +0000 (18:25 +0100)]
Eleven: materialize

-Material Ui theme
-New launcher icon
-Better tabs

Change-Id: I712ac2eb5256841cf89d198eed775ce8afe9d09c

9 years agoEleven: Show error message for corrupt tracks (additional codepaths)
linus_lee [Tue, 23 Dec 2014 01:18:39 +0000 (17:18 -0800)]
Eleven: Show error message for corrupt tracks (additional codepaths)

Add showing error message for code paths where the media player fails gracefully
Unfortunately adding the logic to remove the bad track is not trivial because the
removeTracks logic automatically does other things to try to go to the next track.
For now I will leave the logic so that it goes on to the next track and make a note
on the music service rewrite notes to cover this scenario as well.

Change-Id: Ib7ae5ce7819b15cdb3ada4995bc0734ab2d9b0a2

9 years agoEleven: Add some caching logic to BitmapWithColors for perf optimization
linus_lee [Tue, 23 Dec 2014 03:15:31 +0000 (19:15 -0800)]
Eleven: Add some caching logic to BitmapWithColors for perf optimization

Change-Id: I9fe5e83b9b1b5bb8ca24978436ed371eec2db399

9 years agoEleven: Make sure we have vibrant colors for all default colors
linus_lee [Fri, 19 Dec 2014 19:10:06 +0000 (11:10 -0800)]
Eleven: Make sure we have vibrant colors for all default colors

Change-Id: I4be163e75fc35d3b139439c504d769d17d980ace

9 years agoEleven: Add missing metadata keys for Avrcp.
solk2 [Fri, 12 Dec 2014 09:35:12 +0000 (11:35 +0200)]
Eleven: Add missing metadata keys for Avrcp.

Change-Id: I7201838cf65b6b1edcf2aee0284e31bdafaf42ca

9 years agoImprove notification UX.
Danny Baumann [Fri, 12 Dec 2014 14:57:58 +0000 (15:57 +0100)]
Improve notification UX.

- Add a proper notification icon (courtesy of Joey Rizzoli)
- Use separate notification modes to allow the user to dismiss the
  notification when music isn't playing.
- Always show notification regardless whether an activity is in
  foreground to ensure the notification doesn't pop up out of the blue
  when ending playback inside the app and leaving it afterwards.
- Keep notification timestamp constant when updating it

Change-Id: I2fa9a56ff31ab2874d6d96786e6b80695397702b

9 years agoMerge "Eleven: Remove tracks that give problems from the queue and warn" into cm...
Rajesh Yengisetty [Tue, 16 Dec 2014 22:55:02 +0000 (22:55 +0000)]
Merge "Eleven: Remove tracks that give problems from the queue and warn" into cm-12.0

9 years agoEleven: Remove tracks that give problems from the queue and warn
linus_lee [Mon, 15 Dec 2014 21:58:18 +0000 (13:58 -0800)]
Eleven: Remove tracks that give problems from the queue and warn

Instead of playing the tracks over and over, remove it from the queue
Also pop up a warning if the music player is active

Change-Id: I1d4e5a049b69de381f1a7f86ce2b837449bc378f

9 years agoEleven: Add more missing mdpi/hdpi/xhdpi drawables
Konsta [Sun, 14 Dec 2014 12:03:53 +0000 (14:03 +0200)]
Eleven: Add more missing mdpi/hdpi/xhdpi drawables

And remove couple of unused drawables while at it.

Change-Id: I9973c625e1f0922cf9f1c91729409a2a1dc0a83c

9 years agoEleven: Add missing mdpi/hdpi/xhdpi drawables
Konsta [Sat, 13 Dec 2014 13:13:35 +0000 (15:13 +0200)]
Eleven: Add missing mdpi/hdpi/xhdpi drawables

Fix crash on builds that don't include xxhdpi drawables.

Change-Id: I4b90575939f0b7f696279ec6353f6c91fcc1f9f4

9 years agoMerge "Eleven: Fix crash when launching a song from file manager" into cm-12.0
Rajesh Yengisetty [Sat, 13 Dec 2014 01:19:00 +0000 (01:19 +0000)]
Merge "Eleven: Fix crash when launching a song from file manager" into cm-12.0

9 years agoMerge "Update Notification background color" into cm-12.0
Linus Lee [Fri, 12 Dec 2014 23:27:16 +0000 (23:27 +0000)]
Merge "Update Notification background color" into cm-12.0

9 years agoEleven: Fix default art color in notification
linus_lee [Fri, 12 Dec 2014 20:37:34 +0000 (12:37 -0800)]
Eleven: Fix default art color in notification

The key being passed in did not match in some cases causing this problem

Change-Id: Ibbd985d6f0fb0ff3fb90908481f8180715cf2ec7

9 years agoMerge "EqualizerView: don't compute log(0)" into cm-12.0
Linus Lee [Fri, 12 Dec 2014 19:09:56 +0000 (19:09 +0000)]
Merge "EqualizerView: don't compute log(0)" into cm-12.0

9 years agoFix IndexOutOfBoundsException.
Danny Baumann [Fri, 12 Dec 2014 16:43:35 +0000 (17:43 +0100)]
Fix IndexOutOfBoundsException.

Backtrace:

E/AndroidRuntime(23398): Caused by: java.lang.IndexOutOfBoundsException:
Invalid index 0, size is 0
E/AndroidRuntime(23398):        at
java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
E/AndroidRuntime(23398):        at
java.util.ArrayList.get(ArrayList.java:308)
E/AndroidRuntime(23398):        at
com.cyanogenmod.eleven.loaders.SortedCursor.getExtraData(SortedCursor.java:120)
E/AndroidRuntime(23398):        at
com.cyanogenmod.eleven.loaders.SongLoader.loadInBackground(SongLoader.java:114)
E/AndroidRuntime(23398):        at
com.cyanogenmod.eleven.loaders.SongLoader.loadInBackground(SongLoader.java:40)
E/AndroidRuntime(23398):        at
com.cyanogenmod.eleven.sectionadapter.SectionCreator.loadInBackground(SectionCreator.java:69)
E/AndroidRuntime(23398):        at
com.cyanogenmod.eleven.sectionadapter.SectionCreator.loadInBackground(SectionCreator.java:30)
E/AndroidRuntime(23398):        at
android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:242)
E/AndroidRuntime(23398):        at
android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:51)
E/AndroidRuntime(23398):        at
android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:40)
E/AndroidRuntime(23398):        at
android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:123)
E/AndroidRuntime(23398):        at
java.util.concurrent.FutureTask.run(FutureTask.java:237)

Change-Id: Ief99bf8b761bcdbccbcaefed6f54aa57e0ba9fbb