Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DZenDeviceEffects.java113 private final boolean mNightMode; field in ZenDeviceEffects
130 mNightMode = nightMode; in ZenDeviceEffects()
162 && this.mNightMode == that.mNightMode in equals()
174 return Objects.hash(mGrayscale, mSuppressAmbientDisplay, mDimWallpaper, mNightMode, in hashCode()
185 if (mNightMode) effects.add("nightMode"); in toString()
261 return mNightMode; in shouldUseNightMode()
332 return mGrayscale || mSuppressAmbientDisplay || mDimWallpaper || mNightMode in hasEffects()
366 dest.writeBoolean(mNightMode); in writeToParcel()
383 private boolean mNightMode; field in ZenDeviceEffects.Builder
406 mNightMode = zenDeviceEffects.shouldUseNightMode(); in Builder()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DPackageConfigurationUpdaterImpl.java35 private Integer mNightMode; field in PackageConfigurationUpdaterImpl
59 mNightMode = nightMode; in setNightMode()
127 wpc.applyAppSpecificConfig(mNightMode, localesOverride, mGrammaticalGender); in updateConfig()
131 wpc.updateAppSpecificSettingsForAllActivitiesInPackage(packageName, mNightMode, in updateConfig()
137 return mNightMode; in getNightMode()
DPackageConfigPersister.java141 initRecord.mNightMode = nightMode; in loadUserPackages()
168 container.applyAppSpecificConfig(modifiedRecord.mNightMode, in updateConfigIfNeeded()
198 if ((record.mNightMode == null || record.isResetNightMode()) in updateFromImpl()
221 if (!updateNightMode(record.mNightMode, writeRecord) in updateFromImpl()
237 if (requestedNightMode == null || requestedNightMode.equals(record.mNightMode)) { in updateNightMode()
240 record.mNightMode = requestedNightMode; in updateNightMode()
326 packageConfigRecord.mNightMode, in findPackageConfiguration()
346 pw.println(" NightMode : " + packageConfig.mNightMode); in dump()
357 Integer mNightMode; field in PackageConfigPersister.PackageConfigRecord
368 return mNightMode == Configuration.UI_MODE_NIGHT_UNDEFINED; in isResetNightMode()
[all …]
DActivityTaskManagerInternal.java674 public final Integer mNightMode; field in ActivityTaskManagerInternal.PackageConfig
692 mNightMode = nightMode; in PackageConfig()
702 return "PackageConfig: nightMode " + mNightMode + " locales " + mLocales; in toString()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java142 private final NightMode mNightMode = new NightMode(){ field in UiModeManagerService
319 if (mNightMode.get() == UiModeManager.MODE_NIGHT_AUTO && mSystemReady) {
414 mNightMode.get(), 0); in updateSystemProperties()
434 if (mNightMode.get() == MODE_NIGHT_AUTO) persistComputedNightMode(from.getUserIdentifier()); in onUserSwitching()
493 mNightMode.set(res.getInteger( in onStart()
532 if (mNightMode.get() == MODE_NIGHT_AUTO) {
607 if (mNightMode.get() != MODE_NIGHT_CUSTOM) return; in updateCustomTimeLocked()
628 mNightMode.set(Secure.getIntForUser(context.getContentResolver(), in updateNightModeFromSettingsLocked()
645 if (mNightMode.get() == MODE_NIGHT_AUTO) { in updateNightModeFromSettingsLocked()
858 if (mNightMode.get() != mode || mNightModeCustomType != customModeType) { in setNightModeInternal()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuViewTest.java61 private int mNightMode; field in MenuViewTest
78 mNightMode = mUiModeManager.getNightMode(); in setUp()
189 mUiModeManager.setNightMode(mNightMode); in tearDown()
/frameworks/base/core/java/android/hardware/display/
DBrightnessChangeEvent.java273 private boolean mNightMode; field in BrightnessChangeEvent.Builder
340 mNightMode = nightMode; in setNightMode()
399 mBatteryLevel, mPowerBrightnessFactor, mNightMode, mColorTemperature, in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java159 private boolean mNightMode; field in StatusBarIconView
211 mNightMode = (mConfiguration.uiMode & Configuration.UI_MODE_NIGHT_MASK) in StatusBarIconView()
325 if (nightMode != mNightMode) { in onConfigurationChanged()
326 mNightMode = nightMode; in onConfigurationChanged()
708 setDecorColor(getContext().getColor(mNightMode in initializeDecorColor()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java951 assertEquals(appSpecificConfig2.mNightMode.intValue(), Configuration.UI_MODE_NIGHT_YES); in testPackageConfigUpdate_localesNotSet_localeConfigRetrievedNull()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19695 Landroid/hardware/display/BrightnessChangeEvent$Builder;->mNightMode:Z