/cts/tests/tests/content/src/android/content/res/cts/ |
D | Resources_ThemeTest.java | 87 Resources.Theme theme = getContext().getResources().newTheme(); in testGetChangingConfigurations() local 89 0, theme.getChangingConfigurations()); in testGetChangingConfigurations() 91 theme.applyStyle(R.style.Theme_OrientationDependent, true); in testGetChangingConfigurations() 93 ActivityInfo.CONFIG_ORIENTATION, theme.getChangingConfigurations()); in testGetChangingConfigurations() 95 theme.applyStyle(R.style.Theme_LayoutDirectionDependent, true); in testGetChangingConfigurations() 98 theme.getChangingConfigurations()); in testGetChangingConfigurations() 101 other.setTo(theme); in testGetChangingConfigurations() 104 theme.getChangingConfigurations()); in testGetChangingConfigurations() 114 Resources.Theme theme = res.newTheme(); in testRebase() local 115 theme.applyStyle(R.style.Theme_LayoutIsRTL, true); in testRebase() [all …]
|
/cts/hostsidetests/theme/ |
D | README | 18 The Android theme tests ensure that the Holo and Material themes have not been 21 theme tests, a device must be able to generate images that are identical to the 45 .cts/hostsidetests/theme/generate_images.sh 51 II. Building theme tests 57 2. Subsequent changes to the theme tests, including changes to the reference 60 mmm cts/hostsidetests/theme -j32 63 III. Running theme tests 69 2. Run the theme tests using cts-tradefed: 71 cts-tradefed run cts -c android.theme.cts.ThemeHostTest
|
D | Android.mk | 30 LOCAL_CTS_TEST_PACKAGE := android.host.theme
|
/cts/hostsidetests/theme/app/src/android/theme/app/modifiers/ |
D | AbstractLayoutModifier.java | 17 package android.theme.app.modifiers; 19 import android.theme.app.LayoutModifier;
|
D | DatePickerModifier.java | 17 package android.theme.app.modifiers; 19 import android.theme.app.LayoutModifier;
|
D | SearchViewModifier.java | 17 package android.theme.app.modifiers; 19 import android.theme.app.R;
|
D | ViewPressedModifier.java | 17 package android.theme.app.modifiers;
|
D | ViewCheckedModifier.java | 17 package android.theme.app.modifiers;
|
D | TimePickerModifier.java | 17 package android.theme.app.modifiers;
|
D | ProgressBarModifier.java | 17 package android.theme.app.modifiers;
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateImagesActivity.java | 17 package android.theme.app; 155 final ThemeDeviceActivity.Theme theme = ThemeDeviceActivity.THEMES[mCurrentTheme]; in generateNextImage() local 156 if (theme.apiLevel > VERSION.SDK_INT) { in generateNextImage() 157 Log.v(TAG, "Skipping theme \"" + theme.name in generateNextImage() 158 + "\" (requires API " + theme.apiLevel + ")"); in generateNextImage() 162 Log.v(TAG, "Generating images for theme \"" + theme.name + "\"..."); in generateNextImage()
|
D | DisplayInfoActivity.java | 17 package android.theme.app; 20 import android.theme.app.R;
|
D | LayoutModifier.java | 17 package android.theme.app;
|
D | ReferenceViewGroup.java | 17 package android.theme.app; 19 import android.theme.app.R;
|
D | ReferenceImagesTest.java | 17 package android.theme.app;
|
D | ThemeDeviceActivity.java | 17 package android.theme.app; 23 import android.theme.app.modifiers.DatePickerModifier; 24 import android.theme.app.modifiers.ProgressBarModifier; 25 import android.theme.app.modifiers.SearchViewModifier; 26 import android.theme.app.modifiers.TimePickerModifier; 27 import android.theme.app.modifiers.ViewCheckedModifier; 28 import android.theme.app.modifiers.ViewPressedModifier;
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ActivityInfoTest.java | 59 assertEquals(mActivityInfo.theme, info.theme); in testWriteToParcel() 82 assertEquals(mActivityInfo.applicationInfo.theme, mActivityInfo.getThemeResource()); in testGetThemeResource() 83 mActivityInfo.theme = 1; in testGetThemeResource() 84 assertEquals(mActivityInfo.theme, mActivityInfo.getThemeResource()); in testGetThemeResource()
|
D | ApplicationInfoTest.java | 62 assertEquals(mApplicationInfo.theme, info.theme); in testWriteToParcel()
|
/cts/tests/tests/theme/src/android/theme/cts/ |
D | DeviceDefaultActivity.java | 17 package android.theme.cts; 19 import com.android.cts.theme.R;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ThemedDrawableTest.java | 45 final Theme theme = mContext.getResources().newTheme(); in setUp() local 46 theme.applyStyle(R.style.Theme_ThemedDrawableTest, true); in setUp() 48 ctxTheme.setTo(theme); in setUp()
|
/cts/tests/app/src/android/app/cts/ |
D | AppStubActivity.java | 137 public void onApplyThemeResource( Resources.Theme theme, in onApplyThemeResource() argument 140 super.onApplyThemeResource(theme,resid,first); in onApplyThemeResource()
|
D | DialogStubActivity.java | 336 public MockAlertDialog(Context context, int theme) { in MockAlertDialog() argument 337 super(context, theme); in MockAlertDialog() 394 public MockDatePickerDialog(Context context, int theme, OnDateSetListener callBack, in MockDatePickerDialog() argument 396 super(context, theme, callBack, year, monthOfYear, dayOfMonth); in MockDatePickerDialog()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SpinnerTest.java | 174 Theme theme = mTargetContext.getResources().newTheme(); in testGetPopupContext() local 176 android.R.attr.spinnerStyle, 0, Spinner.MODE_DIALOG, theme); in testGetPopupContext() 178 assertSame(theme, themeSpinner.getPopupContext().getTheme()); in testGetPopupContext()
|
/cts/tests/leanbackjank/app/src/android/cts/jank/leanback/ui/ |
D | MainFragment.java | 108 Theme theme = getContext().getTheme(); in setupUIElements() local 109 setBrandColor(getResources().getColor(R.color.fastlane_background, theme)); in setupUIElements() 111 setSearchAffordanceColor(getResources().getColor(R.color.search_opaque, theme)); in setupUIElements()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ContextThemeWrapperTest.java | 39 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { in onApplyThemeResource() argument 41 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
|