Home
last modified time | relevance | path

Searched refs:nightMode (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DCarNightService.java96 boolean nightMode = (Boolean) value.getValue(); in onNightModeCarPropertyEventLocked()
98 + nightMode + " at timestamp: " + mLastSensorEventTime); in onNightModeCarPropertyEventLocked()
99 setNightModeLocked(nightMode); in onNightModeCarPropertyEventLocked()
105 private void setNightModeLocked(boolean nightMode) { in setNightModeLocked() argument
106 if (nightMode) { in setNightModeLocked()
/packages/apps/Settings/src/com/android/settings/slices/
DSettingsSliceProvider.java207 final boolean nightMode = Utils.isNightMode(getContext()); in onBindSlice()
209 mNightMode = nightMode; in onBindSlice()
211 } else if (mNightMode != nightMode) { in onBindSlice()
213 mNightMode = nightMode; in onBindSlice()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DThemes.java43 int nightMode = configuration.uiMode & Configuration.UI_MODE_NIGHT_MASK; in getActivityThemeRes() local
44 darkTheme = nightMode == Configuration.UI_MODE_NIGHT_YES; in getActivityThemeRes()