Home
last modified time | relevance | path

Searched defs:theme (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/content/src/android/content/res/cts/
DResources_ThemeTest.java125 Resources.Theme theme = getContext().getResources().newTheme(); in testGetChangingConfigurations() local
156 Resources.Theme theme = res.newTheme(); in testRebase() local
180 final Theme theme = res.newTheme(); in testGetDrawable() local
191 final Theme theme = res.newTheme(); in testGetResources() local
199 final Theme theme = res.newTheme(); in testEmptyDoesNotGetOverriden() local
DColorStateListTest.java79 final Theme theme = res.newTheme(); in testCreateFromXmlThemed() local
DTypedArrayTest.java331 final Resources.Theme theme = resources.newTheme(); in testEmptyXmlAttributeDoesNotFallbackToTheme() local
DConfigTest.java99 final Resources.Theme theme = res.newTheme(); in checkValue() local
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsThemeColorsTest.java93 SparseIntArray theme = new SparseIntArray(ALL_COLORS.size()); in apply_setAllColorsInTheme_shouldAllChange() local
110 SparseIntArray theme = new SparseIntArray(); in apply_setSomeColorsInTheme_shouldChangeThoseColorsOnly() local
129 SparseIntArray theme = new SparseIntArray(3); in apply_setNonThemeColors_shouldNotChangeContext() local
DSimpleAdapterTest.java298 Theme theme = mContext.getResources().newTheme(); in testAccessDropDownViewTheme() local
DArrayAdapterTest.java245 Theme theme = mContext.getResources().newTheme(); in testAccessDropDownViewTheme() local
DSpinnerTest.java335 Theme theme = mActivity.getResources().newTheme(); in testGetPopupContext() local
DCursorAdapterTest.java282 Theme theme = mContext.getResources().newTheme(); in testAccessDropDownViewTheme() local
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/
DEnsureUsingDisplayTheme.kt34 val theme: DisplayProperties.Theme, constant in com.android.bedstead.harrier.annotations.EnsureUsingDisplayTheme
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/
DTestTheme.java198 final Resources.Theme theme = new ContextThemeWrapper(context, themeId).getTheme(); in setTheme() local
214 private String getString(Resources.Theme theme, int resourceId) { in getString()
221 private int getColor(Resources.Theme theme, int resourceId) { in getColor()
231 private int getDrawableColor(Resources.Theme theme, int resourceId) { in getDrawableColor()
/cts/tests/tests/view/src/android/view/cts/
DContextThemeWrapperTest.java55 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { in onApplyThemeResource()
92 Theme theme = mContext.getResources().newTheme(); in testSetTheme() local
DLayoutInflaterTest.java378 Theme theme = view.getContext().getTheme(); in verifyThemeType() local
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DTestThemeHelper.java92 final Resources.Theme theme = new ContextThemeWrapper(context, themeResId).getTheme(); in TestThemeHelper() local
134 private int getColor(Resources.Theme theme, int resourceId) { in getColor()
141 private int getDrawableColor(Resources.Theme theme, int resourceId) { in getDrawableColor()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DCustomDrawableTest.java61 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) in inflate()
DThemedDrawableTest.java58 final Theme theme = mContext.getResources().newTheme(); in setup() local
DGradientDrawableTest.java698 final Theme theme = context.getResources().newTheme(); in testInflationWithThemeAndNonThemeResources() local
720 final Theme theme = context.getResources().newTheme(); in testGradientColorInflationWithThemeAndNonThemeResources() local
739 final Theme theme = context.getResources().newTheme(); in testGradientColorInflationWithAllThemeResources() local
758 final Theme theme = context.getResources().newTheme(); in testGradientColorNoCenterColorInflationWithThemeAndNonThemeResources() local
DVectorDrawableTest.java267 Theme theme = mResources.newTheme(); in verifyVectorDrawables() local
DDrawableTest.java432 Theme theme = mResources.newTheme(); in testCreateFromXmlThemed() local
464 Theme theme = mResources.newTheme(); in testCreateFromXmlInnerThemed() local
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateImagesActivity.java153 final ThemeInfo theme = THEMES[mCurrentTheme]; in launchThemeDeviceActivity() local
/cts/tests/app/app/src/android/app/stubs/
DAppStubActivity.java135 public void onApplyThemeResource( Resources.Theme theme, in onApplyThemeResource()
DDialogStubActivity.java362 public MockAlertDialog(Context context, int theme) { in MockAlertDialog()
420 public MockDatePickerDialog(Context context, int theme, OnDateSetListener callBack, in MockDatePickerDialog()
DTestDialog.java93 public TestDialog(Context context, int theme) { in TestDialog()