/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_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/ |
D | ThemeHelperTest.java | 50 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/ |
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/services/Car/packages/CarManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | CarPreProvisioningActivity.java | 29 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/ |
D | CarLandingActivity.java | 28 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()
|
D | CarProvisioningActivity.java | 29 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/ |
D | SetupLayoutActivity.java | 44 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()
|
D | ThemeHelper.java | 24 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/ |
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 | 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; 55 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge())); in AdminIntegratedFlowPrepareActivity() 84 Utils utils, SettingsFacade settingsFacade, ThemeHelper themeHelper) { in AdminIntegratedFlowPrepareActivity()
|
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; 58 new ThemeHelper(new DefaultNightModeChecker(), new DefaultSetupWizardBridge()), in FinancedDeviceLandingActivity() 64 SettingsFacade settingsFacade, ThemeHelper themeHelper, StylerHelper stylerHelper) { in FinancedDeviceLandingActivity()
|
D | ProvisioningActivity.java | 42 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()
|
D | ResetDeviceActivity.java | 25 import com.android.managedprovisioning.common.ThemeHelper; 41 Utils utils, SettingsFacade settingsFacade, ThemeHelper themeHelper) { in ResetDeviceActivity()
|
D | ResetAndReturnDeviceActivity.java | 25 import com.android.managedprovisioning.common.ThemeHelper; 43 Utils utils, SettingsFacade settingsFacade, ThemeHelper themeHelper) { in ResetAndReturnDeviceActivity()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | QrCodeScanModeBaseActivity.java | 28 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/ |
D | TermsActivity.java | 42 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/ |
D | ForgotPasswordActivity.java | 37 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/ |
D | ThemeHelper.java | 21 public class ThemeHelper { class 34 private ThemeHelper() { in ThemeHelper() method in ThemeHelper
|
/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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/consent/ |
D | ConsentUiHelperFactory.java | 20 import com.android.managedprovisioning.common.ThemeHelper; 33 ThemeHelper themeHelper, in getInstance()
|
D | ConsentUiHelperImpl.java | 28 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/ |
D | PrivateSpaceDeleteActivity.java | 28 import com.google.android.setupdesign.util.ThemeHelper; 43 ThemeHelper.trySetDynamicColor(this); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/remoteauth/ |
D | RemoteAuthActivity.kt | 27 import com.google.android.setupdesign.util.ThemeHelper 33 ThemeHelper.trySetDynamicColor(this) in onCreate()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivityBridgeImpl.java | 23 import com.android.managedprovisioning.common.ThemeHelper; 41 ThemeHelper themeHelper, in PreProvisioningActivityBridgeImpl()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppBaseActivity.java | 29 import com.google.android.setupdesign.util.ThemeHelper; 59 ThemeHelper.trySetDynamicColor(this); in applyTheme()
|