summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'cm-13.0' of ↵replicant-6.0-0001Wolfgang Wiedmeyer2017-05-0213-29/+232
|\ | | | | | | https://github.com/LineageOS/android_packages_apps_ThemeChooser into replicant-6.0
| * Automatic translation importAbhisek Devkota2017-04-2811-28/+164
| | | | | | | | Change-Id: I90861c3bc2c3248e933c680959985a67764365fd
| * Automatic translation importAbhisek Devkota2017-02-193-1/+68
| | | | | | | | Change-Id: I84b0792cda4e7400cb680ddb3de3b60c3d952907
* | use F-Droid and only F-Droid for searching themesWolfgang Wiedmeyer2017-02-182-11/+3
|/ | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* Automatic translation importAbhisek Devkota2017-02-063-1/+30
| | | | Change-Id: I7bdd29bcdaaeaa1ae53458bdeb30719046b184b9
* Automatic translation importAbhisek Devkota2017-02-021-0/+7
| | | | Change-Id: I54793c5470d1f768fd60e559a8f685b983126176
* Automatic translation importAbhisek Devkota2017-02-014-1/+92
| | | | Change-Id: Iba5a1f08d2a285aa6da5c819ab1458733dcb7cd7
* Automatic translation importAbhisek Devkota2017-01-262-11/+21
| | | | Change-Id: I9296cb96f2fc269dbe53139a3672fb12c4516ad9
* Automatic translation importblinky@build012016-12-221-1/+1
| | | | | Change-Id: I452c8cf005611488815521df659afdcd61a470fe Ticket: -
* Automatic translation importblinky@build012016-12-211-2/+12
| | | | | Change-Id: Ifb1d5999aeb90a4b8d9c3056107a0e787c042bb5 Ticket: -
* Automatic translation importblinky@build012016-12-181-0/+9
| | | | | Change-Id: I1d96e88822de222d511f074e47792e69fadc92ae Ticket: -
* Automatic translation importpinky@build012016-12-151-2/+2
| | | | | Change-Id: Iea1d24f6ca3394bddf453ed60685271b12c8b55c Ticket: -
* Automatic translation importclyde@build012016-12-041-1/+1
| | | | | Change-Id: Ic0b8ad34dc1e0be19a4df318e06b365cd0c370a5 Ticket: -
* Automatic translation importinky@build012016-12-022-4/+4
| | | | | Change-Id: Idd24f786841289d722e7b7f00c2a18aa360b8d34 Ticket: -
* Automatic translation importinky@build012016-11-2910-13/+65
| | | | | Change-Id: I2a3e4bb276247175a41025b15193653e6c532bef Ticket: -
* ThemeChooser: Fix possible IllegalArgumentExceptionMichael W2016-10-281-3/+12
| | | | | | | | | onResume will always register the listener, no matter if it's already been registered. Add a variable to track, if the listener has been registered already. Change-Id: I294c5ab1d8dd2b12ad744bc87127a38939c4e30e Reference: BugDumps 20161021-27 L#67
* Automatic translation importpinky@build012016-09-2515-7/+103
| | | | | Change-Id: I1e337ec89769da97d1e66ef20dfc8a5ab4bdfaef Ticket: -
* Automatic translation importinky@build012016-09-120-0/+0
| | | | | Change-Id: Idd51e20e9bfd535a4169ed9c8aed1fe5976b1527 Ticket: -
* Automatic translation importclyde@build012016-09-105-10/+15
| | | | | Change-Id: I52edb0f694b56c19fa3e5e0bb07c61091c64e83e Ticket: -
* Automatic translation importclyde@build012016-09-0698-567/+1826
| | | | | Change-Id: I9c1273cf144ada2fc7e42dd339334d0a7290e071 Ticket: -
* Remove BootReceiverClark Scheff2016-09-042-62/+0
| | | | | | | This receiver is no longer necessary Change-Id: I50f33a9e696db0f7e84f1e78849a0ca1e57f4c97 TICKET: NIGHTLIES-3335
* Capitalize app nameAbhisek Devkota2016-09-051-1/+1
| | | | Change-Id: I6a8ab26b5486baa22e0f3191b869fead5ac96bd5
* String updatesNBruderman2016-09-051-1/+1
| | | | | | | | Removed themes_showcase_link Added per_app_theme_app_not_overlaid_warning Added file_type_not_supported Change-Id: I61b3f5f8e0110311175a5745917da2dad2a91d2b
* Fix line wrapping for crowdinMichael Bestas2016-09-051-6/+2
| | | | | | | * Crowdin doesn't like line wrapping in strings and wrongly takes whitespaces into account Change-Id: I48e87b0ab9e9d29bee30c33322901d4b9cee60ef
* Move actions in theme card to overflow menuBharadwaj Narasimha2016-09-0319-132/+42
| | | | | | | | | Moved the customize,delete and reset in the title card to an overflow menu to free up some space in the title card for the theme and author names. TICKET:CYNGNOS-3279 Change-Id: I0c4defd82369e4840efac420b1629493b280b168
* ThemeChooser: set untranslatableJoey Rizzoli2016-09-021-1/+1
| | | | | Change-Id: I75ccab0375a016e3d88339a67229ebcdb291b781 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Fall cleaningd34d2016-08-3171-266/+336
| | | | | | | | | | | | | | | | * Change package name to org.cyanogenmod.theme.chooser2 to avoid theme collisions with old OSS chooser * Change parent theme to Theme.Material.Light * Change minSdkVersion to 21 since we are going material * Add selectors for bottom action buttons (app themer, shop themes) * Add selector, using app themer color, for app themer list view * Add selector for actions in theme cards * Bring back OSS app icon * Reduce log spam in ThemedTypefaceHelper * Localize "new" tag using a TextView instead of an image * Other random stuff Change-Id: I73ef0b9c9370284e29ee00add87273cf54c83e0e
* Theme chooser for the peopleClark Scheff2016-08-28104-444/+1812
| | | | | | | Let freedom ring! Change-Id: I12b3e6b5d46eb2e13afd841dfd5c215af64188d8 TICKET: OSS-67
* ThemeFragment: Changing theme component resets per app themesBharadwaj Narasimha2016-07-291-2/+6
| | | | | | | | | Changing particular components like default icons,fonts,in case of mixnmatch will reset the per app themes applied to the default values. Change-Id: I1d2699232c3c96ad9a35f01c7d96c6aa3578e2de TICKET: CYNGNOS-2867
* Don't handle theme change config changesd34d2016-07-081-1/+0
| | | | | | | | This avoids memory leaks caused by re-inflating UI elements after a theme change. Change-Id: Ibfdb376f4200b274c01d548bbd9b94bd2c6cf34a TICKET: CYNGNOS-3151
* Check for system alert window permissiond34d2016-07-051-6/+28
| | | | | | | | | | It is possible that the user disables theme chooser from being able to draw on top of other applications. If this happens theme chooser will crash due to a security exception. This patch checks that we still have the permission and if not, requests it from the user. Change-Id: Ic4fc12293d4fa2c544d2e54ed8279dc07d7493f6 TICKET: CYNGNOS-3141
* Keep line numbers when obfuscatingd34d2016-05-271-0/+5
| | | | Change-Id: Ia7877ec538d071f1e598aaa4cc42e69c32262286
* Don't show apply fab if applying from 3rd party appd34d2016-05-201-1/+1
| | | | | | | | | | When applying components via a third party app, like the Theme Store, the appy fab would appear. This patch checks if we are appying a theme from a third party app and does not show the FAB in this scenario. Change-Id: Idedc920eeb975d96b66bcc73c88fa9acfe6bfd49 TICKET: CYNGNOS-2906
* Avoid IAE when adding an already added clientd34d2016-05-172-2/+10
| | | | | | | | | | This is a weird state and although I don't know how it can happen, there have been logs showing this happening so we can at least do our best to avoid the exception by catching it and carrying on since the exception means our client has already been added. Change-Id: Ibf3e9b798d0193d5701e508821bad09fca822a45 TICKET: CYNGNOS-2853
* Check if theme is applying in onResumed34d2016-05-061-1/+3
| | | | | | | | Make sure mThemeChanging reflects what the ThemeManager returns from isThemeApplying() Change-Id: I4c3d2bac7b48d173a3f3c376971339e127d3476b TICKET: FEIJ-443
* Avoid using equals() on a possibly null actiond34d2016-04-281-1/+1
| | | | | | | | Use the string constant instead to check if action is equal to ACTION_PICK_LOCK_SCREEN_WALLPAPER Change-Id: If5d565644eb7c41eb25638025ffccf9a252b34fd TICKET: CYNGNOS-2611
* Fix applying themes from third party apps (ThemeStore)d34d2016-04-261-2/+2
| | | | | | | | | The permission check was using a string constant in the source file rather than import the cmsdk Manifest and use the permission constants defined there. Change-Id: Id8017dfb9dc77fe8df7e3b0f87009bae8c050108 TICKET: CYNGNOS-2596
* Avoid potential NPE in getThemeChangeRequestForComponentsd34d2016-04-121-1/+5
| | | | | Change-Id: I64dbe4d62ab652c014b2087fd1f72096a677de70 TICKET: CYNGNOS-2406
* ThemeChooser: rename package to ModThemeChooserScott Mertz2016-04-081-1/+2
| | | | | | | So we can use LOCAL_PACKAGE_OVERRIDES to replace OSS ThemeChooser rather than relying on manifests. Change-Id: I59ce814bc05bf12057dc31d612a79a25ba921eba
* Use correct actions in broadcast receiverd34d2016-04-071-3/+3
| | | | | | | | | Theme chooser was still using the old actions that were recently moved to the cm platform sdk. This patch changes them to the correct actions found in cyanogenmod.content.Intent Change-Id: I44e3604c61d0021a7f2354c107da163a64e3951d TICKET: CYNGNOS-2389
* Don't obfuscate cyanogenmod.themes.* classesd34d2016-03-311-1/+2
| | | | | Change-Id: I693eb865f605c13cdaa86b9541dafba0cff6ff12 TICKET: CYNGNOS-2338
* Add ModLock option in lock screen pickerd34d2016-03-283-7/+32
| | | | | | | | This will intent out to the live lock screen settings so the user can pick a live lock screen (ModLock) Change-Id: Ia5bf5a6961ca2a50032cea2da5355e3fae7ae37a TICKET: CYNGNOS-2301
* Add pick lock screen wallpaper actiond34d2016-03-286-43/+25
| | | | | | | | This action will be used to launch the ThemeChooser into the current theme and show the lock screen wallpaper card. Change-Id: Ifffcd86c57b5e96a967d23287504cdd632793e9b TICKET: CYNGNOS-2296
* ThemeChooser: Update for Theme api changes.Adnan Begovic2016-03-252-3/+3
| | | | | TICKET: CYNGNOS-2295 Change-Id: I4d0000ed97aedcaa1e91f7be3d55ece78eea0103
* ThemeChooser: update translationsRoman Birg2016-03-2393-99/+2097
| | | | | | | | | | Using commit id 0b505673ed4712822e21189ba1e5810746639d92 as HEAD from ThemeChooser-resources Ticket: RM-214 Change-Id: I28e88b72637d1208df32715561027f5fda48854a Signed-off-by: Roman Birg <roman@cyngn.com>
* Themes: Refactor themes to CMSDK [1/3]d34d2016-03-0411-98/+98
| | | | | Change-Id: I441bb8de266fedec1988dd908f7f2864f90adf0a TICKET: CYNGNOS-2126
* Show FAB when an external image or None is selectedLuis Vidal2016-03-013-14/+40
| | | | | | | | | Fix to show the FAB when an external image or None is selected from the Wallpaper or Lockscreen cards. Change-Id: I911b4374ddc80186ee2699e8782d6e5ca48ee32f TICKET: CHOOSER-116 TICKET: CHOOSER-117
* Reuse space view when availabled34d2016-02-221-5/+14
| | | | | | | | | The additional Space we add to the additional cards layout was being created and added multiple times. We should be re-using it if it is already in the parent layout. Change-Id: Idfbb7889836175c39408bead193ea6125e124e69 TICKET: CYNGNOS-2117
* Show the apply icon when a theme component is changedLuis Vidal2016-02-223-21/+94
| | | | | | | | | | | | | To improve the ThemeChooser UX, the apply icon will now be displayed when the user makes a change in the component selector, rather than waiting until user presses the back button. The icon will remain visible even if the user jumps between components cards, as long as there's at least one change to apply. The icon will be dismissed if the user reverts the changes by selecting the currently applied components. Change-Id: I3cdde376a89d4456a2f68ca7957cc8e1db7c27e9 TICKET: CYNGNOS-2077
* Fix Lock Screen card scroll animationLuis Vidal2016-02-161-2/+4
| | | | | | | | | | | | | The lock screen card is being pushed to the top of the screen during the scroll animation and then slid down (to make sure the whole card is visible) if the device has hardware buttons. This patch will make sure the UX is the same across all devices. The card will be positioned in the middle of the screen once the animation is complete. Change-Id: Ic24c638dfa90f5f58424bc931eb5235befd31880 TICKET: CHOOSER-114