Searched refs:FORCED_DAY_MODE (Results 1 – 6 of 6) sorted by relevance
46 static final int FORCED_DAY_MODE = 1; field in ThemeTogglePreferenceController79 getDayButton().setDrawable(getThemeModeIcon(FORCED_DAY_MODE)); in onCreateInternal()82 setForcedDayNightModeSetting(FORCED_DAY_MODE); in onCreateInternal()119 boolean checked = getForcedDayNightModeSetting() == FORCED_DAY_MODE; in updateState()186 case FORCED_DAY_MODE -> getContext().getDrawable(R.drawable.ic_theme_toggle_day_button); in getThemeModeIcon()
19 import static com.android.car.settings.display.ThemeTogglePreferenceController.FORCED_DAY_MODE;138 FORCED_DAY_MODE); in testRefreshUi_dayMode_dayButtonChecked() local170 FORCED_DAY_MODE); in testHandlePreferenceChanged_setSensor() local177 FORCED_DAY_MODE); in testHandlePreferenceChanged_setSensor()193 assertThat(themeMode).isEqualTo(FORCED_DAY_MODE); in testHandlePreferenceChanged_setDay()207 FORCED_DAY_MODE); in testHandlePreferenceChanged_setNight()
53 @IntDef({FORCED_SENSOR_MODE, FORCED_DAY_MODE, FORCED_NIGHT_MODE})58 public static final int FORCED_DAY_MODE = 1; field in CarNightService170 case FORCED_DAY_MODE: in forceDayNightModeInternal()172 mForcedMode = FORCED_DAY_MODE; in forceDayNightModeInternal()241 : (mForcedMode == FORCED_DAY_MODE ? "day" : "night"))); in dump()
2896 mode = CarNightService.FORCED_DAY_MODE;
44 static final int FORCED_DAY_MODE = 1; field in ThemeToggle60 .addEndItem(createThemeToggleButton(FORCED_DAY_MODE)) in getQCItem()117 case FORCED_DAY_MODE: in getThemeModeIcon()
22 import static com.android.car.CarNightService.FORCED_DAY_MODE;140 int updatedMode = mService.forceDayNightMode(FORCED_DAY_MODE); in forceDayNightMode_setsNightMode()172 FORCED_DAY_MODE); in forceDayNightMode_withSetting_setsDayMode()