Home
last modified time | relevance | path

Searched refs:ThemeHelper (Results 1 – 25 of 51) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/
DSetupWizardUtils.java28 import com.google.android.setupdesign.util.ThemeHelper;
49 if (ThemeHelper.isSetupWizardDayNightEnabled(context)) { in getTheme()
51 case ThemeHelper.THEME_GLIF_V4_LIGHT: in getTheme()
52 case ThemeHelper.THEME_GLIF_V4: in getTheme()
54 case ThemeHelper.THEME_GLIF_V3_LIGHT: in getTheme()
55 case ThemeHelper.THEME_GLIF_V3: in getTheme()
57 case ThemeHelper.THEME_GLIF_V2_LIGHT: in getTheme()
58 case ThemeHelper.THEME_GLIF_V2: in getTheme()
60 case ThemeHelper.THEME_GLIF_LIGHT: in getTheme()
61 case ThemeHelper.THEME_GLIF: in getTheme()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DThemeHelperTest.java50 private ThemeHelper.SetupWizardBridge mSetupWizardBridge;
65 ThemeHelper themeHelper = createThemeHelperWithDayNightEnabled(true); in inferThemeResId_themeProvidedAsExtra_suwDayNightEnabled_themesMatch()
79 ThemeHelper themeHelper = createThemeHelperWithDayModeValues(); in inferThemeResId_themeProvidedAsExtra_suwDayNightDisabled_themesMatch()
94 ThemeHelper themeHelper = createThemeHelperWithDayNightEnabled(true); in inferThemeResId_themeProvidedAsExtra_suwDayNightEnabled_flagDisabled_themesMatch()
109 ThemeHelper themeHelper = createThemeHelperWithDayModeValues(); in inferThemeResId_themeProvidedAsExtra_suwDayNightDisabled_flagDisabled_themesMatch()
123 ThemeHelper themeHelper = in inferThemeResId_systemPropertyThemeUsed_suwDayNightEnabled_themesMatch()
137 ThemeHelper themeHelper = in inferThemeResId_glifLightThemeUsed_suwDayNightEnabled_themesMatch()
141 com.google.android.setupdesign.util.ThemeHelper.THEME_GLIF_V4, in inferThemeResId_glifLightThemeUsed_suwDayNightEnabled_themesMatch()
150 ThemeHelper themeHelper = in inferThemeResId_suppressDayNight_systemNightMode_noSetupWizard_isDarkMode()
156 com.google.android.setupdesign.util.ThemeHelper.THEME_GLIF_V4, in inferThemeResId_suppressDayNight_systemNightMode_noSetupWizard_isDarkMode()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSetupWizardUtilsTest.java38 import com.google.android.setupdesign.util.ThemeHelper;
92 SetupWizardProperties.theme(ThemeHelper.THEME_GLIF); in testGetTheme_withIntentExtra_shouldReturnTheme()
94 intent.putExtra(WizardManagerHelper.EXTRA_THEME, ThemeHelper.THEME_GLIF_V2); in testGetTheme_withIntentExtra_shouldReturnTheme()
102 SetupWizardProperties.theme(ThemeHelper.THEME_GLIF_V2_LIGHT); in testGetTheme_withEmptyIntent_shouldReturnSystemProperty()
115 SetupWizardProperties.theme(ThemeHelper.THEME_GLIF_V2_LIGHT); in testGetTheme_whenSuwDayNightEnabledAndWithIntentExtra_shouldReturnDayNightTheme()
117 intent.putExtra(WizardManagerHelper.EXTRA_THEME, ThemeHelper.THEME_GLIF_V2); in testGetTheme_whenSuwDayNightEnabledAndWithIntentExtra_shouldReturnDayNightTheme()
125 SetupWizardProperties.theme(ThemeHelper.THEME_GLIF_V3_LIGHT); in testGetTheme_glifV3Light_shouldReturnLightTheme()
136 SetupWizardProperties.theme(ThemeHelper.THEME_GLIF_V3); in testGetTheme_glifV3_shouldReturnTheme()
151 SetupWizardProperties.theme(ThemeHelper.THEME_GLIF_V2_LIGHT); in testGetTheme_whenSuwDayNightDisabledAndGlifV2_shouldReturnLightTheme()
164 SetupWizardProperties.theme(ThemeHelper.THEME_GLIF_V2_LIGHT); in testGetTheme_whenSuwDayNightEnabledAndGlifV2_shouldReturnDayNightTheme()
[all …]
/packages/services/Car/packages/CarManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DCarPreProvisioningActivity.java29 import com.android.managedprovisioning.common.ThemeHelper;
30 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
31 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
50 new ThemeHelper( in CarPreProvisioningActivity()
59 SettingsFacade settingsFacade, ThemeHelper themeHelper) { in CarPreProvisioningActivity()
/packages/services/Car/packages/CarManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DCarLandingActivity.java28 import com.android.managedprovisioning.common.ThemeHelper;
29 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
30 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
45 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge())); in CarLandingActivity()
50 SettingsFacade settingsFacade, ThemeHelper themeHelper) { in CarLandingActivity()
DCarProvisioningActivity.java29 import com.android.managedprovisioning.common.ThemeHelper;
30 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
31 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
56 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge())); in CarProvisioningActivity()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupLayoutActivity.java44 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
45 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
57 private final ThemeHelper mThemeHelper;
63 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge())); in SetupLayoutActivity()
68 Utils utils, SettingsFacade settingsFacade, ThemeHelper themeHelper) { in SetupLayoutActivity()
151 protected ThemeHelper getThemeHelper() { in getThemeHelper()
DThemeHelper.java24 import static com.google.android.setupdesign.util.ThemeHelper.trySetDynamicColor;
47 public class ThemeHelper { class
55 public ThemeHelper(NightModeChecker nightModeChecker, SetupWizardBridge setupWizardBridge) { in ThemeHelper() method in ThemeHelper
155 theme = com.google.android.setupdesign.util.ThemeHelper.THEME_GLIF_V4; in getDefaultThemeName()
157 theme = com.google.android.setupdesign.util.ThemeHelper.THEME_GLIF_V4_LIGHT; in getDefaultThemeName()
200 return com.google.android.setupdesign.util.ThemeHelper in isSetupWizardDayNightEnabled()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DLandingActivity.java27 import com.android.managedprovisioning.common.ThemeHelper;
28 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
29 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
46 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge())); in LandingActivity()
51 SettingsFacade settingsFacade, ThemeHelper themeHelper) { in LandingActivity()
DAdminIntegratedFlowPrepareActivity.java28 import com.android.managedprovisioning.common.ThemeHelper;
29 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
30 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
55 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge())); in AdminIntegratedFlowPrepareActivity()
84 Utils utils, SettingsFacade settingsFacade, ThemeHelper themeHelper) { in AdminIntegratedFlowPrepareActivity()
DFinancedDeviceLandingActivity.java35 import com.android.managedprovisioning.common.ThemeHelper;
36 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
37 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
58 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge()), in FinancedDeviceLandingActivity()
64 SettingsFacade settingsFacade, ThemeHelper themeHelper, StylerHelper stylerHelper) { in FinancedDeviceLandingActivity()
DProvisioningActivity.java42 import com.android.managedprovisioning.common.ThemeHelper;
43 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
44 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
128 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge())); in ProvisioningActivity()
137 ThemeHelper themeHelper) { in ProvisioningActivity()
DResetDeviceActivity.java25 import com.android.managedprovisioning.common.ThemeHelper;
41 Utils utils, SettingsFacade settingsFacade, ThemeHelper themeHelper) { in ResetDeviceActivity()
DResetAndReturnDeviceActivity.java25 import com.android.managedprovisioning.common.ThemeHelper;
43 Utils utils, SettingsFacade settingsFacade, ThemeHelper themeHelper) { in ResetAndReturnDeviceActivity()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DQrCodeScanModeBaseActivity.java28 import com.google.android.setupdesign.util.ThemeHelper;
44 ThemeHelper.isSetupWizardDayNightEnabled(this) in onCreate()
54 /* suppressDayNight= */ !ThemeHelper.isSetupWizardDayNightEnabled(this))); in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivity.java42 import com.android.managedprovisioning.common.ThemeHelper;
43 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
44 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
85 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge())); in TermsActivity()
/packages/apps/Settings/src/com/android/settings/password/
DForgotPasswordActivity.java37 import com.google.android.setupdesign.util.ThemeHelper;
53 ThemeHelper.trySetDynamicColor(this); in onCreate()
71 if (ThemeHelper.shouldApplyMaterialYouStyle(this)) { in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DThemeHelper.java21 public class ThemeHelper { class
34 private ThemeHelper() { in ThemeHelper() method in ThemeHelper
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DWfcActivationActivity.java29 import com.google.android.setupdesign.util.ThemeHelper;
127 ThemeHelper.isSetupWizardDayNightEnabled(this) in setSuwTheme()
137 /* suppressDayNight= */ !ThemeHelper.isSetupWizardDayNightEnabled(this))); in setSuwTheme()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/consent/
DConsentUiHelperFactory.java20 import com.android.managedprovisioning.common.ThemeHelper;
33 ThemeHelper themeHelper, in getInstance()
DConsentUiHelperImpl.java28 import com.android.managedprovisioning.common.ThemeHelper;
51 private final ThemeHelper mThemeHelper;
57 ThemeHelper themeHelper, String setupMetricScreenName) { in ConsentUiHelperImpl()
/packages/apps/Settings/src/com/android/settings/privatespace/delete/
DPrivateSpaceDeleteActivity.java28 import com.google.android.setupdesign.util.ThemeHelper;
43 ThemeHelper.trySetDynamicColor(this); in onCreate()
/packages/apps/Settings/src/com/android/settings/remoteauth/
DRemoteAuthActivity.kt27 import com.google.android.setupdesign.util.ThemeHelper
33 ThemeHelper.trySetDynamicColor(this) in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityBridgeImpl.java23 import com.android.managedprovisioning.common.ThemeHelper;
41 ThemeHelper themeHelper, in PreProvisioningActivityBridgeImpl()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppBaseActivity.java29 import com.google.android.setupdesign.util.ThemeHelper;
59 ThemeHelper.trySetDynamicColor(this); in applyTheme()

123