summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Automatic translation importMichael Bestas2015-07-288-0/+116
| | | | Change-Id: I935274ce65adac1b46d554ea89e6dfc0c6aef6e8
* Automatic translation importMichael Bestas2015-07-2822-20/+129
| | | | Change-Id: Ic1789bd115584097005041f4e22d372953fa7658
* Automatic translation importMichael Bestas2015-07-2821-0/+946
| | | | Change-Id: Iefdabd6df54d723cbbfe0002546ecc0c241afde3
* App themer UI updated34d2015-07-168-87/+116
| | | | | | | | | | 1) Fab is now a vector drawble 2) Theme list uses a white background with black text 3) Fab animation scales down and stays aligned to the side 4) Fab can be touched to dismiss list 5) Fab no longer snaps to delete box Change-Id: I0898b6e5d5d2862a27f92cbce9634899eb58896c
* Update iconography.Dave Kover2015-07-1519-15/+71
| | | | | | | | | Change main icon from holoyolo to material. Switch to mipmap ref. Remove LargeIcon from notification as it clashes with the new icon. Update iconography in the chooser for App Themer and Store. Change-Id: I5b4d5c7eb8ee617caf0dd352540d44d29d5345f1 Ticket: DES-365
* Re-populate component selector when theme added/removedd34d2015-06-041-0/+40
| | | | | Change-Id: Ie8d3bba59bbf5333314594db01d96cc3a4d8aa50 REF: CHOOSER-94
* RENDANG-281: Add Indonesian translationsAndy Mast2015-06-021-0/+50
| | | | Change-Id: I136188272fd6c3009c9fab90e8b0984d4ac3b230
* Introduce Theme VersioningRichard MacGregor2015-05-296-307/+420
| | | | | | | | | | | | | Move sql query construction into new class. Consolidate shared Loader_ID_* states across different classes. Include versioning to allow for certain functions to not be called, and sql queries not built if frameworks doesn't support them. Depends on: http://review.cyanogenmod.org/#/c/99452/ http://review.cyanogenmod.org/#/c/99600/ Change-Id: I8061f1894890fa7e2221e1d4f4c90c4ed503e3d1
* Show/Select any of the available wallpapersRichard MacGregor2015-05-265-44/+135
| | | | | | | | | | | Be able to show and select all (multiple if present) wallpapers from installed themes. Depends on: http://review.cyanogenmod.org/#/c/98951/ http://review.cyanogenmod.org/#/c/98905/ Change-Id: Ibd9c21c93c181a08b2052c4d4ce2b78690cfc969
* Fix dimensions based on screen widthd34d2015-05-222-0/+7
| | | | | Change-Id: I5bbe78a95a011fe368c2e0225225485859742c01 REF: CRAB-119
* Don't restart loader if loader ID is invalidd34d2015-05-201-2/+6
| | | | Change-Id: I7d44c3e02c5679a775184f6646f754825a6dfa5c
* Allow chooser to use files instead of blobsRichard MacGregor2015-05-182-3/+31
| | | | | | | | | | | | | | This gives chooser the ability to use both older and newer versions of the themes provider. Older = blobs in previews table Newer = files paths in previews table Stable Branch depends on nothing. Master (12.1) depends on: http://review.cyanogenmod.org/#/c/98708/ http://review.cyanogenmod.org/#/c/98709/ Change-Id: I0e5d1ae85378d59d5f44deb9f6ef0a73e1a0f95b
* Revert "Improve PreviewsColumns Implementation"Richard MacGregor2015-05-164-288/+129
| | | | | | This reverts commit 0f177c589b3893437772d05d8349c8dc415a2db6. Change-Id: I22cd81586c10c27bcdc4ff8019dfb98945d2ca80
* Revert "Use files instead of blobs"Richard MacGregor2015-05-164-53/+27
| | | | | | This reverts commit d25b46108d55a2a81aa538f777bfeb8993f8a17f. Change-Id: Ieec2bd3a9aa1369270e8a25eebb898eb21a25c5a
* Use files instead of blobsRichard MacGregor2015-05-114-27/+53
| | | | | | | | | | | | | Previews columns now uses file paths instead of saving bitmap blobs in database. Depends on: http://review.cyanogenmod.org/#/c/96836/ http://review.cyanogenmod.org/#/c/97431/ http://review.cyanogenmod.org/#/c/97754/ http://gerrit.cyngn.com/#/c/11983/ Change-Id: Ie3ba8008f78b8e94dc1acf53e6b991a8311437dc
* Improve PreviewsColumns ImplementationRichard MacGregor2015-05-114-129/+288
| | | | | | | | | | | Previews columns now uses a key/value pair structure to allow for easier future support of multiple components per theme pack. Depends on: http://review.cyanogenmod.org/#/c/96836/ http://review.cyanogenmod.org/#/c/97431/ Change-Id: I9310a8ad038d6ac1a65b14f725b82255ad3718d3
* Use custom edge effect colord34d2015-05-082-0/+3
| | | | | | | | This resolves the crash issue when changing certain themes from the theme store. Change-Id: I8e236d3f9fac2f28aff0ce090498a1237d0b4c6d REF: CHOOSER-85
* Use android.graphics.FontListParserd34d2015-05-061-14/+16
| | | | | | | | Use the newly exposed public parse method in FontListParser instead of the legacy parser included in the theme chooser. Change-Id: I148ac3d7eeafd976f6d1bf228c240c6632deeaff REF: CHOOSER-83
* Obfuscate das Chooserd34d2015-05-052-0/+9
| | | | Change-Id: I1c18473dd7bb86d657308681ab1c663ed23e32f8
* Fix inconsistent component titles for default componentsd34d2015-04-291-0/+35
| | | | | Change-Id: I4f2fd8a39bb76f9655e5a9de430c74e55f797ae2 REF: TOMATOL-370
* Change text sizes to use dp instead of spd34d2015-04-279-23/+23
| | | | | | | | Since a lot of our views are of a fixed size setting text size to a dp value ensures the text fits and will not be scaled up or down. Change-Id: I74d3dbe3bdd5506b4a13292eaaf5ea26bbe64966 REF: RENDANG-286
* AppThemer: Animate FAB in when App Themer clickedd34d2015-04-271-0/+24
| | | | | | | | When the user presses the app themer icon, the FAB would immediately show up on the screen. This patch animates it in rather than abruptly show it. Change-Id: I89bb198b36a1d6d66fc0cb0fb9b675f1f95e6463
* Remove direct references to private framework resourcesd34d2015-04-2213-36/+91
| | | | | | | | This will allow us to distribute the chooser. Private resources were either redefined in our xml or reflection is used to retrieve these values in code. Change-Id: I8c901abef6a5492094d4b86752368625a385bb47
* Remove deprecated theme showcase for shop themesd34d2015-04-172-8/+14
| | | | | | | | | | Now that theme showcase is deprecated and the store is shipping on our devices, we no longer need the string for themes showcase and the code that relied on that. This patch adds a check for the theme store, even though it SHOULD be installed, and hides the shop themes button in this case. Change-Id: I89746914698305eb736c354440218d37dcdce02c
* Make play/stop button touch area largerClark Scheff2015-04-162-5/+8
| | | | | | | | | | The play/stop button can be difficult to press due to it's small size. This patch increases the padding around it to provide more area for touch events. Change-Id: Ic3bbddfe3d5b8845729ebcd3b55599ca9bb6dc08 REF: RENDANG-181 (cherry picked from commit c97e2db7f06d689b7d2bd66ddb307ab5ec6d69e5)
* Re-use existing typeface when setting to boldd34d2015-04-101-1/+1
| | | | | | | | | | | | We set the text for the "default" entry in the component selector to bold but pass in null for the typeface. This ends up using the DEFAULT_BOLD typeface rather than lato and can result in a native crash in libminikin. There is still an issue with fonts at the native layer but this patch helps mitigate the issue from crashing the chooser. Change-Id: I9e4cde2452c18d538db5d27ea2acf8c92ff27aad REF: THEMES-537
* Adjust tag layouts to better accomodate multiple tagsd34d2015-04-034-21/+19
| | | | | | | | | | If a theme has multiple tags enabled, they may end up being cut off as they extend beyond the bounds of their container. This patch reduces the text size to 12sp, wraps content instead of fixed size and adds padding on sides. Change-Id: If05d4d6c4efc666e1481773fbd1b1108a9a505b7 REF: CHOOSER-3
* Always add all components to apply when resetting themed34d2015-04-031-1/+1
| | | | | | | | | | If the user is resetting their currently applied theme we should include all components regardless if the provider states that component is already applied. This happens when certain items are changed outside of the chooser, i.e. audibles or wallpaper. Change-Id: Iccab7e5417a99f774007d5b327f7f3c2f8d8e467 REF: CHOOSER-14
* Return original wallpaper when cropping/resizing failsd34d2015-04-031-51/+56
| | | | | | | | | | | Some images have dimensions that don't work with the scaling/cropping methods. An IllegalArgumentException is thrown when this happens resulting in the background being the grayscale grid. This patch simply catches the exception and returns the original wallpaper so that the chooser can display it as the background. Change-Id: Ic0f8a021ee2e2dd32aeede05583cfc2fa25261c4 REF: CHOOSER-66
* AppThemer: Show toast when app not explicitly themedd34d2015-04-033-0/+32
| | | | | | | | | | If a theme is being applied to an app and the theme does not have an explicit overlay for the app, we display a toast indicating to the user that some things may not change. Change-Id: If0b4ab422a3b5c15fd531348a23828f9fcdd59e9 REF: CHOOSER-71 (cherry picked from commit 1d1c49502a56195018ac723329b71dd4b8a36a64)
* Adjust dimensions for HDPI devicesClark Scheff2015-04-031-2/+9
| | | | | | | | This tweaks some of the dimensions for HDPI devices so that the UI looks good on these smaller sized screens. Change-Id: Icfc12858fde68b2132c758222077ecb440a7bffa (cherry picked from commit 01d2c74721819f7ada0889c2a784af383c122c76)
* AppThemer: Don't handle touch event if disabledd34d2015-03-252-1/+2
| | | | | | | | While a theme is being applied we disable the theme list layout and make sure touch events are not handled when disabled. Change-Id: Idbdf5fe686bdd89db3019e71327f151694cb8473 REF: CHOOSER-68
* AppThemer: Don't make FAB visible during theme changed34d2015-03-251-10/+23
| | | | | | | | | The FAB will still receive touch events if it is visible, this patch keeps the FAB set to View.GONE until the theme change is finished, at which point it animates back in. Change-Id: I7219666176ff70d6b444a22b61de1dbebf86ae5f REF: CHOOSER-69
* Update strings for translationClark Scheff2015-03-241-19/+25
| | | | Change-Id: Ic0d0e8a8d2196802fc00131985a915a0652126a1
* Don't perform click when applying a themed34d2015-03-201-1/+1
| | | | | | | | | It was possible to get the apply overlay to come up while the theme is being applied, which is not desirable. This patch simply checks if a theme is being applied and if it is, skips the performClick() call. Change-Id: I2e841f372b87695de276e281219ce6b7aae59e3a
* Properly pad layouts when on screen nav is usedd34d2015-03-202-7/+22
| | | | | | | | This patch checks if the device has no hardware keys or if the user has enabled on screen navigation even though the device has hardware keys. Change-Id: Ie93280a275735567390e2cdc34a82d4de63a8450
* App Themer: Observe changes to themes databased34d2015-03-181-5/+33
| | | | | Change-Id: Ib61eedfaa50e9e6cfbba1e51ad4e3cea2b856edc REF: CHOOSER-62
* Don't show install notification for default themed34d2015-03-181-1/+3
| | | | | | | | | | Because of the new flow with the themes provider, we end up getting an ACTION_THEME_INSTALLED broadcast when the default theme gets added to the provider. Once a user gets through OOBE they will see the theme installed notification which is not desirable. Change-Id: Ic6c5d34e452a71c830f56917b235ec9a126d27c3 REF: OPO-131
* BootAni: Recreate bitmap when reusing failsd34d2015-03-181-1/+22
| | | | | | | | | If the inBitmap does not have enough bytes allocated to load in the newly decoded frame an IllegalArgumentException will be thrown. Instead of giving up here we can load in a new image instead. If this fails then we log it and continue as normal. Change-Id: Ibc11cde7aed9633552854a11a50924872a94fa53
* Remove old branding from iconography.Dave Kover2015-03-1318-4/+39
| | | | | | | | Update launcher icon and remove the mark. Update ic_themestore to remove the old mark and turn resource into a vector drawable. Fix HDPI notification icon to be correct size. Change-Id: I3f12975a1e510c4e2bdbf668456b5370dcee9bcd
* Change com.cyngn.themes.permission.THEMES_APP to signatureOrSystemAndy Mast2015-03-121-1/+1
| | | | | | | This is neccessary because the themestore is compiled with app signature and chooser is compiled with platform signature. Change-Id: I01eead77e70da494edcab72206910b249dae7cbe
* Use provider's broadcasts for theme installs/removalsd34d2015-03-114-87/+12
| | | | Change-Id: I42f58ef75a45aa131c87baed0d0aeac5763e916c
* Send broadcast when theme chooser opened and theme removedd34d2015-03-112-0/+23
| | | | | | | | | | | | This introduces two new actions that will be broadcasted to the store, or any app that is granted the com.cyngn.themes.permission.THEMES_APP permission, which requires the same signature as the Theme Chooser. If a theme is uninstalled from the chooser, a broadcast is sent along with a String extra with the key "package" that identifies the package name of the theme being removed. Change-Id: I6b3f4e19ebb1b8d763d7e0038591fccbbe1809f2
* Make per-app theming name "App themer"d34d2015-03-111-2/+2
| | | | Change-Id: I8e1447777a0848f55e37761dbbd57a972f189a0b
* Use new RequestType when sending ThemeChangeRequestsd34d2015-03-112-1/+34
| | | | Change-Id: I3fb272c5614c8c61501eb96bee87eee8b9ad0df0
* Set FAB to GONE when showing listd34d2015-03-051-1/+8
| | | | | | | Since the FAB is above the list, it is possible for the user to move the FAB since it is still "VISIBLE" with an alpha of 0. Change-Id: Ib1780d213ecde680e1ba0790447586ac2c6cebe4
* Set min and max height for per app theme ListViewd34d2015-03-046-11/+83
| | | | Change-Id: I76a765fdb4f1efb462230a3b6a20436229d9c485
* Themes: Enhanced theming capabilities [3/3]Clark Scheff2015-02-2745-52/+1445
| | | | | | | This is really per-app theming but the subject is being named the same as the open source commits to avoid confusion. Change-Id: I811463be11359d747065ad66f802a55e1ab7db08
* Add better error handling when loading audiblesd34d2015-02-091-7/+12
| | | | | | | | | | | We were checking if the ringtoneUri was null but not if the actual Ringtone returned for that uri was null. This patch handles that case and simply shows the "Add ...." so the user can add a valid audible. Change-Id: I4c2320c6ed7ccd825ffcec411bdffc858b08741e REF:TOMATO-186 (cherry picked from commit 77a2e801640bff65cf7b0d9fadb2364b9531579d)
* Use LatoTextView for wallpaper_cardClark Scheff2015-01-271-1/+1
| | | | | | | This card was still using a standard TextView and looks out of place once a font is applied. Change-Id: I28909a6c5df8159b20b8a4ff54be8257b0ba5f2b