Searched refs:FORCED_NIGHT_MODE (Results 1 – 6 of 6) sorted by relevance
47 static final int FORCED_NIGHT_MODE = 2; field in ThemeTogglePreferenceController88 getNightButton().setDrawable(getThemeModeIcon(FORCED_NIGHT_MODE)); in onCreateInternal()91 setForcedDayNightModeSetting(FORCED_NIGHT_MODE); in onCreateInternal()124 boolean checked = getForcedDayNightModeSetting() == FORCED_NIGHT_MODE; in updateState()187 case FORCED_NIGHT_MODE -> getContext().getDrawable( in getThemeModeIcon()
53 @IntDef({FORCED_SENSOR_MODE, FORCED_DAY_MODE, FORCED_NIGHT_MODE})59 public static final int FORCED_NIGHT_MODE = 2; field in CarNightService174 case FORCED_NIGHT_MODE: in forceDayNightModeInternal()176 mForcedMode = FORCED_NIGHT_MODE; in forceDayNightModeInternal()
2899 mode = CarNightService.FORCED_NIGHT_MODE;
45 static final int FORCED_NIGHT_MODE = 2; field in ThemeToggle61 .addEndItem(createThemeToggleButton(FORCED_NIGHT_MODE)) in getQCItem()119 case FORCED_NIGHT_MODE: in getThemeModeIcon()
23 import static com.android.car.CarNightService.FORCED_NIGHT_MODE;127 int updatedMode = mService.forceDayNightMode(FORCED_NIGHT_MODE); in forceDayNightMode_setsDayMode()187 FORCED_NIGHT_MODE); in forceDayNightMode_withSetting_setsNightMode()
20 import static com.android.car.settings.display.ThemeTogglePreferenceController.FORCED_NIGHT_MODE;154 FORCED_NIGHT_MODE); in testRefreshUi_nightMode_nightButtonChecked() local208 assertThat(themeMode).isEqualTo(FORCED_NIGHT_MODE); in testHandlePreferenceChanged_setNight()