/frameworks/base/core/java/android/view/ |
H A D | ContextThemeWrapper.java | 32 private Resources.Theme mTheme; field in class:ContextThemeWrapper 75 mTheme = theme; 152 if (mTheme != null) { 153 return mTheme; 160 return mTheme; 190 final boolean first = mTheme == null; 192 mTheme = getResources().newTheme(); 195 mTheme.setTo(theme); 198 onApplyThemeResource(mTheme, mThemeResource, first);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/ |
H A D | ContextThemeWrapper.java | 35 private Resources.Theme mTheme; field in class:ContextThemeWrapper 78 mTheme = theme; 142 if (mTheme != null) { 143 return mTheme; 151 return mTheme; 181 final boolean first = mTheme == null; 183 mTheme = getResources().newTheme(); 186 mTheme.setTo(theme); 189 onApplyThemeResource(mTheme, mThemeResource, first);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | TintContextWrapper.java | 89 private final Resources.Theme mTheme; field in class:TintContextWrapper 98 mTheme = mResources.newTheme(); 99 mTheme.setTo(base.getTheme()); 102 mTheme = null; 108 return mTheme == null ? super.getTheme() : mTheme; 113 if (mTheme == null) { 116 mTheme.applyStyle(resid, true);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | ButtonItem.java | 43 private int mTheme = R.style.SuwButtonItem; field in class:ButtonItem 57 mTheme = a.getResourceId(R.styleable.SuwButtonItem_android_theme, R.style.SuwButtonItem); 81 mTheme = theme; 89 return mTheme; 129 if (mTheme != 0) { 130 context = new ContextThemeWrapper(context, mTheme);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | SplashScreenStartingData.java | 30 private final int mTheme; field in class:SplashScreenStartingData 44 mTheme = theme; 56 return mService.mPolicy.addSplashScreen(atoken.token, mPkg, mTheme, mCompatInfo,
|
/frameworks/base/core/java/android/app/ |
H A D | DialogFragment.java | 182 int mTheme = 0; field in class:DialogFragment 212 mTheme = com.android.internal.R.style.Theme_DeviceDefault_Dialog_NoFrame; 215 mTheme = theme; 316 return mTheme; 397 mTheme = savedInstanceState.getInt(SAVED_THEME, 0); 523 if (mTheme != 0) { 524 outState.putInt(SAVED_THEME, mTheme); 566 writer.print(" mTheme=0x"); writer.println(Integer.toHexString(mTheme));
|
H A D | ContextImpl.java | 186 private Resources.Theme mTheme = null; field in class:ContextImpl 311 if (mTheme != null) { 312 return mTheme; 319 return mTheme; 324 if (mTheme == null) { 325 mTheme = mResources.newTheme(); 327 mTheme.applyStyle(mThemeResource, true);
|
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
H A D | DialogFragment.java | 91 int mTheme = 0; field in class:DialogFragment 121 mTheme = android.R.style.Theme_Panel; 124 mTheme = theme; 235 return mTheme; 316 mTheme = savedInstanceState.getInt(SAVED_THEME, 0); 452 if (mTheme != 0) { 453 outState.putInt(SAVED_THEME, mTheme);
|
/frameworks/support/graphics/drawable/static/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/ |
H A D | VectorDrawableTest.java | 136 private Theme mTheme; field in class:VectorDrawableTest 148 mTheme = mContext.getTheme(); 160 mVectorDrawable = VectorDrawableCompat.create(mResources, resIds[i], mTheme); 284 VectorDrawableCompat.create(mResources, TEST_ICON, mTheme); 309 VectorDrawableCompat.create(mResources, R.drawable.vector_icon_delete, mTheme); 323 VectorDrawableCompat.create(mResources, TEST_ICON, mTheme); 353 VectorDrawableCompat.create(mResources, R.drawable.vector_icon_delete, mTheme);
|
/frameworks/base/core/java/android/content/res/ |
H A D | ResourcesImpl.java | 1273 private final long mTheme; field in class:ResourcesImpl.ThemeImpl 1282 mTheme = mAssets.createTheme(); 1288 mAssets.releaseTheme(mTheme); 1296 return mTheme; 1305 mAssets.applyStyleToTheme(mTheme, resId, force); 1314 AssetManager.nativeThemeCopy(mTheme, other.mTheme); 1337 mAssets.applyStyle(mTheme, defStyleAttr, defStyleRes, parser, attrs, 1339 array.mTheme = wrapper; 1357 mAssets.resolveAttrs(mTheme, [all...] |
H A D | TypedArray.java | 80 /*package*/ Resources.Theme mTheme; field in class:TypedArray 470 value, value.resourceId, mTheme); 514 return mResources.loadComplexColor(value, value.resourceId, mTheme); 549 return mResources.loadColorStateList(value, value.resourceId, mTheme); 955 return mResources.loadDrawable(value, value.resourceId, density, mTheme); 1149 mTheme = null;
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 164 mTheme = theme; 300 mResourceData[index], mContext, mTheme); 314 return ResourceHelper.getColorStateList(mResourceData[index], mContext, mTheme); 323 return ResourceHelper.getComplexColor(mResourceData[index], mContext, mTheme); 716 return ResourceHelper.getDrawable(value, mContext, mTheme); 741 return ResourceHelper.getFont(value, mContext, mTheme);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/ |
H A D | AlertDialog.java | 300 private final int mTheme; field in class:AlertDialog.Builder 345 mTheme = themeResId; 981 final AlertDialog dialog = new AlertDialog(P.mContext, mTheme);
|
/frameworks/base/core/java/android/service/voice/ |
H A D | VoiceInteractionSession.java | 120 int mTheme = 0; field in class:VoiceInteractionSession 1070 mWindow = new SoftInputWindow(mContext, "VoiceInteractionSession", mTheme, 1215 mTheme = theme; 1363 mTheme = mTheme != 0 ? mTheme 1707 writer.print(prefix); writer.print("mTheme=#"); writer.println(Integer.toHexString(mTheme));
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 346 int mTheme = 0; field in class:InputMethodService 881 mTheme = theme; 909 mTheme = Resources.selectSystemTheme(mTheme, 915 super.setTheme(mTheme); 924 mWindow = new SoftInputWindow(this, "InputMethod", mTheme, null, null, mDispatcherState,
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 166 private Resources.Theme mTheme; field in class:BridgeContext 265 mTheme = mSystemResources.newTheme(); 579 return mTheme;
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PhoneWindow.java | 287 private int mTheme = -1; field in class:PhoneWindow 2303 if (mTheme != -1) { 2304 context.setTheme(mTheme); 3845 mTheme = resid;
|