/frameworks/base/core/java/android/view/ |
D | ContextThemeWrapper.java | 32 private Resources.Theme mTheme; field in ContextThemeWrapper 75 mTheme = theme; in ContextThemeWrapper() 152 if (mTheme != null) { in getTheme() 153 return mTheme; in getTheme() 160 return mTheme; in getTheme() 190 final boolean first = mTheme == null; in initializeTheme() 192 mTheme = getResources().newTheme(); in initializeTheme() 195 mTheme.setTo(theme); in initializeTheme() 198 onApplyThemeResource(mTheme, mThemeResource, first); in initializeTheme()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
D | ContextThemeWrapper.java | 41 private Resources.Theme mTheme; field in ContextThemeWrapper 84 mTheme = theme; in ContextThemeWrapper() 153 if (mTheme != null) { in getTheme() 154 return mTheme; in getTheme() 162 return mTheme; in getTheme() 192 final boolean first = mTheme == null; in initializeTheme() 194 mTheme = getResources().newTheme(); in initializeTheme() 197 mTheme.setTo(theme); in initializeTheme() 200 onApplyThemeResource(mTheme, mThemeResource, first); in initializeTheme()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | TintContextWrapper.java | 88 private final Resources.Theme mTheme; field in TintContextWrapper 97 mTheme = mResources.newTheme(); in TintContextWrapper() 98 mTheme.setTo(base.getTheme()); in TintContextWrapper() 101 mTheme = null; in TintContextWrapper() 107 return mTheme == null ? super.getTheme() : mTheme; in getTheme() 112 if (mTheme == null) { in setTheme() 115 mTheme.applyStyle(resid, true); in setTheme()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ButtonItem.java | 43 private int mTheme = R.style.SuwButtonItem; field in ButtonItem 57 mTheme = a.getResourceId(R.styleable.SuwButtonItem_android_theme, R.style.SuwButtonItem); in ButtonItem() 81 mTheme = theme; in setTheme() 89 return mTheme; in getTheme() 129 if (mTheme != 0) { in createButton() 130 context = new ContextThemeWrapper(context, mTheme); in createButton()
|
/frameworks/base/core/java/android/app/ |
D | DialogFragment.java | 177 int mTheme = 0; field in DialogFragment 207 mTheme = com.android.internal.R.style.Theme_DeviceDefault_Dialog_NoFrame; in setStyle() 210 mTheme = theme; in setStyle() 311 return mTheme; in getTheme() 392 mTheme = savedInstanceState.getInt(SAVED_THEME, 0); in onCreate() 518 if (mTheme != 0) { in onSaveInstanceState() 519 outState.putInt(SAVED_THEME, mTheme); in onSaveInstanceState() 561 writer.print(" mTheme=0x"); writer.println(Integer.toHexString(mTheme)); in dump()
|
D | ContextImpl.java | 182 private Resources.Theme mTheme = null; field in ContextImpl 277 if (mTheme != null) { in getTheme() 278 return mTheme; in getTheme() 285 return mTheme; in getTheme() 290 if (mTheme == null) { in initializeTheme() 291 mTheme = mResources.newTheme(); in initializeTheme() 293 mTheme.applyStyle(mThemeResource, true); in initializeTheme()
|
/frameworks/support/fragment/java/android/support/v4/app/ |
D | DialogFragment.java | 90 int mTheme = 0; field in DialogFragment 120 mTheme = android.R.style.Theme_Panel; in setStyle() 123 mTheme = theme; in setStyle() 216 return mTheme; in getTheme() 297 mTheme = savedInstanceState.getInt(SAVED_THEME, 0); in onCreate() 432 if (mTheme != 0) { in onSaveInstanceState() 433 outState.putInt(SAVED_THEME, mTheme); in onSaveInstanceState()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SplashScreenStartingData.java | 29 private final int mTheme; field in SplashScreenStartingData 43 mTheme = theme; in SplashScreenStartingData() 55 return mService.mPolicy.addSplashScreen(atoken.token, mPkg, mTheme, mCompatInfo, in createStartingSurface()
|
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/ |
D | VectorDrawableTest.java | 135 private Theme mTheme; field in VectorDrawableTest 147 mTheme = mContext.getTheme(); in setup() 159 mVectorDrawable = VectorDrawableCompat.create(mResources, resIds[i], mTheme); in verifyVectorDrawables() 283 VectorDrawableCompat.create(mResources, TEST_ICON, mTheme); in testGetChangingConfigurations() 308 VectorDrawableCompat.create(mResources, R.drawable.vector_icon_delete, mTheme); in testGetConstantState() 322 VectorDrawableCompat.create(mResources, TEST_ICON, mTheme); in testMutate() 352 VectorDrawableCompat.create(mResources, R.drawable.vector_icon_delete, mTheme); in testBounds()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 1145 private final long mTheme; field in ResourcesImpl.ThemeImpl 1154 mTheme = mAssets.createTheme(); in ThemeImpl() 1160 mAssets.releaseTheme(mTheme); in finalize() 1168 return mTheme; in getNativeTheme() 1177 AssetManager.applyThemeStyle(mTheme, resId, force); in applyStyle() 1187 AssetManager.copyTheme(mTheme, other.mTheme); in setTo() 1210 AssetManager.applyStyle(mTheme, defStyleAttr, defStyleRes, in obtainStyledAttributes() 1213 array.mTheme = wrapper; in obtainStyledAttributes() 1232 AssetManager.resolveAttrs(mTheme, 0, 0, values, attrs, array.mData, array.mIndices); in resolveAttributes() 1233 array.mTheme = wrapper; in resolveAttributes() [all …]
|
D | TypedArray.java | 71 /*package*/ Resources.Theme mTheme; field in TypedArray 462 value, value.resourceId, mTheme); in getColor() 506 return mResources.loadComplexColor(value, value.resourceId, mTheme); in getComplexColor() 541 return mResources.loadColorStateList(value, value.resourceId, mTheme); in getColorStateList() 953 return mResources.loadDrawable(value, value.resourceId, density, mTheme); in getDrawableForDensity() 1147 mTheme = null; in recycle()
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionSession.java | 131 int mTheme = 0; field in VoiceInteractionSession 1081 mWindow = new SoftInputWindow(mContext, "VoiceInteractionSession", mTheme, in ensureWindowCreated() 1226 mTheme = theme; in setTheme() 1374 mTheme = mTheme != 0 ? mTheme in doOnCreate() 1720 writer.print(prefix); writer.print("mTheme=#"); writer.println(Integer.toHexString(mTheme)); in dump()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AlertDialog.java | 281 private final int mTheme; field in AlertDialog.Builder 326 mTheme = themeResId; in Builder() 932 final AlertDialog dialog = new AlertDialog(P.mContext, mTheme); in create()
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 159 mTheme = theme; in setTheme() 699 return ResourceHelper.getDrawable(value, mContext, mTheme); in getDrawable() 716 return ResourceHelper.getFont(value, mContext, mTheme); in getFont()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 269 int mTheme = 0; field in InputMethodService 782 mTheme = theme; in setTheme() 810 mTheme = Resources.selectSystemTheme(mTheme, in onCreate() 816 super.setTheme(mTheme); in onCreate() 825 mWindow = new SoftInputWindow(this, "InputMethod", mTheme, null, null, mDispatcherState, in onCreate()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 162 private Resources.Theme mTheme; field in BridgeContext 261 mTheme = mSystemResources.newTheme(); in initResources() 575 return mTheme; in getTheme()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 285 private int mTheme = -1; field in PhoneWindow 2298 if (mTheme != -1) { in generateDecor() 2299 context.setTheme(mTheme); in generateDecor() 3813 mTheme = resid;
|