History log of /frameworks/base/core/java/android/view/ContextThemeWrapper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3ad1b4899fcf38de92b6ac8d84e55a738f0baad9 02-Apr-2016 Adam Lesinski <adamlesinski@google.com> Fix issue with overridden configuration in onConfigurationChanged

When using applyOverrideConfiguration, subsequent callbacks to
onConfigurationChanged didn't take into account the locally overridden
configuration. This patches the incoming configuration to match
what is expected by the application.

Bug:27644297
Change-Id: I3a090e9862a56470d999aa0aa4d5bae29f533a11
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
713a5cdb5347afa6556385f81ba972e1773f8e8f 16-Dec-2015 Alan Viverette <alanv@google.com> Don't call public non-final getResources() from getAssets()

Refactors to getResourcesInternal() and calls that from both methods.
Adds documentation on Context.getResources() and getAssets() that the
instances returned should be consistent with each other.

Bug: 26228895
Change-Id: I41b09f1e9a3a0315bcdf1c08a7b431a9a697bb6f
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
04067f33c80b03eec74eee0e42c55ee40ce24f6a 25-Aug-2015 Alan Viverette <alanv@google.com> Clean up ContextThemeWrapper

Fix trailing white space, use of final, comments.

Change-Id: Iacc034acd46a651c35c32f2efbc0fe5fb58e1209
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
99bf63fdafb011ccdd9b2315f73b351f28970644 25-Aug-2015 Alan Viverette <alanv@google.com> Return asset manager with correct config from ContextThemeWrapper

Bug: 23416037
Change-Id: Ia87bebbe6f23214c892bc2ca19d4112853023235
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
cc2a1d48a0e4134823c940291f5db6fd9f2ae9b3 01-May-2015 Alan Viverette <alanv@google.com> Allow ContextImpl.setTheme(int) to be called after getTheme()

Previously the theme could only be set if it had never been obtained,
which was inconsistent with the documentation for Context.setTheme()
and the behavior of ContextThemeWrapper.

Also prevents double-apply of themes in setTheme().

Bug: 20756250
Bug: 20230451
Change-Id: I2566b3e4546cd1c68db79f10f01a5a1256fd439c
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
417ee5ba89f7e0fe5efd34fce74bf1ee5923d976 11-Mar-2015 Tor Norbye <tnorbye@google.com> Add resource type annotations to some APIs

Change-Id: I37c8afdaea455aa92bc8270bb2dfd60616c5f9bc
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
b9ead4a91599ca63e947f74f83b67a58bda64a82 14-Jan-2015 Alan Viverette <alanv@google.com> Add popup theme for Spinner, use for actionBarPopupTheme default

Also adds methods for setting the context used to inflate drop-down
views in several adapters.

Bug: 17625714
Change-Id: Id267afa4901c1d46ceb3bc3b10fc642cea1799fe
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
5effd7e89f83824ac8982a6cbcebbf5cc331e436 05-May-2014 Alan Viverette <alanv@google.com> Partial revert "Load device default theme mapping from resources"

This reverts commit e4ab72d54cf41d16819b72e94d9b0d0d51289647.

Change-Id: Id17170312c75993fc1f7859d52c7e050b2aeaf80
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
0810b63739c9981f993063749f804b54faed0ba5 01-May-2014 Alan Viverette <alanv@google.com> Load device default theme mapping from resources

Also adds a few missing styles and reorganizes some XML files. Makes
stackViewStyle public since it's defined in DeviceDefault.

Change-Id: I8f6a0f93410948b38619594474d60dc40ece5917
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
ebb9f3a1a3cb405dac7f98815b37c198c65739cd 08-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Cleanup ContextThemeWrapper

- remove reference to base Context as we can get it thru
getBaseContext() call

Change-Id: I2687c15db12624243fadba44d624e2e4bdae240d
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
756220bd1912535840388a6743830d2e59ad4964 15-Aug-2012 Dianne Hackborn <hackbod@google.com> Add API to create new contexts with custom configurations.

This allows you to, say, make a Context whose configuration
is set to a different density than the actual density of the device.

The main API is Context.createConfigurationContext(). There is
also a new API on ContextThemeWrapper that allows you to apply
an override context before its resources are retrieved, which
addresses some feature requests from developers to be able to
customize the context their app is running in.

Change-Id: I88364986660088521e24b567e2fda22fb7042819
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
d922ae01ca99a2b6d39a9393f86776a1d10ebd14 14-Jan-2011 Dianne Hackborn <hackbod@google.com> Add Holo theme for IMEs.

Also clean up theme selection code to get rid of duplication.

Change-Id: Idf7b21db70ee83fce24756ead877169bd08b77a9
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
247fe74c934cb3fba85aae7e051a8044f460fb11 09-Jan-2011 Dianne Hackborn <hackbod@google.com> Implement issue # 3255887 could CursorLoader offer...

...to throttle contentobserver-based requeries

Why yes, I guess it could.

This also reworks AsyncTaskLoader to not generate multiple
concurrent tasks if it is getting change notifications before
the last background task is complete.

And removes some of the old APIs that had been deprecated but
need to be gone for final release.

And fixes a few little problems with applying the wrong theme
in system code.

Change-Id: Ic7a665b666d0fb9d348e5f23595532191065884f
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
b35cd54b88292bd6cf0387406ad9071f5475c6a7 05-Jan-2011 Dianne Hackborn <hackbod@google.com> No longer needed.

Change-Id: Ia2e8264147bb02e29599227d0588e40b1e626358
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/view/ContextThemeWrapper.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/view/ContextThemeWrapper.java