/cts/tests/tests/content/src/android/content/res/cts/ |
D | Resources_ThemeTest.java | 104 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
|
D | ColorStateListTest.java | 59 final Theme theme = res.newTheme(); in testCreateFromXmlThemed() local
|
D | TypedArrayTest.java | 302 final Resources.Theme theme = resources.newTheme(); in testEmptyXmlAttributeDoesNotFallbackToTheme() local
|
D | ConfigTest.java | 96 final Resources.Theme theme = res.newTheme(); in checkValue() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RemoteViewsThemeColorsTest.java | 84 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
|
D | SimpleAdapterTest.java | 298 Theme theme = mContext.getResources().newTheme(); in testAccessDropDownViewTheme() local
|
D | ArrayAdapterTest.java | 236 Theme theme = mContext.getResources().newTheme(); in testAccessDropDownViewTheme() local
|
D | SpinnerTest.java | 274 Theme theme = mActivity.getResources().newTheme(); in testGetPopupContext() local
|
D | CursorAdapterTest.java | 282 Theme theme = mContext.getResources().newTheme(); in testAccessDropDownViewTheme() local
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/ |
D | TestTheme.java | 198 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/ |
D | ContextThemeWrapperTest.java | 53 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { in onApplyThemeResource() 90 Theme theme = mContext.getResources().newTheme(); in testSetTheme() local
|
D | LayoutInflaterTest.java | 376 Theme theme = view.getContext().getTheme(); in verifyThemeType() local
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | TestThemeHelper.java | 92 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/ |
D | CustomDrawableTest.java | 61 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) in inflate()
|
D | ThemedDrawableTest.java | 58 final Theme theme = mContext.getResources().newTheme(); in setup() local
|
D | VectorDrawableTest.java | 255 Theme theme = mResources.newTheme(); in verifyVectorDrawables() local
|
D | DrawableTest.java | 431 Theme theme = mResources.newTheme(); in testCreateFromXmlThemed() local 463 Theme theme = mResources.newTheme(); in testCreateFromXmlInnerThemed() local
|
D | GradientDrawableTest.java | 698 final Theme theme = context.getResources().newTheme(); in testInflationWithThemeAndNonThemeResources() local
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateImagesActivity.java | 148 final ThemeInfo theme = THEMES[mCurrentTheme]; in launchThemeDeviceActivity() local
|
/cts/tests/app/app/src/android/app/stubs/ |
D | AppStubActivity.java | 135 public void onApplyThemeResource( Resources.Theme theme, in onApplyThemeResource()
|
D | DialogStubActivity.java | 362 public MockAlertDialog(Context context, int theme) { in MockAlertDialog() 420 public MockDatePickerDialog(Context context, int theme, OnDateSetListener callBack, in MockDatePickerDialog()
|
D | TestDialog.java | 93 public TestDialog(Context context, int theme) { in TestDialog()
|