Home
last modified time | relevance | path

Searched refs:mTheme (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/view/
DContextThemeWrapper.java37 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/core/java/com/android/internal/widget/remotecompose/core/operations/
DTheme.java34 int mTheme; field in Theme
50 this.mTheme = theme; in Theme()
55 COMPANION.apply(buffer, mTheme); in write()
60 return "SET_THEME " + mTheme; in toString()
65 context.setTheme(mTheme); in apply()
/frameworks/base/services/core/java/com/android/server/wm/
DSplashScreenStartingData.java26 private final int mTheme; field in SplashScreenStartingData
31 mTheme = theme; in SplashScreenStartingData()
37 activity, mTheme); in createStartingSurface()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesThemePerfTest.java46 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()
106 destTheme.setTo(mTheme); in setToDifferentAssetManager()
114 mTheme.obtainStyledAttributes(android.R.style.Theme_Material, android.R.styleable.View); in obtainStyledAttributesForViewFromMaterial()
/frameworks/base/core/java/android/content/res/
DTypedArray.java90 /*package*/ Resources.Theme mTheme; field in TypedArray
526 value, value.resourceId, mTheme); in getColor()
535 + ", theme=" + mTheme); in getColor()
539 + " to color: type=0x" + Integer.toHexString(type) + ", theme=" + mTheme); in getColor()
570 + ", theme=" + mTheme); in getComplexColor()
572 return mResources.loadComplexColor(value, value.resourceId, mTheme); in getComplexColor()
606 + ", theme=" + mTheme); in getColorStateList()
608 return mResources.loadColorStateList(value, value.resourceId, mTheme); in getColorStateList()
648 + ", theme=" + mTheme); in getInteger()
652 + " to integer: type=0x" + Integer.toHexString(type) + ", theme=" + mTheme); in getInteger()
[all …]
DResourcesImpl.java1413 private final long mTheme;
1422 mTheme = mAssets.createTheme();
1423 sThemeRegistry.registerNativeAllocation(this, mTheme);
1429 mAssets.releaseTheme(mTheme);
1437 return mTheme;
1453 mAssets.applyStyleToTheme(mTheme, resId, force);
1459 mAssets.setThemeTo(mTheme, other.mAssets, other.mTheme);
1479 mAssets.applyStyle(mTheme, defStyleAttr, defStyleRes, parser, attrs,
1481 array.mTheme = wrapper;
1497 mAssets.resolveAttrs(mTheme, 0, 0, values, attrs, array.mData, array.mIndices);
[all …]
/frameworks/base/core/java/android/app/
DDialogFragment.java184 int mTheme = 0; field in DialogFragment
218 mTheme = com.android.internal.R.style.Theme_DeviceDefault_Dialog_NoFrame; in setStyle()
221 mTheme = theme; in setStyle()
323 return mTheme; in getTheme()
404 mTheme = savedInstanceState.getInt(SAVED_THEME, 0); in onCreate()
530 if (mTheme != 0) { in onSaveInstanceState()
531 outState.putInt(SAVED_THEME, mTheme); in onSaveInstanceState()
573 writer.print(" mTheme=0x"); writer.println(Integer.toHexString(mTheme)); in dump()
DContextImpl.java285 private Resources.Theme mTheme = null; field in ContextImpl
501 if (mTheme != null) { in getTheme()
502 return mTheme; in getTheme()
509 return mTheme; in getTheme()
514 if (mTheme == null) { in initializeTheme()
515 mTheme = mResources.newTheme(); in initializeTheme()
517 mTheme.applyStyle(mThemeResource, true); in initializeTheme()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/
DRemoteComposeCanvas.java41 int mTheme = Theme.LIGHT; field in RemoteComposeCanvas
135 return mTheme; in getTheme()
139 this.mTheme = theme; in setTheme()
229 mDocument.paint(mARContext, mTheme); in onDraw()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DRemoteContext.java38 private int mTheme = Theme.UNSPECIFIED; field in RemoteContext
87 return mTheme; in getTheme()
91 this.mTheme = theme; in setTheme()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java170 mTheme = theme; in setTheme()
330 mResourceData[index], mContext, mTheme); in getColor()
344 return ResourceHelper.getColorStateList(mResourceData[index], mContext, mTheme); in getColorStateList()
353 return ResourceHelper.getComplexColor(mResourceData[index], mContext, mTheme); in getComplexColor()
697 return ResourceHelper.getDrawable(value, mContext, mTheme); in getDrawable()
723 return ResourceHelper.getFont(value, mContext, mTheme); in getFont()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java208 int mTheme = 0; field in VoiceInteractionSession
1327 mWindow = new VoiceInteractionWindow(mContext, "VoiceInteractionSession", mTheme, in ensureWindowCreated()
1490 mTheme = theme; in setTheme()
1795 mTheme = mTheme != 0 ? mTheme in doOnCreate()
2247 writer.print(prefix); writer.print("mTheme=#"); writer.println(Integer.toHexString(mTheme)); in dump()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java559 int mTheme = 0; field in InputMethodService
1702 mTheme = theme; in setTheme()
1736 mTheme = Resources.selectSystemTheme(mTheme, in onCreate()
1742 super.setTheme(mTheme); in onCreate()
1761 mWindow = new SoftInputWindow(this, mTheme, mDispatcherState); in onCreate()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java192 private Resources.Theme mTheme; field in BridgeContext
316 mTheme = mSystemResources.newTheme(); in initResources()
636 return mTheme; in getTheme()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java376 private int mTheme = -1; field in PhoneWindow
2474 if (mTheme != -1) { in generateDecor()
2475 context.setTheme(mTheme); in generateDecor()
4066 mTheme = resid;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt4765 Landroid/app/DialogFragment;->mTheme:I
13855 Landroid/content/res/ResourcesImpl$ThemeImpl;->mTheme:J
50071 Landroid/service/voice/VoiceInteractionSession;->mTheme:I