/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | ThemeHelperTest.java | 51 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/ |
D | SetupWizardUtils.java | 28 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 …]
|
D | Settings.java | 31 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/ |
D | SetupWizardUtilsTest.java | 38 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/ |
D | SetupLayoutActivity.java | 42 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()
|
D | ThemeHelper.java | 26 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/ |
D | AdminIntegratedFlowPrepareActivity.java | 28 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()
|
D | LandingActivity.java | 27 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()
|
D | FinancedDeviceLandingActivity.java | 35 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()
|
D | ProvisioningActivity.java | 46 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()
|
D | ResetAndReturnDeviceActivity.java | 25 import com.android.managedprovisioning.common.ThemeHelper; 46 Utils utils, SettingsFacade settingsFacade, ThemeHelper themeHelper) { in ResetAndReturnDeviceActivity()
|
D | AbstractProvisioningActivity.java | 31 import com.android.managedprovisioning.common.ThemeHelper; 75 Utils utils, SettingsFacade settingsFacade, ThemeHelper themeHelper) { in AbstractProvisioningActivity()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsActivity.java | 23 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/ |
D | PreProvisioningActivityTest.java | 42 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/ |
D | WfcActivationActivity.java | 29 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/ |
D | SettingsBaseActivity.java | 48 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/ |
D | AccessibilitySettingsForSetupWizardActivity.java | 40 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/ |
D | ConsentUiHelperImpl.java | 29 import com.android.managedprovisioning.common.ThemeHelper; 49 private final ThemeHelper mThemeHelper; 53 ThemeHelper themeHelper) { in ConsentUiHelperImpl()
|
D | ConsentUiHelperFactory.java | 20 import com.android.managedprovisioning.common.ThemeHelper; 33 ThemeHelper themeHelper) { in getInstance()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | ThemeHelper.java | 21 public class ThemeHelper { class 34 private ThemeHelper() { in ThemeHelper() method in ThemeHelper
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivity.java | 56 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()
|
D | PreProvisioningActivityBridgeImpl.java | 23 import com.android.managedprovisioning.common.ThemeHelper; 41 ThemeHelper themeHelper) { in PreProvisioningActivityBridgeImpl()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockSettingsHelperTest.java | 23 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/ |
D | ProvisioningActivityTest.java | 79 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/ |
D | InstallCaCertificateWarning.java | 33 import com.google.android.setupdesign.util.ThemeHelper; 46 ThemeHelper.trySetDynamicColor(this); in onCreate()
|