summaryrefslogtreecommitdiffstats
path: root/src/org
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove BootReceiverClark Scheff2016-09-041-56/+0
| | | | | | | This receiver is no longer necessary Change-Id: I50f33a9e696db0f7e84f1e78849a0ca1e57f4c97 TICKET: NIGHTLIES-3335
* Move actions in theme card to overflow menuBharadwaj Narasimha2016-09-033-96/+36
| | | | | | | | | 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-3121-91/+82
| | | | | | | | | | | | | | | | * 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-2834-0/+12412
| | | | | | | Let freedom ring! Change-Id: I12b3e6b5d46eb2e13afd841dfd5c215af64188d8 TICKET: OSS-67
* Remove v1 code and resources and refactor v2 chooser.Clark Scheff2014-07-2930-8174/+0
| | | | Change-Id: Ic617365b3d26944e11c592b1508b4170ddb2871e
* Delete extra character.Clark Scheff2014-07-291-1/+1
| | | | | | | | An 's' migrated its way into the ThemeFragment and the Department of Homeland Security has declared this 's' to be hostile and therefore it must be removed ASAP. Change-Id: Ib792a4232d798f08f7ede3769345af38d2abf127
* Refactor theme preview layout to use LinearLayout.Clark Scheff2014-07-291-14/+11
| | | | Change-Id: I048a5e3563fe3c4734b0f6dd989f815f8d7a239f
* Catch RuntimeException when attempting to draw a recycled bitmap.Clark Scheff2014-07-281-0/+12
| | | | | | | | | | It is possible for the boot animation to be in the middle of a call to onDraw when a new animation is being loaded. This can result in one of the bitmap buffers being recycled which will throw a RuntimeException when trying to draw it to the canvas. Worse case we lose a frame or two of the animation when this occurs. Change-Id: Ied2fb77b787f4a4d6141780113ebac2a177f6e57
* Fix component selector hide animation firing off rapidly.d34d2014-07-282-2/+5
| | | | | | | | | If the user presses the back button repeatedly while the component selector is being displayed, the selector will reset the hide animation and start over. This patch enables and disables the selector so that this behavior does not exist. Change-Id: I894107a239c4af55c1485401ca925a8b74b75ac0
* Show blank card with loading indicator while loading card.Clark Scheff2014-07-281-3/+40
| | | | | | | Once the card is loaded the blank card and loading indicator will fade out, revealing the loaded content. Change-Id: I5812cfa837e9a8decdd2cd2a69c1d4e2e30a4aff
* Use TypefaceHelperCache in ThemeFragmentClark Scheff2014-07-281-5/+10
| | | | Change-Id: I172b5d7e8fe69d95948c7b58e9c71639306feea8
* Move retrieving of current theme to ChooserActivity.Clark Scheff2014-07-282-41/+72
| | | | | | | Handle retrieving this information in the ChooserActivity rather than loading it on a per-fragment basis. Change-Id: I3a4c55d14f091d04b3b221c95e925f1d649a0def
* Remove unnecessary call to set scrollview focus.Clark Scheff2014-07-251-6/+0
| | | | | | | This was a hack for when the boot animation was not a fixed size, now that the card is set to a fixed height we no longer need this. Change-Id: Ice6274add29544223b0f33fee19ed1b7cd654489
* Add boolean parameter to specify if label should be visible.Clark Scheff2014-07-253-6/+7
| | | | | | | | | The additional cards don't animate the label in so they need it to be visible from within the expand() method. The cards that are visible in the preview, that animate into cards need the label to not be visible since it will be faded in. Change-Id: I89a572a481d2d753118225c102dac0f7e99739ba
* Remove apply button from "My theme"Andy Mast2014-07-251-0/+3
| | | | Change-Id: Iea8245aaeb9bac8b8e2464050a7d9c94fbf3f369
* Add change animations for wallpapersAndy Mast2014-07-252-9/+84
| | | | Change-Id: Id250cf5143aaf842e4b41dab7884af2d915f495c
* Allow themes to be deleted from chooserAndy Mast2014-07-252-9/+61
| | | | Change-Id: I782404044e66707f06366c3c69db67a3eeb7dd55
* Overflow PopupAndy Mast2014-07-251-0/+21
| | | | Change-Id: I12ae73059381edab884977969a6dfa6932e55549
* Destroy the LOADER_ID_APPLIED in onLoadFinished.Clark Scheff2014-07-241-0/+2
| | | | | | | | | | | | | This loader was being called several times during, and immediately after, a theme change causing the items in the additional cards to revert back to their previous setting. i.e. If you change the boot animation, apply the change, and then expand the card you would see the boot animation was back to the previous one even though the selector indicates that the current one is the one you just applied. Change-Id: I1125d9d1a7a82ef0c6f2b619e4fb5f02b0efc30e
* Move back to first page when swapping cursor in ComponentSelectorClark Scheff2014-07-241-1/+1
| | | | | | | | | Calling mPager.setCurrentItem() before swaping the cursor throws an exception periodically about not calling notifyDataSetChanged even though we do call it after swapping cursors. Calling setCurrentItem() after the swap appears to solve this problem. Change-Id: I164947aff5b5bc2b300bbcec17d38a4f16c15bb8
* Add stop button to sounds component selection items.Clark Scheff2014-07-241-5/+18
| | | | Change-Id: I44029bab15347bda318963f93ece690e38875b07
* Add cards for sounds.Clark Scheff2014-07-242-3/+218
| | | | Change-Id: I4b2c9bb62eaabbd127f03631dd03eb5f1d57abb9
* Merge "Don't spam logcat when themed font cannot be loaded." into cm-11.0Clark Scheff2014-07-231-1/+1
|\
| * Don't spam logcat when themed font cannot be loaded.Clark Scheff2014-07-231-1/+1
| | | | | | | | Change-Id: I1f226dcfad4063030d30051f1442f5729bcc0274
* | Merge "Clear the adapters cursor before switching components." into cm-11.0Clark Scheff2014-07-231-4/+5
|\|
| * Clear the adapters cursor before switching components.Clark Scheff2014-07-231-4/+5
| | | | | | | | | | | | | | | | | | | | It is possible for the CursorPagerAdapter to get in a state where it throws an IllegalStateException stating that notifyDataSetChanged() was not called even though we call it whenever we swap the cursor. Clearing it first resolves this problem. Change-Id: I5e1c2f1c06e10be74d0ac058b97a36d029d83c6a
* | Merge "Make sCardIdsToComponentTypes non-static" into cm-11.0Clark Scheff2014-07-231-22/+23
|\|
| * Make sCardIdsToComponentTypes non-staticClark Scheff2014-07-231-22/+23
| | | | | | | | | | | | | | We need to alter this on a per-fragment basis and therefore it cannot be static. This allows us to remove entries for cards that are removed. Change-Id: If6c9ed3e3e6c04696217bbfbe0dacec168a1c344
* | Merge "Add boot animation card." into cm-11.0Clark Scheff2014-07-233-19/+205
|\|
| * Add boot animation card.Clark Scheff2014-07-233-19/+205
| | | | | | | | Change-Id: I88b49ab68a0239668be6480cd6358d9175e3c9e9
* | Strip off all the paint before applying theme.Clark Scheff2014-07-231-0/+6
|/ | | | | | | | The "My theme" card is the only exception, all other themes will be applied on top of the default components such that any components that are not in the theme being applied will return to their default. Change-Id: I91205e08fa714448b25fce440f8ebeafc4f2c9b9
* Add style cardClark Scheff2014-07-234-8/+48
| | | | Change-Id: If5e0905c87093df2c0b8ae39351b4f5bc761b8d7
* Lockscreen Wallpaper CardAndy Mast2014-07-233-67/+276
| | | | Change-Id: I7bdbe4d943ce57af1a86b9dbd573b695be088004
* Update UI from new redlines & assetsAndy Mast2014-07-233-20/+72
| | | | Change-Id: Ifc40edd9ee2a5bb5478af63d56991303be146e8e
* Copy bitmap from getDrawingCache and destroy drawing cached34d2014-07-211-12/+20
| | | | | | | | Once hardware acceleration was enabled, views would keep returning the same drawing cache and not update. Once we are done with the drawing cache we destroy it so it can be rebuilt later on. Change-Id: Ic1f29220ee1654d1e9c54ca1797a6e6c7e1178ce
* Extend FragmentStatePagerAdapter for ThemesAdapterClark Scheff2014-07-182-24/+14
| | | | Change-Id: I29c49156f02bfb38eb4b614e4ca5df3bf8bc5193
* Update mAppliedComponentPkgName on every call to setComponentTypeClark Scheff2014-07-181-19/+17
| | | | | | | This ensures that mAppliedComponentPkgName is updated and that the appropriate applied component is properly highlighted. Change-Id: I42d8551b8eb2b17af1a43ff7108f92efd4b39eb5
* Scroll to "My theme" after applying a theme.Clark Scheff2014-07-181-0/+7
| | | | Change-Id: I3c4cd2aa7bfe29854979aae46cd41a1af4473e79
* Use hardware acceleration for all the things!!!Clark Scheff2014-07-181-5/+0
| | | | Change-Id: I705e520caf9135e63e98f628dc406f374788263e
* Clear changes for current theme card and "My theme" if not current.Clark Scheff2014-07-181-5/+10
| | | | | | | | Restore the theme's components after applying changes if the card is not the "My theme" card. My theme is also reset if it is not the current card so changes made are shown on that card. Change-Id: Iecde05b360dd76b372e593703700109c6aa4bd96
* Fix missing wp card textAndy Mast2014-07-181-20/+9
| | | | Change-Id: I5604c160ffe9763bee12870abc0410bd55e93664
* Fix how wallpaper is loaded for "My theme" cardClark Scheff2014-07-181-4/+8
| | | | Change-Id: Ifd13e6721baf833cad5aea14f8eb8e0361070460
* Wallpaper preview cardAndy Mast2014-07-173-12/+180
| | | | Change-Id: Ib8a8b5fb2af04fe50a1cd71a2e0864cf3558900c
* Retrieve navbar_background if it exists.Clark Scheff2014-07-171-2/+7
| | | | Change-Id: Iab958d7ae4ebfe5217ce0bcee56c207cbc0a2b74
* Apply theme after collapsing if user hit save & applyClark Scheff2014-07-172-6/+10
| | | | Change-Id: Idb55cf41f10a7b7671f6d94168450b64f91b83a5
* Add applying theme progress along with animations.Clark Scheff2014-07-172-14/+142
| | | | Change-Id: Id7835d3be0b9d9c8d861e820e63b45e17235ef68
* Animate component changes for status bar, nav bar and fontsClark Scheff2014-07-162-10/+101
| | | | Change-Id: Ia0cd72869c3e4524e1306a00fe6f81c76b45b3a6
* Animate icon change in card when changing icons.Clark Scheff2014-07-162-13/+197
| | | | Change-Id: Ibb4d825c3c1d53006b7f8f6df69ac1b00c95adda
* Change theme based on component map from current ThemeFragmentClark Scheff2014-07-162-11/+28
| | | | Change-Id: Ie6829d27e15942518e15c988fa4b0927519f6b80