Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/res/cts/
DResources_ThemeTest.java104 Resources.Theme theme = getContext().getResources().newTheme(); in testGetChangingConfigurations() local
134 Resources.Theme theme = res.newTheme(); in testRebase() local
157 final Theme theme = res.newTheme(); in testGetDrawable() local
167 final Theme theme = res.newTheme(); in testGetResources() local
174 final Theme theme = res.newTheme(); in testEmptyDoesNotGetOverriden() local
DColorStateListTest.java59 final Theme theme = res.newTheme(); in testCreateFromXmlThemed() local
DTypedArrayTest.java302 final Resources.Theme theme = resources.newTheme(); in testEmptyXmlAttributeDoesNotFallbackToTheme() local
DConfigTest.java96 final Resources.Theme theme = res.newTheme(); in checkValue() local
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsThemeColorsTest.java84 SparseIntArray theme = new SparseIntArray(ALL_COLORS.size()); in apply_setAllColorsInTheme_shouldAllChange() local
101 SparseIntArray theme = new SparseIntArray(); in apply_setSomeColorsInTheme_shouldChangeThoseColorsOnly() local
120 SparseIntArray theme = new SparseIntArray(3); in apply_setNonThemeColors_shouldNotChangeContext() local
DSimpleAdapterTest.java298 Theme theme = mContext.getResources().newTheme(); in testAccessDropDownViewTheme() local
DArrayAdapterTest.java236 Theme theme = mContext.getResources().newTheme(); in testAccessDropDownViewTheme() local
DSpinnerTest.java274 Theme theme = mActivity.getResources().newTheme(); in testGetPopupContext() local
DCursorAdapterTest.java282 Theme theme = mContext.getResources().newTheme(); in testAccessDropDownViewTheme() local
/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.java53 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { in onApplyThemeResource()
90 Theme theme = mContext.getResources().newTheme(); in testSetTheme() local
DLayoutInflaterTest.java376 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
DVectorDrawableTest.java255 Theme theme = mResources.newTheme(); in verifyVectorDrawables() local
DDrawableTest.java431 Theme theme = mResources.newTheme(); in testCreateFromXmlThemed() local
463 Theme theme = mResources.newTheme(); in testCreateFromXmlInnerThemed() local
DGradientDrawableTest.java698 final Theme theme = context.getResources().newTheme(); in testInflationWithThemeAndNonThemeResources() local
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateImagesActivity.java148 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()