Home
last modified time | relevance | path

Searched refs:mTheme (Results 1 – 13 of 13) 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/android/app/
DDialogFragment.java183 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()
DContextImpl.java227 private Resources.Theme mTheme = null; field in ContextImpl
358 if (mTheme != null) { in getTheme()
359 return mTheme; in getTheme()
366 return mTheme; in getTheme()
371 if (mTheme == null) { in initializeTheme()
372 mTheme = mResources.newTheme(); in initializeTheme()
374 mTheme.applyStyle(mThemeResource, true); in initializeTheme()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesThemePerfTest.java38 private Resources.Theme mTheme; field in ResourcesThemePerfTest
43 mTheme = context.getTheme(); in setUp()
51 mTheme.obtainStyledAttributes(android.R.style.Theme_Material, android.R.styleable.View); in obtainStyledAttributesForViewFromMaterial()
/frameworks/base/services/core/java/com/android/server/wm/
DSplashScreenStartingData.java30 private final int mTheme; field in SplashScreenStartingData
44 mTheme = theme; in SplashScreenStartingData()
56 return mService.mPolicy.addSplashScreen(atoken.token, mPkg, mTheme, mCompatInfo, in createStartingSurface()
/frameworks/base/core/java/android/content/res/
DResourcesImpl.java1338 private final long mTheme; field in ThemeImpl
1347 mTheme = mAssets.createTheme(); in ThemeImpl()
1353 mAssets.releaseTheme(mTheme); in finalize()
1361 return mTheme; in getNativeTheme()
1370 mAssets.applyStyleToTheme(mTheme, resId, force); in applyStyle()
1379 mAssets.setThemeTo(mTheme, other.mAssets, other.mTheme); in setTo()
1402 mAssets.applyStyle(mTheme, defStyleAttr, defStyleRes, parser, attrs, in obtainStyledAttributes()
1404 array.mTheme = wrapper; in obtainStyledAttributes()
1422 mAssets.resolveAttrs(mTheme, 0, 0, values, attrs, array.mData, array.mIndices); in resolveAttributes()
1423 array.mTheme = wrapper; in resolveAttributes()
[all …]
DTypedArray.java89 /*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/
DBridgeTypedArray.java166 mTheme = theme; in setTheme()
302 mResourceData[index], mContext, mTheme); in getColor()
316 return ResourceHelper.getColorStateList(mResourceData[index], mContext, mTheme); in getColorStateList()
325 return ResourceHelper.getComplexColor(mResourceData[index], mContext, mTheme); in getComplexColor()
673 return ResourceHelper.getDrawable(value, mContext, mTheme); in getDrawable()
699 return ResourceHelper.getFont(value, mContext, mTheme); in getFont()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java154 int mTheme = 0; field in VoiceInteractionSession
1137 mWindow = new SoftInputWindow(mContext, "VoiceInteractionSession", mTheme, in ensureWindowCreated()
1282 mTheme = theme; in setTheme()
1559 mTheme = mTheme != 0 ? mTheme in doOnCreate()
1929 writer.print(prefix); writer.print("mTheme=#"); writer.println(Integer.toHexString(mTheme)); in dump()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java364 int mTheme = 0; field in InputMethodService
962 mTheme = theme; in setTheme()
990 mTheme = Resources.selectSystemTheme(mTheme, in onCreate()
996 super.setTheme(mTheme); in onCreate()
1005 mWindow = new SoftInputWindow(this, "InputMethod", mTheme, null, null, mDispatcherState, in onCreate()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java164 private Resources.Theme mTheme; field in BridgeContext
271 mTheme = mSystemResources.newTheme(); in initResources()
552 return mTheme; in getTheme()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java304 private int mTheme = -1; field in PhoneWindow
2326 if (mTheme != -1) { in generateDecor()
2327 context.setTheme(mTheme); in generateDecor()
3893 mTheme = resid;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt4768 Landroid/app/DialogFragment;->mTheme:I
16742 Landroid/content/res/ResourcesImpl$ThemeImpl;->mTheme:J
64626 Landroid/service/voice/VoiceInteractionSession;->mTheme:I