Home
last modified time | relevance | path

Searched refs:EXTRA_THEME (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DThemeResolverTest.java107 new Intent().putExtra(WizardManagerHelper.EXTRA_THEME, "material"))) in resolve_intentTheme_shouldReturnCorrespondingTheme()
111 new Intent().putExtra(WizardManagerHelper.EXTRA_THEME, "material_light"))) in resolve_intentTheme_shouldReturnCorrespondingTheme()
114 themeResolver.resolve(new Intent().putExtra(WizardManagerHelper.EXTRA_THEME, "glif"))) in resolve_intentTheme_shouldReturnCorrespondingTheme()
118 new Intent().putExtra(WizardManagerHelper.EXTRA_THEME, "glif_light"))) in resolve_intentTheme_shouldReturnCorrespondingTheme()
122 new Intent().putExtra(WizardManagerHelper.EXTRA_THEME, "glif_v2"))) in resolve_intentTheme_shouldReturnCorrespondingTheme()
126 new Intent().putExtra(WizardManagerHelper.EXTRA_THEME, "glif_v2_light"))) in resolve_intentTheme_shouldReturnCorrespondingTheme()
130 new Intent().putExtra(WizardManagerHelper.EXTRA_THEME, "glif_v3"))) in resolve_intentTheme_shouldReturnCorrespondingTheme()
134 new Intent().putExtra(WizardManagerHelper.EXTRA_THEME, "glif_v3_light"))) in resolve_intentTheme_shouldReturnCorrespondingTheme()
138 new Intent().putExtra(WizardManagerHelper.EXTRA_THEME, "unknown_theme"))) in resolve_intentTheme_shouldReturnCorrespondingTheme()
150 new Intent(originalIntent).putExtra(WizardManagerHelper.EXTRA_THEME, "material"))) in resolve_suwIntent_shouldForceNonDayNightTheme()
[all …]
DWizardManagerHelperTest.java127 intent.putExtra(WizardManagerHelper.EXTRA_THEME, theme); in isLightTheme_shouldReturnTrue_whenThemeIsLight()
150 intent.putExtra(WizardManagerHelper.EXTRA_THEME, theme); in isLightTheme_shouldReturnFalse_whenThemeIsNotLight()
169 intent.putExtra(WizardManagerHelper.EXTRA_THEME, "material"); in getThemeRes_whenOldestSupportedThemeTakeEffect_shouldReturnDefault()
177 intent.putExtra(WizardManagerHelper.EXTRA_THEME, "glif_v3"); in getThemeRes_whenOldestSupportedThemeNotTakeEffect_shouldReturnCurrent()
264 intent.putExtra(WizardManagerHelper.EXTRA_THEME, "material"); in testGetThemeResFromIntent()
274 .putExtra(WizardManagerHelper.EXTRA_THEME, "test_theme") in testCopyWizardManagerIntent()
290 .that(intent.getStringExtra(WizardManagerHelper.EXTRA_THEME)) in testCopyWizardManagerIntent()
363 WizardManagerHelper.EXTRA_THEME, WizardManagerHelper.THEME_GLIF_LIGHT)) in applyTheme_glifDayNight_shouldApplyThemeToActivity()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DWizardManagerHelper.java52 public static final String EXTRA_THEME = "theme"; field in WizardManagerHelper
131 intent.putExtra(EXTRA_THEME, originalIntent.getStringExtra(EXTRA_THEME)); in getNextIntent()
155 for (String key : Arrays.asList(EXTRA_THEME, EXTRA_SCRIPT_URI, EXTRA_ACTION_ID)) { in copyWizardManagerExtras()
247 final String theme = intent.getStringExtra(EXTRA_THEME); in isLightTheme()
DThemeResolver.java61 intent.getStringExtra(WizardManagerHelper.EXTRA_THEME), in resolve()
/frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/
DHelpUtils.java66 private static final String EXTRA_THEME = "EXTRA_THEME"; field in HelpUtils
242 intent.putExtra(EXTRA_THEME, 3 /* System Default theme */); in addIntentParameters()