| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Change-Id: I68518d94664f0ab9290e1a7ffb0ca955c5dfbf3a
TICKET: CYNGNOS-1096
|
|
|
|
|
|
|
|
|
| |
The component selector was fixed to show themes that are only
fonts but they could not be selected in the theme fragment since
it was still using the PreviewColumns.CONTENT_URI
Change-Id: I4d54a8b72255794919e4884ba361c4f996b1af29
TICKET: CHOOSER-98
|
|
|
|
|
| |
Change-Id: I4b6449184047626c45c83ccb2b8394fdc613e70f
TICKET: HAM-666
|
|
|
|
|
|
|
|
|
| |
Fonts do not have previews so we need to use ThemesColumns.CONTENT_URI
in order to get all installed fonts, otherwise we will only get fonts
for themes that have previews, which omits font only themes.
Change-Id: I0ccd31c9fecfd9eedb6631a497070e037b8bb52b
TICKET: CHOOSER-98
|
|
|
|
|
| |
Change-Id: I748612eb3e63b81a4d93e8bbd1c8aed22eeb524b
TICKET: CHOOSER-96
|
|
|
|
|
|
|
|
|
|
| |
Some themes cause the chooser to crash after a theme change which
is caused when a ScrollView attempts to set the over scroll mode.
LockableScrollView overrides setOverScrollMode and if an exception
occurs, sets the mode to OVER_SCROLL_NEVER.
Change-Id: I6589f86ebd0ad8522b664a50acf6083875d5f438
TICKET: CYNGNOS-928
|
|
|
|
|
|
|
|
| |
This will prevent a user from releasing the FAB into the delete box
and then quickly touch the FAB again, preventing it from being
removed.
Change-Id: I69eccf6a76534c21ce9800e75fbfd03537bc27d0
|
|
|
|
|
|
|
|
|
|
| |
Whenever using app themer to switch an app to the system theme, the
user is presented with a message stating that this theme does not
explicitly overlay the current app. System theme is really an
absence of a theme so we should not show this message when applying
the system theme to an app.
Change-Id: I4087744c325dcd07abffe9a893ecc8fa4c9f1e07
|
|
|
|
|
|
|
|
|
| |
App themer needs to know what per app overlays are currently
applied and that info resides in ThemeConfig so make sure we always
have a valid ThemeConfig.
Change-Id: I9541a06fd88c91fe950a69df71f8377e8c028ff5
TICKET: HAM-304
|
|
|
|
|
|
|
|
| |
Check if wifiMarginIdx and clockColorIdx are valid indices and if
not use some default values.
Change-Id: I97bfc9ab4145d2aaeb155fa4ef77b0312e7431bc
REF: CYNGNOS-845
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Change-Id: Ie8d3bba59bbf5333314594db01d96cc3a4d8aa50
REF: CHOOSER-94
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I7d44c3e02c5679a775184f6646f754825a6dfa5c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This reverts commit 0f177c589b3893437772d05d8349c8dc415a2db6.
Change-Id: I22cd81586c10c27bcdc4ff8019dfb98945d2ca80
|
|
|
|
|
|
| |
This reverts commit d25b46108d55a2a81aa538f777bfeb8993f8a17f.
Change-Id: Ieec2bd3a9aa1369270e8a25eebb898eb21a25c5a
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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 the newly exposed public parse method in FontListParser instead
of the legacy parser included in the theme chooser.
Change-Id: I148ac3d7eeafd976f6d1bf228c240c6632deeaff
REF: CHOOSER-83
|
|
|
|
|
| |
Change-Id: I4f2fd8a39bb76f9655e5a9de430c74e55f797ae2
REF: TOMATOL-370
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Change-Id: Ib61eedfaa50e9e6cfbba1e51ad4e3cea2b856edc
REF: CHOOSER-62
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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-Id: I42f58ef75a45aa131c87baed0d0aeac5763e916c
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I3fb272c5614c8c61501eb96bee87eee8b9ad0df0
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I76a765fdb4f1efb462230a3b6a20436229d9c485
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
This allows us to have one apk that can have a launcher icon if
the Theme Store is not installed and if it is installed we can
disable the theme chooser launcher icon.
REF: CHOOSER-28
Change-Id: Id4c81ea7f68aa1491370d70fa29f3b5097e94488
|
|
|
|
|
|
|
|
|
|
|
| |
If mSelectedComponentsMap has a component that is not in mCurrentTheme
it will not get added to componentsToApply and therefore will not
be applied. We now iterate over mSelectedComponentsMap and add any
component that is from a different package than mCurrentTheme or
if that component does not exist in mCurrentTheme
Change-Id: I2df1c06a8de807c63425fa15d7605db34026b32d
REF:CHOOSER-27
|
|
|
|
|
|
|
|
|
| |
This adds a tag at the top of any theme that is designed for
an older version of CM and presents the user with a message
in the apply overlay when they go to apply a theme designed
for an older version of CM.
Change-Id: I7d60f14cbfc376890e06dbf1358745e4490be961
|
|
|
|
| |
Change-Id: I1c9fa43d7be1a6e59703f45559aa0944a5ae7e90
|
|
|
|
|
|
|
|
| |
The map being returned from getComponentsToApply was setting the key
as the value and the value as the key which causes no changes to
be made when applying the theme.
Change-Id: Ic4491d3c7c39ebef78717ab5cdfcd8d1e5759cc0
|