Home
last modified time | relevance | path

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

/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeDeviceActivity.java52 private Theme mTheme;
182 static class Theme { class in ThemeDeviceActivity
187 private Theme(int id, int apiLevel, String name) { in Theme() method in ThemeDeviceActivity.Theme
195 static final Theme[] THEMES = {
197 new Theme(android.R.style.Theme_Holo,
199 new Theme(android.R.style.Theme_Holo_Dialog,
201 new Theme(android.R.style.Theme_Holo_Dialog_MinWidth,
203 new Theme(android.R.style.Theme_Holo_Dialog_NoActionBar,
205 new Theme(android.R.style.Theme_Holo_Dialog_NoActionBar_MinWidth,
207 new Theme(android.R.style.Theme_Holo_DialogWhenLarge,
[all …]
DGenerateImagesActivity.java155 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;
39 private Resources.Theme mResTheme;
53 final Theme other = getContext().getTheme(); in testSetMethods()
87 Resources.Theme theme = getContext().getResources().newTheme(); in testGetChangingConfigurations()
100 Resources.Theme other = getContext().getResources().newTheme(); in testGetChangingConfigurations()
114 Resources.Theme theme = res.newTheme(); in testRebase()
DConfigTest.java76 final Resources.Theme theme = res.newTheme(); in checkValue()
/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()
/cts/tests/tests/view/src/android/view/cts/
DContextThemeWrapperTest.java22 import android.content.res.Resources.Theme;
39 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { in onApplyThemeResource()
109 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/
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/tests/content/src/android/content/cts/
DContextTest.java27 import android.content.res.Resources.Theme;
86 final Theme testTheme = mContext.getTheme(); in testAccessTheme()
/cts/tests/tests/app/src/android/app/cts/
DLifecycleTest.java27 import android.content.res.Resources.Theme;
DLaunchTest.java24 import android.content.res.Resources.Theme;
DDialogTest.java125 final Resources.Theme expected = mContext.getResources().newTheme(); in assertTextAppearanceStyle()
/cts/tests/leanbackjank/app/src/android/cts/jank/leanback/ui/
DMainFragment.java18 import android.content.res.Resources.Theme;
108 Theme theme = getContext().getTheme(); in setupUIElements()
/cts/tests/app/src/android/app/cts/
DAppStubActivity.java137 public void onApplyThemeResource( Resources.Theme theme, in onApplyThemeResource()