| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Change-Id: Ib35bd18254f3ba49820e6de115834ca6fcf66090
|
|
|
|
|
|
|
|
|
| |
checkForIdChanges() rebuilds the mFragments list which causes the
wrong fragment to be removed from mFragments. This patch checks
that the fragment being removed is the same as the one at the given
position, if not then we do not set that entry to null.
Change-Id: Ia5883a0329de37e60331e849d749a104a32f7d11
|
|
|
|
| |
Change-Id: Id3c2371fe2bc0eceb230a037d5ba2f60600b9a71
|
|
|
|
|
|
|
|
|
| |
We were only scrolling content into view if the top was negative
but we should take into account the status bar height and make sure
the conent is scrolled so that it is below the status bar and not
behind it.
Change-Id: Ia7d40af4dfffbc9ce6a1e12aa2175905db3c710b
|
|
|
|
| |
Change-Id: I9ad30111c8c3fbaabcf5748ec6cf1d7a9fc2eaa9
|
|
|
|
| |
Change-Id: I19e9a8da814260fc64cf5b9d74c2987508c5812a
|
|
|
|
| |
Change-Id: I1e26a6e94667248f3c32896a3f2eef9307b91d90
|
|
|
|
| |
Change-Id: Ibfc42bec92116ffd0569280647cfe887ed508520
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FragmentStatePagerAdapter saves the state of the fragments based on
their position. This works great until you start to add and remove
fragments. The fragments get their state restored incorrectly and
we end up with duplicates or gaps. We initially ended up recreating
the pager adapter whenever we needed to add or remove a theme to
get by this limitation. This patch brings in NewFragmentStatePagerAdapter
found at https://code.google.com/p/android/issues/detail?id=37990 to
provide a better work around for this bug.
We still re-create the pager adapter if we change a theme since the
MyThemeFragment requires some special attention.
Change-Id: Ibaa6854085f8653a6eb6dbe288bdbed871551ed2
|
|
|
|
| |
Change-Id: I1f5b2d8317d5d4db6bea91ac194f6a3a95b8f4f8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Deleting themes offers a bad user experience in its current form.
Since PackageInstaller does not let us know that the package
removal was successful, the theme will remain in the viewpager until
we finally receive the broadcast from the PackageManager that the
theme was removed.
This patch adds the DELETE_PACKAGES permission and deletes the package
without using the PackageInstaller. This allows us to know immediately
that the package was removed and we can update the themes right away.
Change-Id: I229f2fbadc6f614a8180fb04735906f86e5e96fa
|
|
|
|
| |
Change-Id: I54a50d756aba78aff83c4b55d1c44d31fa373aeb
|
|
|
|
| |
Change-Id: I22d1a00f794946a3b9671b03465d688df70f5c33
|
|
|
|
| |
Change-Id: I2aa04ab6429a660e748bfead38162cec5a398c87
|
|
|
|
|
| |
Change-Id: I398eec984673244d0164dea85011ecdf35ccf9e3
See: https://code.google.com/p/android/issues/detail?id=18990
|
|
|
|
|
|
|
|
| |
Audibles can take up to 300+ms, per audible, to load from the
theme apk. To reduce the latency when expanding a theme, these
audibles will be loaded in a separate thread.
Change-Id: I48676284d4673d8a22105dac323f0f056e6f7a78
|
|
|
|
|
|
|
| |
Since there is no UX available for the author info, this feature
will be commented out for the time being.
Change-Id: I00ea79f081248501ea499293ad6c5609dda20e48
|
|
|
|
| |
Change-Id: I2f60da0ab633487e18e216072ce834e255b5d852
|
|
|
|
| |
Change-Id: Ifd417ec08cc00f1f4300b4d1364d4183538dcf50
|
|
|
|
|
|
|
|
| |
This should resolve a bug I noticed when starting the chooser right
after a reboot. onPause was called and a NPE was thrown from the
FragmentStatePagerAdapter.
Change-Id: Ic870dad5d702b3e41fa4e2201b7955c36fa7b5f3
|
|
|
|
| |
Change-Id: I226fd3ff6dc05195d1049d75f72aa32595a42715
|
|
|
|
| |
Change-Id: I543bd13989c4b3a146cc7db5f3c87983dc55ac11
|
|
|
|
|
|
|
|
|
|
|
| |
We add a package to the supported components map when the various
loadXXXXXX() methods are called but this is not correct. The theme
may not support that component and in that case we should not add
the package to the supported map. If we do the theme service attempts
to apply those components and in the case of fonts, you end up with
all text gone.
Change-Id: Icd718f4f69f8296a9b5c11f49f5e169373c8b6f6
|
|
|
|
|
|
|
|
|
|
| |
If the user closes out the app during a theme change it is possible
to end up in a state where the chooser incorrectly displays the applied
theme as the one that was perviously applied before the change. When
in this state it is also possible for the theme change listener to not
be triggered and the card displays an empty progress bar.
Change-Id: I323cfdd2c9c6d1fd9d50ba7f6f1bae7e355c0f62
|
|
|
|
|
|
|
|
| |
Previously we were only adjusting the alpha of the label and the
background. This patch adjusts the alpha of the entire card and
its contents.
Change-Id: I109475d48f4823411d5bcbe719c435e969ac2044
|
|
|
|
| |
Change-Id: Ia2106a83037382d0ba08a5e49600924914ec06fb
|
|
|
|
| |
Change-Id: Ia2088bf207e070757525e8aa34a8d04a06a3a9af
|
|
|
|
|
|
|
|
|
| |
Eventually themers will override these colors and hopefully they'll
use colors that work well. Until then we need to override the text
color of the popup menu so it looks good even after applying some
funky styles :P
Change-Id: I84e12835c9f0990124c479699591637fa912f09d
|
|
|
|
| |
Change-Id: Id631d75b8bc14530a75feda43090bba3732e52f4
|
|
|
|
| |
Change-Id: Ib0d62b6bc69cd6c0c485a1ec5340ffdd7914efc3
|
|
|
|
|
|
|
|
|
|
|
| |
We've used Space in enough layouts that it makes sense to create
a view that can take care of all the logic regarding padding the
bottom of layouts so content goes above the navigation bar. This
view simply sets the height to 0 in onMeasure() when no navigation
bar is detected. It leaves the height to whatever the super class
had set it to when there is a navigation bar.
Change-Id: I908c6a8a01ba4f761335909e9ecfb48a8a3007d2
|
|
|
|
|
|
|
| |
We stopped showing the animation but we should still do the transition
between activities when resuming.
Change-Id: I878bfa1170efd436b5bad5c75a998ab554e7d1a4
|
|
|
|
| |
Change-Id: I901882263eae28c59eb85712fcebadae4bffb2ec
|
|
|
|
|
|
|
|
|
| |
Because the system default may not be holo and it may not contain
all the supported components, we need to check what the default
components should be and if they differ then we will set the
customized tag.
Change-Id: I47af1a4bbb87b9ce68273410a1b7b3f522903e32
|
|
|
|
| |
Change-Id: I34be6d85f92985f3bf4b202d9a509d0092e16a52
|
|
|
|
| |
Change-Id: I2b1de30ea375a554551b9d3d94aefc974823d871
|
|
|
|
|
|
|
|
| |
This solves two issues. If a theme is installed while in the
theme chooser, the themes will be re-populated with the newly installed
theme and if a theme is uninstalled the themes will also be re-populated.
Change-Id: I960d6fbb79b18258dca79f00fc380878fe334878
|
|
|
|
| |
Change-Id: Iafb40e5d2b29af034fa0ece64ab9fae48cb56cc9
|
|
|
|
| |
Change-Id: Id75710b26eb2eb33ad3100397ed5cbd4fea2d442
|
|
|
|
| |
Change-Id: I745d94c5e3cd24deeff5a3c4e3c295dda679af33
|
|
|
|
| |
Change-Id: I8c24c18a4927718970a49a6b77c9b92b4eea1ed6
|
|
|
|
| |
Change-Id: I6cc73b320657f1bba27017f2843c84e9d6bc4c69
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
We will need to revisit this and find a solution that can decide
whether to animate or not depending on where we are resuming from.
Change-Id: Ic5eaa372a1754ecc600d558e884bf9e96156599d
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Change-Id: I679489a6980267da6d4ee4f9cb8989365c1d5f88
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Change-Id: I7ef12d853c080ee24b9240564f002ca9279498f7
|
|\ \
| | |
| | |
| | | |
into cm-11.0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The way it was setup, the shop themes button would only animate
back in when the back button is pressed from an expanded theme.
We now hide/show shop themes in setAnimatingStateAndScheduleFinish()
which solves this issue.
Change-Id: Ie951a93d77ee2c3c89df44cb9b1e1bd7f865dd71
|