OSDN Git Service

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

8 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

9 years agoUpdate Notification background color
Andrew Neal [Wed, 10 Dec 2014 09:51:42 +0000 (10:51 +0100)]
Update Notification background color

This change uses Palette to update Apollo's Notification background
color based on the current artwork.

It also removes the timestamp from the Notification.

Change-Id: I6a292839c223bf9d165e9c90724194eae6ca343c

9 years agoEqualizerView: don't compute log(0)
Pawit Pornkitprasan [Fri, 12 Dec 2014 08:09:20 +0000 (15:09 +0700)]
EqualizerView: don't compute log(0)

Because log(0) is undefined (turns out to be -2147483008.000000)
and that crashses on 480x800 hdpi

Change-Id: I41956944497c83214ee8e8378bc0924171633f21

9 years agoEleven: Fix crash when launching a song from file manager
linus_lee [Fri, 12 Dec 2014 01:35:37 +0000 (17:35 -0800)]
Eleven: Fix crash when launching a song from file manager

There are some asycnhronous issues with interacting the service
This should protect it a bit better and fixes the crash for me

Change-Id: Ib50be1ca50badb83e8c206e01362a3971d050c1f

9 years agoMerge "Add improved localized sorting (similar to contacts sorting) to Eleven" into...
linus_lee [Fri, 12 Dec 2014 01:06:59 +0000 (01:06 +0000)]
Merge "Add improved localized sorting (similar to contacts sorting) to Eleven" into cm-12.0

9 years agoAdd improved localized sorting (similar to contacts sorting) to Eleven
linus_lee [Thu, 4 Dec 2014 20:30:29 +0000 (12:30 -0800)]
Add improved localized sorting (similar to contacts sorting) to Eleven

Change-Id: I6d06f9e6974a2dc178445ca71c7c7f1355e00804

9 years agoELeven: Show notifications only when outside music app and have a linger timer
linus_lee [Thu, 11 Dec 2014 21:10:07 +0000 (13:10 -0800)]
ELeven: Show notifications only when outside music app and have a linger timer

If you played music recently and leave the app it'll still show the notification now
for up to 5 minutes

Change-Id: I530c548bd4e3b8cf458341b068d78b54f1528b2c

9 years agoMerge "Eleven: fix default image not showing up in queue fragment" into cm-12.0
Rajesh Yengisetty [Thu, 11 Dec 2014 20:19:06 +0000 (20:19 +0000)]
Merge "Eleven: fix default image not showing up in queue fragment" into cm-12.0

9 years agoEleven: Make the Equalizer button a bit smarter
linus_lee [Thu, 11 Dec 2014 02:00:54 +0000 (18:00 -0800)]
Eleven: Make the Equalizer button a bit smarter

First check if the intent can resolve properly
Secondly start for result to make some MusicFX apps work

Change-Id: Id9b597d0a3881ad7a433a0d39383dddc94b9e3fc

9 years agoEleven: Fix exception when leaving Eleven with nothing in the queue
linus_lee [Thu, 11 Dec 2014 19:03:45 +0000 (11:03 -0800)]
Eleven: Fix exception when leaving Eleven with nothing in the queue

It is possible for things to post to a handler even after the service has been destroyed
Fix is to shutdown the handlerthread in the onDestroy
Also set the subtitle text to alpha of 0 to not show on first launch

Change-Id: I76b5f4c4bc8a114660ced042ab02089bf279accb

9 years agoEleven: fix default image not showing up in queue fragment
linus_lee [Wed, 10 Dec 2014 21:49:25 +0000 (13:49 -0800)]
Eleven: fix default image not showing up in queue fragment

SquareImageView and the LetterTileDrawable doesn't work well together
Since this image has fixed dimensions we don't need SquareImageView anyways

Change-Id: I8dcac7b3170af227f39d6d6333ff7d0497592bf9

9 years agoUse L's new notification and media session API.
Danny Baumann [Wed, 10 Dec 2014 09:41:51 +0000 (10:41 +0100)]
Use L's new notification and media session API.

