summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/eleven/utils
Commit message (Collapse)AuthorAgeFilesLines
* Eleven: Set preferences on playSean Maas2016-09-301-16/+2
| | | | | | | | | The shake to play and lockscreen album art settings were not being set when playback started without the app, ex. with a headphone button. This caused them both to be set to false until the app was opened. Change-Id: Id15c134e9001bba62faa04266726c1e10fbfb9dd
* Generate all color swatches.Danny Baumann2016-04-271-6/+1
| | | | | | | | | | While we only use the vibrant colors in the UI, we also use the palette to determine the dominant color and compare the vibrant colors against that. If the dominant color is one of the muted swatches, by only generating the vibrant swatches we needlessly exclude one of the vibrant colors from being used as visualizer color. Change-Id: I3ca1059a653ff39b49b6a38a934863ef6ad2d976
* Add toString() methods to BitmapWithColors class.Danny Baumann2016-04-271-0/+13
| | | | | | Eases debugging. Change-Id: I34d4d0ae888f4768232fd8a526a47111720d1faf
* Load palette in background.Danny Baumann2016-04-271-0/+7
| | | | Change-Id: I03322c552ee1151be14e1d7c4db2a8f493d34580
* Improve visualizer color selection.Danny Baumann2016-04-271-16/+88
| | | | | | Make sure to select the color that contrasts the most to the artwork. Change-Id: I0043463e05132a01f8ff3351565b672825779079
* Eleven: Cleanup all the whitespaceMichael Bestas2016-04-258-39/+38
| | | | Change-Id: I82024ce0ada3220b6b87178ea36303b53445e065
* CodeCleanup : Replace StringBuffer with StringRazorSharp2016-04-161-8/+6
| | | | Change-Id: I1f93ec71097c916e047d92d5413b9702272b500b
* Eleven: Simplify a boolean expressionRazorSharp2016-04-161-3/+2
| | | | Change-Id: I6bd01f9a194117238712734757e059aa8e24313c
* Eleven: much materialJoey Rizzoli2016-04-154-70/+10
| | | | | | | | | - Remove old font, let's use the system's - Vector drawables - Update colors Change-Id: I6c4335f388c88fd4ce6d10e4995692aaf0679a49 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Eleven: Remove unnecessary local variablesRazorSharp2016-04-111-2/+1
| | | | Change-Id: Ic92632873f75bd2d4569a4700a744a3ca17e99cb
* Codecleanup: Use Chained append calls to improve the performanceRazorSharp2016-02-202-2/+3
| | | | Change-Id: Ieb9d4ba314d4859f5f17af5cbedd8c06c06ac0b7
* Add ability to seek through track with circular motionLinus Lee2015-08-111-0/+3
| | | | | | | | | | 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
* eleven: fix invalid srt formatsJorge Ruesga2015-07-131-0/+6
| | | | | | | | | 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>
* Eleven: remove an unnecessary check when playing music to improve perfLinus Lee2015-05-291-9/+0
| | | | | Change-Id: Ic9b6d1ee2f80446013dd0794696e8cd66a73221e (cherry picked from commit bda812eec5dd254ff5ab32773dc6aa24f3171b60)
* Eleven: Add a play Album option on songsLinus Lee2015-05-292-0/+18
| | | | | Change-Id: I62bf42f98ba8457b0121b723b7e4ace218805577 (cherry picked from commit 40c5425291bd07cb17a31f8d8169e142a51b7a19)
* Eleven: Show/Hide album art on lockscreenMikalacki Sava2015-04-172-7/+36
| | | | | | Added preference option to show/hide album art on lockscreen. Change-Id: Iea2173288fc279f15abe6675a0ffd582e35ad321
* Eleven: shake to play next song, only available while music is playing.stable/cm-12.0-YNG1IMikalacki Sava2015-02-233-1/+309
| | | | | | | | 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
* Eleven: Add some caching logic to BitmapWithColors for perf optimizationlinus_lee2014-12-231-37/+53
| | | | Change-Id: I9fe5e83b9b1b5bb8ca24978436ed371eec2db399
* Eleven: Make sure we have vibrant colors for all default colorslinus_lee2014-12-201-0/+91
| | | | Change-Id: I4be163e75fc35d3b139439c504d769d17d980ace
* Improve notification UX.Danny Baumann2014-12-191-24/+0
| | | | | | | | | | | | - 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
* Merge "Eleven: Fix crash when launching a song from file manager" into cm-12.0Rajesh Yengisetty2014-12-131-10/+7
|\
| * Eleven: Fix crash when launching a song from file managerlinus_lee2014-12-111-10/+7
| | | | | | | | | | | | | | 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
* | Merge "Add improved localized sorting (similar to contacts sorting) to ↵linus_lee2014-12-124-401/+79
|\ \ | |/ |/| | | Eleven" into cm-12.0
| * Add improved localized sorting (similar to contacts sorting) to Elevenlinus_lee2014-12-114-401/+79
| | | | | | | | Change-Id: I6d06f9e6974a2dc178445ca71c7c7f1355e00804
* | Eleven: Make the Equalizer button a bit smarterlinus_lee2014-12-111-5/+29
| | | | | | | | | | | | | | First check if the intent can resolve properly Secondly start for result to make some MusicFX apps work Change-Id: Id9b597d0a3881ad7a433a0d39383dddc94b9e3fc
* | Use L's new notification and media session API.Danny Baumann2014-12-101-27/+2
|/ | | | Change-Id: Ic9e7facdfa7213439b168a915ac9f2e8afc0a252
* Update Eleven headers and namespace for open sourcelinus_lee2014-12-0920-0/+5654
Change-Id: I82caf2ebf991998e67f546ff2ac7eaf2b30dc6be