Home
last modified time | relevance | path

Searched refs:Theme (Results 1 – 25 of 27) sorted by relevance

12

/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeDeviceActivity.java52 private Theme mTheme;
155 if (view instanceof DatePicker && mTheme.spec == Theme.HOLO) { in setNextLayout()
184 static class Theme { class in ThemeDeviceActivity
193 private Theme(int spec, int id, int apiLevel, String name) { in Theme() method in ThemeDeviceActivity.Theme
202 static final Theme[] THEMES = {
204 new Theme(Theme.HOLO, android.R.style.Theme_Holo,
206 new Theme(Theme.HOLO, android.R.style.Theme_Holo_Dialog,
208 new Theme(Theme.HOLO, android.R.style.Theme_Holo_Dialog_MinWidth,
210 new Theme(Theme.HOLO, android.R.style.Theme_Holo_Dialog_NoActionBar,
212 new Theme(Theme.HOLO, android.R.style.Theme_Holo_Dialog_NoActionBar_MinWidth,
[all …]
DGenerateImagesActivity.java149 final ThemeDeviceActivity.Theme theme = ThemeDeviceActivity.THEMES[mCurrentTheme]; in generateNextImage()
/cts/tests/tests/content/src/android/content/res/cts/
DResources_ThemeTest.java25 import android.content.res.Resources.Theme;
42 private Resources.Theme mResTheme;
57 final Theme other = getContext().getTheme(); in testSetMethods()
94 Resources.Theme theme = getContext().getResources().newTheme(); in testGetChangingConfigurations()
107 Resources.Theme other = getContext().getResources().newTheme(); in testGetChangingConfigurations()
124 Resources.Theme theme = res.newTheme(); in testRebase()
147 final Theme theme = res.newTheme(); in testGetDrawable()
157 final Theme theme = res.newTheme(); in testGetResources()
DColorStateListTest.java27 import android.content.res.Resources.Theme;
64 final Theme theme = res.newTheme(); in testCreateFromXmlThemed()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DThemedDrawableTest.java20 import android.content.res.Resources.Theme;
45 final Theme theme = mContext.getResources().newTheme(); in setUp()
47 final Theme ctxTheme = mContext.getTheme(); in setUp()
DCustomDrawableTest.java25 import android.content.res.Resources.Theme;
51 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) in inflate()
DRippleDrawableTest.java25 import android.content.res.Resources.Theme;
97 final Theme t = res.newTheme(); in testPreloadDensityInner()
DVectorDrawableTest.java23 import android.content.res.Resources.Theme;
248 Theme theme = mResources.newTheme(); in verifyVectorDrawables()
473 final Theme t = res.newTheme(); in testPreloadDensityInner()
DDrawableTest.java19 import android.content.res.Resources.Theme;
317 Theme theme = mResources.newTheme(); in testCreateFromXmlThemed()
347 Theme theme = mResources.newTheme(); in testCreateFromXmlInnerThemed()
DInsetDrawableTest.java23 import android.content.res.Resources.Theme;
405 final Theme t = res.newTheme(); in testPreloadDensityInner()
DNinePatchDrawableTest.java19 import android.content.res.Resources.Theme;
449 final Theme t = res.newTheme(); in testSetTargetDensityInner()
545 final Theme t = res.newTheme(); in testPreloadDensityInner()
DGradientDrawableTest.java24 import android.content.res.Resources.Theme;
561 final Theme t = res.newTheme(); in testPreloadDensityInner()
DBitmapDrawableTest.java19 import android.content.res.Resources.Theme;
571 final Theme t = res.newTheme(); in testPreloadDensityInner()
DLayerDrawableTest.java22 import android.content.res.Resources.Theme;
1791 final Theme t = res.newTheme(); in testPreloadDensityInner()
/cts/tests/tests/view/src/android/view/cts/
DContextThemeWrapperTest.java23 import android.content.res.Resources.Theme;
39 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { in onApplyThemeResource()
125 Resources.Theme expected = getContext().getResources().newTheme(); in assertEqualsTextAppearanceStyle()
DLayoutInflaterTest.java29 import android.content.res.Resources.Theme;
380 Theme theme = view.getContext().getTheme(); in verifyThemeType()
/cts/tests/tests/widget/src/android/widget/cts/
DAutoCompleteTextViewNoIme.java49 int defStyleRes, Resources.Theme popupTheme) { in AutoCompleteTextViewNoIme()
DSpinnerTest.java26 import android.content.res.Resources.Theme;
174 Theme theme = mTargetContext.getResources().newTheme(); in testGetPopupContext()
DSimpleAdapterTest.java23 import android.content.res.Resources.Theme;
265 Theme theme = mContext.getResources().newTheme(); in testAccessDropDownViewTheme()
DArrayAdapterTest.java24 import android.content.res.Resources.Theme;
209 Theme theme = mContext.getResources().newTheme(); in testAccessDropDownViewTheme()
DCursorAdapterTest.java22 import android.content.res.Resources.Theme;
257 Theme theme = mContext.getResources().newTheme(); in testAccessDropDownViewTheme()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/
DMainFragment.java18 import android.content.res.Resources.Theme;
147 Theme theme = getContext().getTheme();
/cts/tests/app/app/src/android/app/stubs/
DAppStubActivity.java135 public void onApplyThemeResource( Resources.Theme theme, in onApplyThemeResource()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java23 import android.content.res.Resources.Theme;
193 final Theme testTheme = mContext.getTheme(); in testAccessTheme()
/cts/tests/app/src/android/app/cts/
DDialogTest.java129 final Resources.Theme expected = mContext.getResources().newTheme(); in assertTextAppearanceStyle()

12