Change-Id: Ic9e7facdfa7213439b168a915ac9f2e8afc0a252

9 years agoAdd Notice and Apache2 Module
linus_lee [Tue, 9 Dec 2014 21:12:25 +0000 (13:12 -0800)]
Add Notice and Apache2 Module

Change-Id: I34906e2e169f3ab44eb5fc5a9215aea7cb89856f

9 years agoUpdate Eleven headers and namespace for open source
linus_lee [Fri, 21 Nov 2014 00:39:38 +0000 (16:39 -0800)]
Update Eleven headers and namespace for open source

Change-Id: I82caf2ebf991998e67f546ff2ac7eaf2b30dc6be

9 years agoEleven: Switch default artist and album to a more colorful version
linus_lee [Thu, 27 Nov 2014 02:20:29 +0000 (18:20 -0800)]
Eleven: Switch default artist and album to a more colorful version

Also fixed a bug where playlist worker tasks were running more than necessary
Removed the picker to fetch images from internet
because last.fm is removed for now

Change-Id: Ice438ac650d8b7be0c275f8270af13086e6568d6

9 years agoEleven: Make album art show up more consistently in shuffle and not repeat
linus_lee [Wed, 26 Nov 2014 02:13:15 +0000 (18:13 -0800)]
Eleven: Make album art show up more consistently in shuffle and not repeat

A more complete fix needs a music service rewrite - I've tried to find a
complete solution that doesn't need a rewrite but cannot figure out a good one
For now this will make all of them but the first one of the next round show up

https://cyanogen.atlassian.net/browse/MUSIC-189

Change-Id: Idd64754001a679cf9a9b16f71d285e0fb4dd1b6d

9 years agoEleven: Add Lyric (srt) support
linus_lee [Wed, 19 Nov 2014 20:47:04 +0000 (12:47 -0800)]
Eleven: Add Lyric (srt) support

https://cyanogen.atlassian.net/browse/MUSIC-186

Change-Id: I8fec1c61d69dca06be30ccebf9c996d7fac2ae75

9 years agoEleven: Fix playlist reordering not working after awhile
linus_lee [Tue, 4 Nov 2014 01:18:35 +0000 (17:18 -0800)]
Eleven: Fix playlist reordering not working after awhile

Still trying to find the root cause (if it is Eleven or external)
but this will find the errors and fix it after the fact

https://cyanogen.atlassian.net/browse/MUSIC-179

Change-Id: Iaa3e27522aefc656f37ff7e727e9129c1a07f12e

9 years agoEleven: Add equalizer visualization
linus_lee [Thu, 20 Nov 2014 01:52:53 +0000 (17:52 -0800)]
Eleven: Add equalizer visualization

Change-Id: I9a3112cf4138e916ed53571236e54b67c30b53c4

9 years agoEleven: fix play icon on l
linus_lee [Tue, 25 Nov 2014 00:32:28 +0000 (16:32 -0800)]
Eleven: fix play icon on l

useLevel is flipped on L apparently and we need it for drawing Rings, so define it explicitly

Change-Id: If31b250d439961e48b77432a845d88bce1ba5e91

9 years agoEleven - Introducing the ability to filter a list items into two - localizable
Rohit Yengisetty [Wed, 22 Oct 2014 23:32:26 +0000 (16:32 -0700)]
Eleven - Introducing the ability to filter a list items into two - localizable
and non-localizable based on a specified attribute of the item.

Udpating the SongFragment  and ArtistFragment to list localizable songs
towards the top, while pushing the others towards the bottom of the list.
Also, updated the section creator logic to *not* create sections for the non-
latin named songs.

https://cyanogen.atlassian.net/browse/MUSIC-73

Change-Id: I5aaa98ae4312a9f1d142a48aaf025bdbc7e0150b

Conflicts:
src/com/cyngn/eleven/loaders/AlbumLoader.java
src/com/cyngn/eleven/loaders/ArtistLoader.java
src/com/cyngn/eleven/loaders/SongLoader.java

