summaryrefslogtreecommitdiffstats
path: root/src/android
Commit message (Collapse)AuthorAgeFilesLines
* Move actions in theme card to overflow menuBharadwaj Narasimha2016-09-031-3/+1
| | | | | | | | | 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
* Fall cleaningd34d2016-08-311-1/+1
| | | | | | | | | | | | | | | | * 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-282-3/+31
| | | | | | | Let freedom ring! Change-Id: I12b3e6b5d46eb2e13afd841dfd5c215af64188d8 TICKET: OSS-67
* Do not play "click" sound when apply/reset dialog is shownAndy Mast2014-11-171-2/+19
| | | | | | | | | | Clicking around the apply/reset dialog was causing the click sound to be played even though nothing was happening. The solution was to disable ComponentCards when not expanded and to have the ThemePager only play click events when the clickview's sounds are enabled. Change-Id: I6a7ae2afd33e3fc72aa53052233c8e4117d089c2 REF: THEMES-423
* Disable action buttons when showing an overlayClark Scheff2014-11-111-1/+2
| | | | | Change-Id: Ib04be04925f6528ef8bba824fa6f01ab88acff0e REF: THEMES-413
* Replace option menu with reset/delete actionsClark Scheff2014-09-251-0/+2
| | | | | | | | The code and xml for the popup menu are still in place for future use. The image view for the menu is simply set to View.GONE so it will not be available to the user at this time. Change-Id: I7897e1c06532c51d6be82edca3bb76c37acbf9ae
* Repurpose apply theme layout for deleting themesClark Scheff2014-09-251-1/+1
| | | | | | | | The apply theme overlay is now the ConfirmCancelOverlay. It has been generalized so that it can be used for the delete theme confirmation overlay as well as the apply theme overlay. Change-Id: I9ea352291c44ba2fb453ea7325e3d8f0bce46fe4
* Use linear layout inside scrollview for component selectorClark Scheff2014-09-181-0/+48
| | | | Change-Id: I9ad30111c8c3fbaabcf5748ec6cf1d7a9fc2eaa9
* Workaround AOSP issue #18990Clark Scheff2014-09-041-1/+12
| | | | | Change-Id: I398eec984673244d0164dea85011ecdf35ccf9e3 See: https://code.google.com/p/android/issues/detail?id=18990
* Add customize/reset overlay for currently applied themeClark Scheff2014-09-031-1/+2
| | | | Change-Id: I226fd3ff6dc05195d1049d75f72aa32595a42715
* Fix copyright derpaged34d2014-08-281-1/+1
| | | | Change-Id: Ib0d62b6bc69cd6c0c485a1ec5340ffdd7914efc3
* Dismiss apply theme overlay when clicked outside of content.Clark Scheff2014-08-281-1/+9
| | | | Change-Id: I745d94c5e3cd24deeff5a3c4e3c295dda679af33
* Copyright all the things.Clark Scheff2014-08-281-13/+1
| | | | Change-Id: I6cc73b320657f1bba27017f2843c84e9d6bc4c69
* Merge "Only call performClick when within the theme card." into cm-11.0Clark Scheff2014-08-281-3/+4
|\
| * Only call performClick when within the theme card.Clark Scheff2014-08-271-3/+4
| | | | | | | | Change-Id: I679489a6980267da6d4ee4f9cb8989365c1d5f88
* | Make sure info isn't null before accessing itd34d2014-08-271-1/+1
|/ | | | Change-Id: I6937ac5dad6cf13e68e8705b56e2b73a6e683844
* Allow enabling/disabling scrolling of pagerClark Scheff2014-08-111-1/+6
| | | | | | | | Setting the pager to disabled does not prevent it from allowing the content to be swiped which was what I had hoped it would do. This patch allows us to enable and disable scrolling of the pager. Change-Id: I160e403614258ce58d46e97a1d65b35d1ca74f96
* Fix NPE on first startAndrew Mast2014-08-081-1/+2
| | | | | | | If you clear data and start the app and click the empty viewpager you get an NPE. Change-Id: I1a6c519e8edc820f2c34c46e186c28baf2b4ff04
* Implement new apply UIClark Scheff2014-08-071-1/+2
| | | | Change-Id: I9d57114bb5878b2e6c734733306be707b039f188
* Add "customize" button to theme cardClark Scheff2014-08-061-1/+1
| | | | Change-Id: If76f1cde4a2a2344645646c938f1ae7d7ccd23cb
* Remove v1 code and resources and refactor v2 chooser.Clark Scheff2014-07-291-1/+1
| | | | Change-Id: Ic617365b3d26944e11c592b1508b4170ddb2871e
* Remove apply button from "My theme"Andy Mast2014-07-251-1/+4
| | | | Change-Id: Iea8245aaeb9bac8b8e2464050a7d9c94fbf3f369
* Overflow PopupAndy Mast2014-07-251-7/+7
| | | | Change-Id: I12ae73059381edab884977969a6dfa6932e55549
* Update UI from new redlines & assetsAndy Mast2014-07-231-2/+6
| | | | Change-Id: Ifc40edd9ee2a5bb5478af63d56991303be146e8e
* Add applying theme progress along with animations.Clark Scheff2014-07-171-1/+1
| | | | Change-Id: Id7835d3be0b9d9c8d861e820e63b45e17235ef68
* Implemented bottom title cardAndy Mast2014-07-161-4/+33
| | | | Change-Id: Iba41091d408f8251a035b1d762c599a0fa7e025e
* Implement mixnmatch component selection from detail viewClark Scheff2014-07-141-2/+2
| | | | | | | | Currently only icons, fonts, status bar, and navigation bar are implemented. Once other cards are added to the detail view we can add them for mixnmatch Change-Id: I524483f51a7cb76db06844c333340c491c87d7ac
* Vertical center Themes by using a viewpagerAndy Mast2014-07-031-0/+104
Transitioning from a center collapsed view to an expanded view requires a layout change. Animating children during a layout change requires the children to be placed in a grandparent's ViewOverlay so that they do not get clipped. A ListView cannot remove a child view, so ViewOverlay cannot be used with ListView items, therefore a ViewPager was used instead. Change-Id: I665b89bf85d7466334db8a64bf37475e9e268efc