Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java82 private int mNightMode = UiModeManager.MODE_NIGHT_NO; field in UiModeManagerService
185 if (mNightMode == UiModeManager.MODE_NIGHT_AUTO) {
328 int oldNightMode = mNightMode; in updateNightModeFromSettings()
330 mNightMode = Secure.getIntForUser(context.getContentResolver(), in updateNightModeFromSettings()
333 mNightMode = defaultNightMode; in updateNightModeFromSettings()
336 return oldNightMode != mNightMode; in updateNightModeFromSettings()
415 if (mNightMode != mode) {
427 mNightMode = mode;
439 return mNightMode;
475 pw.print(" mNightMode="); pw.print(mNightMode); pw.print(" ("); in dumpImpl()
[all …]
/frameworks/base/core/java/android/hardware/display/
DBrightnessChangeEvent.java208 private boolean mNightMode; field in BrightnessChangeEvent.Builder
266 mNightMode = nightMode; in setNightMode()
307 mPowerBrightnessFactor, mNightMode, mColorTemperature, mLastBrightness, in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java128 private boolean mNightMode; field in StatusBarIconView
180 mNightMode = (configuration.uiMode & Configuration.UI_MODE_NIGHT_MASK) in StatusBarIconView()
248 if (nightMode != mNightMode) { in onConfigurationChanged()
249 mNightMode = nightMode; in onConfigurationChanged()
580 setDecorColor(getContext().getColor(mNightMode in initializeDecorColor()