9 years agoEleven: Import Strings from ffcceded7af224ffefeaec3043a130d286a6f238
linus_lee [Thu, 20 Nov 2014 22:22:16 +0000 (14:22 -0800)]
Eleven: Import Strings from ffcceded7af224ffefeaec3043a130d286a6f238

Change-Id: I69af29fa4a64fdad2610f68035dbc16d7b5a8688

9 years agoEleven: Remove download from settings until we have alternative
linus_lee [Wed, 19 Nov 2014 22:45:48 +0000 (14:45 -0800)]
Eleven: Remove download from settings until we have alternative

Missed this in my previous change 3f2f46ae264b6b100e4095b39af0b2550f743cd0

Change-Id: I82e1f51e19200bb4c308584f9fa809020bbe8649

9 years agoEleven: Remove irrelevant options when queue is empty
linus_lee [Thu, 6 Nov 2014 00:14:44 +0000 (16:14 -0800)]
Eleven: Remove irrelevant options when queue is empty

https://cyanogen.atlassian.net/browse/MUSIC-182

Change-Id: Ie6aace33c27009bd93c512a4bc1b5ccbe49b68f1

9 years agoEleven: Remove last.fm artwork calls until we find an alternative
linus_lee [Tue, 18 Nov 2014 19:22:07 +0000 (11:22 -0800)]
Eleven: Remove last.fm artwork calls until we find an alternative

Change-Id: I091c1054a8455cc70ddb4a6a68e0c125c5e04c59

9 years agoEleven: Make the adapter changes refresh not jump to the top of the list
linus_lee [Wed, 5 Nov 2014 01:52:36 +0000 (17:52 -0800)]
Eleven: Make the adapter changes refresh not jump to the top of the list

https://cyanogen.atlassian.net/browse/MUSIC-122
https://cyanogen.atlassian.net/browse/MUSIC-130

Change-Id: I6216a84eb13d47b1b6a68fef2b698efebf677d9f

9 years agoEleven: changed AlbumAdapter to use padding for header/footer spacing
Wilhelm Fitzpatrick [Mon, 3 Nov 2014 22:30:09 +0000 (14:30 -0800)]
Eleven: changed AlbumAdapter to use padding for header/footer spacing

Addresses https://cyanogen.atlassian.net/browse/MUSIC-145 and also fixes
regression where AlbumFragment was not displaying the "no music" view
when no music was available.

Change-Id: I89dddb99f396b0560106edc20236cf6754446691

9 years agoEleven: Fix cursor finalized prior to close warning messages
Raj Yengisetty [Tue, 4 Nov 2014 18:59:53 +0000 (10:59 -0800)]
Eleven: Fix cursor finalized prior to close warning messages

https://cyanogen.atlassian.net/browse/MUSIC-152

Change-Id: I7b3425621700fcb334ff4d4e0cc54c9994fda420

9 years agoEleven - Changing the color of the Notification divider line to blue.
Rohit Yengisetty [Mon, 3 Nov 2014 20:20:34 +0000 (12:20 -0800)]
Eleven - Changing the color of the Notification divider line to blue.
Also increasing the inactivity-timeout of the notification to 5
minutes.

https://cyanogen.atlassian.net/browse/MUSIC-160
https://cyanogen.atlassian.net/browse/MUSIC-177

Change-Id: If4c6a961fbec4dd8be43e6c7ba25a42488e70afb

9 years agoEleven: Fix a slight regression with the blur image loading too often
linus_lee [Mon, 3 Nov 2014 20:02:24 +0000 (12:02 -0800)]
Eleven: Fix a slight regression with the blur image loading too often

Not exactly a regression, but some code cleanup that removed duplicate logic exposed this issue
Basically when a worker task completes, it is possible the AsyncTaskContainer will not have a
reference to it anymore, so store the key separately in case

https://cyanogen.atlassian.net/browse/MUSIC-180

Change-Id: I0757133f18758901fee00e3210472b2c1a206ab8