Home
last modified time | relevance | path

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

12

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DThemeHelperTest.java51 private ThemeHelper.SetupWizardBridge mSetupWizardBridge;
66 ThemeHelper themeHelper = createThemeHelperWithDayNightEnabled(true); in inferThemeResId_themeProvidedAsExtra_suwDayNightEnabled_themesMatch()
80 ThemeHelper themeHelper = createThemeHelperWithDayModeValues(); in inferThemeResId_themeProvidedAsExtra_suwDayNightDisabled_themesMatch()
95 ThemeHelper themeHelper = createThemeHelperWithDayNightEnabled(true); in inferThemeResId_themeProvidedAsExtra_suwDayNightEnabled_flagDisabled_themesMatch()
110 ThemeHelper themeHelper = createThemeHelperWithDayModeValues(); in inferThemeResId_themeProvidedAsExtra_suwDayNightDisabled_flagDisabled_themesMatch()
124 ThemeHelper themeHelper = in inferThemeResId_systemPropertyThemeUsed_suwDayNightEnabled_themesMatch()
138 ThemeHelper themeHelper = in inferThemeResId_glifLightThemeUsed_suwDayNightEnabled_themesMatch()
142 com.google.android.setupdesign.util.ThemeHelper.THEME_GLIF_V3, in inferThemeResId_glifLightThemeUsed_suwDayNightEnabled_themesMatch()
151 ThemeHelper themeHelper = in inferThemeResId_suppressDayNight_systemNightMode_noSetupWizard_isDarkMode()
157 com.google.android.setupdesign.util.ThemeHelper.THEME_GLIF_V3, in inferThemeResId_suppressDayNight_systemNightMode_noSetupWizard_isDarkMode()
[all …]
/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_V3_LIGHT: in getTheme()
52 case ThemeHelper.THEME_GLIF_V3: in getTheme()
54 case ThemeHelper.THEME_GLIF_V2_LIGHT: in getTheme()
55 case ThemeHelper.THEME_GLIF_V2: in getTheme()
57 case ThemeHelper.THEME_GLIF_LIGHT: in getTheme()
58 case ThemeHelper.THEME_GLIF: in getTheme()
63 case ThemeHelper.THEME_GLIF_V3_LIGHT: in getTheme()
65 case ThemeHelper.THEME_GLIF_V3: in getTheme()
[all …]
DSettings.java31 import com.google.android.setupdesign.util.ThemeHelper;
173 ThemeHelper.trySetDynamicColor(this); in onCreate()
186 ThemeHelper.trySetDynamicColor(this); in onCreate()
/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/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupLayoutActivity.java42 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
43 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
52 private final ThemeHelper mThemeHelper;
58 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge())); in SetupLayoutActivity()
63 Utils utils, SettingsFacade settingsFacade, ThemeHelper themeHelper) { in SetupLayoutActivity()
141 protected ThemeHelper getThemeHelper() { in getThemeHelper()
DThemeHelper.java26 import static com.google.android.setupdesign.util.ThemeHelper.trySetDynamicColor;
50 public class ThemeHelper { class
58 public ThemeHelper(NightModeChecker nightModeChecker, SetupWizardBridge setupWizardBridge) { in ThemeHelper() method in ThemeHelper
158 theme = com.google.android.setupdesign.util.ThemeHelper.THEME_GLIF_V3; in getDefaultThemeName()
160 theme = com.google.android.setupdesign.util.ThemeHelper.THEME_GLIF_V3_LIGHT; in getDefaultThemeName()
203 return com.google.android.setupdesign.util.ThemeHelper in isSetupWizardDayNightEnabled()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DAdminIntegratedFlowPrepareActivity.java28 import com.android.managedprovisioning.common.ThemeHelper;
29 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
30 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
49 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge())); in AdminIntegratedFlowPrepareActivity()
78 Utils utils, SettingsFacade settingsFacade, ThemeHelper themeHelper) { in AdminIntegratedFlowPrepareActivity()
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()
DFinancedDeviceLandingActivity.java35 import com.android.managedprovisioning.common.ThemeHelper;
36 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
37 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
57 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge()), in FinancedDeviceLandingActivity()
63 SettingsFacade settingsFacade, ThemeHelper themeHelper, StylerHelper stylerHelper) { in FinancedDeviceLandingActivity()
DProvisioningActivity.java46 import com.android.managedprovisioning.common.ThemeHelper;
47 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
48 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
130 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge())); in ProvisioningActivity()
139 ThemeHelper themeHelper) { in ProvisioningActivity()
DResetAndReturnDeviceActivity.java25 import com.android.managedprovisioning.common.ThemeHelper;
46 Utils utils, SettingsFacade settingsFacade, ThemeHelper themeHelper) { in ResetAndReturnDeviceActivity()
DAbstractProvisioningActivity.java31 import com.android.managedprovisioning.common.ThemeHelper;
75 Utils utils, SettingsFacade settingsFacade, ThemeHelper themeHelper) { in AbstractProvisioningActivity()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivity.java23 import static com.google.android.setupdesign.util.ThemeHelper.shouldApplyExtendedPartnerConfig;
51 import com.android.managedprovisioning.common.ThemeHelper;
52 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
53 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
93 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge())); in TermsActivity()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityTest.java42 import com.android.managedprovisioning.common.ThemeHelper;
43 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
44 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
106 new ThemeHelper( in setup()
/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/Settings/src/com/android/settings/core/
DSettingsBaseActivity.java48 import com.google.android.setupdesign.util.ThemeHelper;
95 if (ThemeHelper.trySetDynamicColor(this)) { in onCreate()
96 appliedTheme = ThemeHelper.isSetupWizardDayNightEnabled(this) in onCreate()
100 appliedTheme = ThemeHelper.isSetupWizardDayNightEnabled(this) in onCreate()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettingsForSetupWizardActivity.java40 import com.google.android.setupdesign.util.ThemeHelper;
110 if (ThemeHelper.trySetDynamicColor(this)) { in applyTheme()
111 final int appliedTheme = ThemeHelper.isSetupWizardDayNightEnabled(this) in applyTheme()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/consent/
DConsentUiHelperImpl.java29 import com.android.managedprovisioning.common.ThemeHelper;
49 private final ThemeHelper mThemeHelper;
53 ThemeHelper themeHelper) { in ConsentUiHelperImpl()
DConsentUiHelperFactory.java20 import com.android.managedprovisioning.common.ThemeHelper;
33 ThemeHelper themeHelper) { in getInstance()
/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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivity.java56 import com.android.managedprovisioning.common.ThemeHelper;
57 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
58 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
104 new ThemeHelper( in PreProvisioningActivity()
113 SettingsFacade settingsFacade, ThemeHelper themeHelper) { in PreProvisioningActivity()
DPreProvisioningActivityBridgeImpl.java23 import com.android.managedprovisioning.common.ThemeHelper;
41 ThemeHelper themeHelper) { in PreProvisioningActivityBridgeImpl()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockSettingsHelperTest.java23 import com.google.android.setupdesign.util.ThemeHelper;
105 .putExtra(WizardManagerHelper.EXTRA_THEME, ThemeHelper.THEME_GLIF_V2); in testLaunchConfirmationActivity_internal_shouldPropagateTheme()
120 .isEqualTo(ThemeHelper.THEME_GLIF_V2); in testLaunchConfirmationActivity_internal_shouldPropagateTheme()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java79 import com.android.managedprovisioning.common.ThemeHelper;
80 import com.android.managedprovisioning.common.ThemeHelper.DefaultNightModeChecker;
81 import com.android.managedprovisioning.common.ThemeHelper.DefaultSetupWizardBridge;
185 private final ThemeHelper mThemeHelper =
186 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge());
/packages/apps/Settings/src/com/android/settings/security/
DInstallCaCertificateWarning.java33 import com.google.android.setupdesign.util.ThemeHelper;
46 ThemeHelper.trySetDynamicColor(this); in onCreate()

12