aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* PhotoPhase: refresh after grant runtime permissionsKeith Mok2016-09-262-0/+12
| | | | | | | FEIJ-1482 Change-Id: Iaaa43e078f075268800f187be551ed85fdfeb9bb (cherry picked from commit 3b6c5f9be3b355b93ac7e0fd190db9b9b517c072)
* PhotoPhase: ask for runtime permissionsRoman Birg2016-01-142-0/+65
| | | | | | | Ref: CYNGNOS-1555 Change-Id: I7cc351fca1085ec29823b12d3959b83142eac4cb Signed-off-by: Roman Birg <roman@cyngn.com>
* photophase: make lwp to survive a rebootJorge Ruesga2014-11-091-1/+1
| | | | | | | | The latest egl watchdog kill the app before they started. Increase the timeout to make the wallpaper to survive a device reboot Change-Id: I59a746fb9d599e0d016e4fc87c79d2a7d03a53d8 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* photophase: restart lwp service on bad egl contextJorge Ruesga2014-11-073-1/+37
| | | | | | | This patch contains some fixes for bad egl context detection and other NPE and lint fixes Change-Id: I47c4348770dc72f768df4bea27c7817d1ec10c42 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Merge "photophase: prevent user to operation while album adapter is still in ↵Jorge Ruesga2014-09-231-0/+18
|\ | | | | | | load progress" into cm-11.0
| * photophase: prevent user to operation while album adapter is still in load ↵Jorge Ruesga2014-09-241-0/+18
| | | | | | | | | | | | | | progress Change-Id: I783de9a8ec072e4d8d2d27fa9dc9c5c482eb2196 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Merge "photophase: prevent npe on low memory" into cm-11.0Jorge Ruesga2014-09-231-1/+3
|\ \
| * | photophase: prevent npe on low memoryJorge Ruesga2014-09-241-1/+3
| |/ | | | | | | | | Change-Id: I8d14f08219fd95db0bc068b79ba97f5461c9ac95 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* / photophase: revert etc1 compression featureJorge Ruesga2014-09-243-107/+18
|/ | | | | | | Etc1 compression is causing native crashes in maguro and other collateral errors Change-Id: I84b0c1e0cec8f12c59eb126ceafb12fa8d589d09 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* photophase: increase max acceptable compression timeJorge Ruesga2014-09-151-1/+1
| | | | | Change-Id: I43406a07d422f98fc2ab41006b922ff2ed9f8a21 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* photophase: use etc1 compression when availableJorge Ruesga2014-09-145-27/+124
| | | | | | | | | | | | When avaliable this help to decrease the memory footprint. ETC1 compression requieres to: - be supported by opengl - picture couldn't have an alpha channel - compression times shouldn't be too higher (< 1000 ms) - initial pictures doesn't be compressed (to speed up boot) Change-Id: I87e41db3ca7f2ccb82d4af2763609f11d7e67121 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Merge "photophase: allow to choose more than one minute for transition ↵Jorge Ruesga2014-09-011-3/+13
|\ | | | | | | timers" into cm-11.0
| * photophase: allow to choose more than one minute for transition timersJorge Ruesga2014-09-011-3/+13
| | | | | | | | | | | | | | | | JIRA: CYAN-4836 https://jira.cyanogenmod.org/browse/CYAN-4836 Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Change-Id: I754e9ee71b196ce6d996542b07c238813124241b
* | Merge "photophase: don't reset transition timer on pause" into cm-11.0Jorge Ruesga2014-09-011-4/+9
|\ \
| * | photophase: don't reset transition timer on pauseJorge Ruesga2014-09-011-4/+9
| |/ | | | | | | | | | | | | | | JIRA: CYAN-4836 https://jira.cyanogenmod.org/browse/CYAN-4836 Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Change-Id: I816ac4b0c015ec6c3f85272d33100fd710e76e6f
* / photophase: fix memory leaksJorge Ruesga2014-08-317-3/+85
|/ | | | | | | | | * Fix memory leak caused by unreleased of framebuffers new refs * pre-cache Roboto typeface * trace allocations/deallocations GL's resources Change-Id: Ib1ca22aae7ba90c4282f91dcef69a5fe274017a8 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* photophase: fix summary for effect typesJorge Ruesga2014-07-101-1/+1
| | | | | Change-Id: I56dc67d94f6892cb601be8ebac147d9f54ad7413 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Improve preference summary strings.Danny Baumann2014-07-094-19/+98
| | | | | | | Remove some redundant summaries (e.g. for interval sliders) and make summaries of list preferences adapt to the respective selection. Change-Id: Ie120125fd36aef9b609326eb2d0e65224b7973d3
* Fix color picker layout.Danny Baumann2014-07-081-21/+16
| | | | Change-Id: I9bdd9cfce4d9fefd59c41fa090ce822e2990f00e
* photophase: adjust number of lines for disposition summary viewJorge Ruesga2014-06-261-0/+5
| | | | | Change-Id: Ie8fdef1b75b42063e451488c90b1b9bba25de2d6 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* photophase: cleanup GL resources in GLThreadJorge Ruesga2014-06-224-13/+38
| | | | | | | This avoid causing problem in HWUI thread, purging some undesired textures. Change-Id: Ibb713872e5ad19b0980c2e333d2a3fade4f21155 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* photophase: restrict max value for background dimJorge Ruesga2014-06-211-0/+3
| | | | | | | | A excessive dim will just display a black screen. Restrict the max value to a proper translucent value. Change-Id: I2e90541b2bff1554e745df1e84bd96e19e989a54 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* photophase: remove unnecessary flagJorge Ruesga2014-06-211-2/+1
| | | | | Change-Id: I8d16aefec1be262029a98786694abf7d5fc4d220 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* photophase: force world redraw before put GLView in sleep modeJorge Ruesga2014-06-211-1/+5
| | | | | Change-Id: I8b3d58d1c938cbce8ab1d5f24502d661c1a6a1bc Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* photophase: remove unnecessary callsJorge Ruesga2014-06-211-2/+0
| | | | | Change-Id: I8924e6ae2ba17d821205299026653c72f4c8a7b4 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Update license headersJorge Ruesga2014-06-1477-77/+77
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Notify data changed after return to albums viewJorge Ruesga2014-06-141-0/+1
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Integration clean upJorge Ruesga2014-06-142-2/+1
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Handle back button on ChoosePictureFragmentJorge Ruesga2014-06-143-7/+86
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Reduce synchronized linesJorge Ruesga2014-06-141-34/+34
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Fix random disposition bugJorge Ruesga2014-06-141-0/+1
| | | | | | The mRecreateWorld never set to false, causing the world to be recreated every time the device resume Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Fix NPE from getActivity() callJorge Ruesga2014-06-141-8/+30
| | | | | | Use onAttach and onDetach to execute mTask, to be sure that the activity was created Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Use all space available of the screen on kitkatJorge Ruesga2013-11-072-3/+16
| | | | | | Kitkat has translucent bars, so we can use all the available screen space Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Fix disposition view-in animation on aosp 4.4Jorge Ruesga2013-11-071-15/+13
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Add isValidFragment definition required by aosp 4.4 Jorge Ruesga2013-11-071-0/+8
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Fix NPE because mSrcView not being set until picture view is displayed Jorge Ruesga2013-11-071-1/+2
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Fix onDissmissListener for 4.0.3 devices (not supported as builder) Jorge Ruesga2013-11-071-2/+2
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Add missed filesJorge Ruesga2013-11-031-0/+108
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Add changelog activityJorge Ruesga2013-11-031-0/+2
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Save dispositions when user press Ok button onlyJorge Ruesga2013-11-031-15/+22
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Dispositions templatesJorge Ruesga2013-11-0344-54/+12983
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Random dispositionsJorge Ruesga2013-11-039-74/+424
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Multiples fixesJorge Ruesga2013-11-0222-1051/+1510
| | | | | | | | - Fully rewrite the album selection preference - Fix multiple style - Fix lints - Resources cleanup Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Returns as a CyanogenMod project. Update author and CopyrightsJorge Ruesga2013-10-2772-309/+309
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Force redraw of frame when surface changed (if gl is in dirty mode)Jorge Ruesga2013-10-251-4/+8
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Fix effects FC when device don't supports preserve_egl_contextJorge Ruesga2013-10-252-2/+23
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Fix hardware acceleration problem and improve responsivenessJorge Ruesga2013-10-244-48/+54
| | | | | | | | * Change to software acceleration when no animation is required and remove drawing cache (fix opengl error for reach max texture size) * Improve responsiveness of choose albums activity Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Force to run discover AsyncTask out of the GLThreadJorge Ruesga2013-10-232-5/+16
| | | | | | AsyncTask can't create a valid handler in ICS (works in JB+), so we force it to run in a UI thread. Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Improve times for filter media discoverJorge Ruesga2013-10-133-29/+15
| | | Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Remove unnecessary codeJorge Ruesga2013-10-133-68/+21
| | | | | Cached bitmaps are not used, because bitmaps are recycled previously Signed-off-by: Jorge Ruesga <jorge@ruesga.com>