/frameworks/base/core/java/android/view/ |
D | ContextThemeWrapper.java | 37 private Resources.Theme mTheme; field in ContextThemeWrapper 82 mTheme = theme; in ContextThemeWrapper() 157 mTheme = theme; in setTheme() 169 if (mTheme != null) { in getTheme() 170 return mTheme; in getTheme() 177 return mTheme; in getTheme() 208 final boolean first = mTheme == null; in initializeTheme() 210 mTheme = getResources().newTheme(); in initializeTheme() 213 mTheme.setTo(theme); in initializeTheme() 216 onApplyThemeResource(mTheme, mThemeResource, first); in initializeTheme()
|
/frameworks/base/apct-tests/perftests/core/src/android/app/ |
D | ResourcesThemePerfTest.java | 46 private Resources.Theme mTheme; field in ResourcesThemePerfTest 52 mTheme = mContext.getResources().newTheme(); in setUp() 53 mTheme.applyStyle(mThemeResId, true /* force */); in setUp() 81 destTheme.setTo(mTheme); in setToSameAssetManager() 105 destTheme.setTo(mTheme); in setToDifferentAssetManager() 113 mTheme.obtainStyledAttributes(android.R.style.Theme_Material, android.R.styleable.View); in obtainStyledAttributesForViewFromMaterial()
|
/frameworks/base/core/java/android/app/ |
D | DialogFragment.java | 183 int mTheme = 0; field in DialogFragment 217 mTheme = com.android.internal.R.style.Theme_DeviceDefault_Dialog_NoFrame; in setStyle() 220 mTheme = theme; in setStyle() 322 return mTheme; in getTheme() 403 mTheme = savedInstanceState.getInt(SAVED_THEME, 0); in onCreate() 529 if (mTheme != 0) { in onSaveInstanceState() 530 outState.putInt(SAVED_THEME, mTheme); in onSaveInstanceState() 572 writer.print(" mTheme=0x"); writer.println(Integer.toHexString(mTheme)); in dump()
|
D | ContextImpl.java | 238 private Resources.Theme mTheme = null; field in ContextImpl 380 if (mTheme != null) { in getTheme() 381 return mTheme; in getTheme() 388 return mTheme; in getTheme() 393 if (mTheme == null) { in initializeTheme() 394 mTheme = mResources.newTheme(); in initializeTheme() 396 mTheme.applyStyle(mThemeResource, true); in initializeTheme()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SplashScreenStartingData.java | 30 private final int mTheme; field in SplashScreenStartingData 44 mTheme = theme; in SplashScreenStartingData() 56 return mService.mPolicy.addSplashScreen(activity.token, activity.mUserId, mPkg, mTheme, in createStartingSurface()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 1353 private final long mTheme; field in ThemeImpl 1362 mTheme = mAssets.createTheme(); in ThemeImpl() 1368 mAssets.releaseTheme(mTheme); in finalize() 1376 return mTheme; in getNativeTheme() 1385 mAssets.applyStyleToTheme(mTheme, resId, force); in applyStyle() 1394 mAssets.setThemeTo(mTheme, other.mAssets, other.mTheme); in setTo() 1417 mAssets.applyStyle(mTheme, defStyleAttr, defStyleRes, parser, attrs, in obtainStyledAttributes() 1419 array.mTheme = wrapper; in obtainStyledAttributes() 1437 mAssets.resolveAttrs(mTheme, 0, 0, values, attrs, array.mData, array.mIndices); in resolveAttributes() 1438 array.mTheme = wrapper; in resolveAttributes() [all …]
|
D | TypedArray.java | 89 /*package*/ Resources.Theme mTheme; field in TypedArray 521 value, value.resourceId, mTheme); in getColor() 565 return mResources.loadComplexColor(value, value.resourceId, mTheme); in getComplexColor() 600 return mResources.loadColorStateList(value, value.resourceId, mTheme); in getColorStateList() 1006 return mResources.loadDrawable(value, value.resourceId, density, mTheme); in getDrawableForDensity() 1248 mTheme = null; in recycle()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 169 mTheme = theme; in setTheme() 322 mResourceData[index], mContext, mTheme); in getColor() 336 return ResourceHelper.getColorStateList(mResourceData[index], mContext, mTheme); in getColorStateList() 345 return ResourceHelper.getComplexColor(mResourceData[index], mContext, mTheme); in getComplexColor() 696 return ResourceHelper.getDrawable(value, mContext, mTheme); in getDrawable() 722 return ResourceHelper.getFont(value, mContext, mTheme); in getFont()
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionSession.java | 154 int mTheme = 0; field in VoiceInteractionSession 1137 mWindow = new SoftInputWindow(mContext, "VoiceInteractionSession", mTheme, in ensureWindowCreated() 1283 mTheme = theme; in setTheme() 1562 mTheme = mTheme != 0 ? mTheme in doOnCreate() 1932 writer.print(prefix); writer.print("mTheme=#"); writer.println(Integer.toHexString(mTheme)); in dump()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 378 int mTheme = 0; field in InputMethodService 1166 mTheme = theme; in setTheme() 1194 mTheme = Resources.selectSystemTheme(mTheme, in onCreate() 1200 super.setTheme(mTheme); in onCreate() 1214 mWindow = new SoftInputWindow(this, "InputMethod", mTheme, null, null, mDispatcherState, in onCreate()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 172 private Resources.Theme mTheme; field in BridgeContext 286 mTheme = mSystemResources.newTheme(); in initResources() 583 return mTheme; in getTheme()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 326 private int mTheme = -1; field in PhoneWindow 2351 if (mTheme != -1) { in generateDecor() 2352 context.setTheme(mTheme); in generateDecor() 3846 mTheme = resid;
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 4765 Landroid/app/DialogFragment;->mTheme:I 16739 Landroid/content/res/ResourcesImpl$ThemeImpl;->mTheme:J 64623 Landroid/service/voice/VoiceInteractionSession;->mTheme:I
|