/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessChangeEvent.java | 65 public final boolean nightMode; field in BrightnessChangeEvent 107 float powerBrightnessFactor, boolean nightMode, int colorTemperature, in BrightnessChangeEvent() argument 118 this.nightMode = nightMode; in BrightnessChangeEvent() 137 this.nightMode = other.nightMode; in BrightnessChangeEvent() 155 nightMode = source.readBoolean(); in BrightnessChangeEvent() 189 dest.writeBoolean(nightMode); in writeToParcel() 265 public Builder setNightMode(boolean nightMode) { in setNightMode() argument 266 mNightMode = nightMode; in setNightMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UiModeNightTile.java | 90 boolean nightMode = (mContext.getResources().getConfiguration().uiMode in handleUpdateState() 93 state.value = nightMode; in handleUpdateState()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | PaintActivity.java | 129 private int nightMode = Configuration.UI_MODE_NIGHT_UNDEFINED; field in PaintActivity 289 if (nightMode != newNightMode) { in refreshNightMode() 290 if (nightMode != Configuration.UI_MODE_NIGHT_UNDEFINED) { in refreshNightMode() 307 nightMode = newNightMode; in refreshNightMode()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 269 assertFalse(event.nightMode); in testBrightnessEvent() 300 assertTrue(event.nightMode); in testBrightnessFullPopulatedEvent() 440 assertFalse(event.nightMode); in testReadEvents() 457 assertTrue(event.nightMode); in testReadEvents() 557 assertTrue(event.nightMode); in testWriteThenRead() 605 assertTrue(event.nightMode); in testWritePrunesOldEvents() 649 assertEquals(event.nightMode, event2.nightMode); in testParcelUnParcel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationViewWrapper.java | 108 boolean nightMode = (configuration.uiMode & Configuration.UI_MODE_NIGHT_MASK) in needsInversion() 110 if (!nightMode) { in needsInversion()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | SaveUi.java | 158 boolean nightMode, boolean isUpdate, boolean compatMode) { in SaveUi() argument 159 if (sVerbose) Slog.v(TAG, "nightMode: " + nightMode); in SaveUi() 160 mThemeId = nightMode ? THEME_ID_DARK : THEME_ID_LIGHT; in SaveUi()
|
D | FillUi.java | 134 @NonNull Drawable serviceIcon, boolean nightMode, @NonNull Callback callback) { in FillUi() argument 135 if (sVerbose) Slog.v(TAG, "nightMode: " + nightMode); in FillUi() 136 mThemeId = nightMode ? THEME_ID_DARK : THEME_ID_LIGHT; in FillUi()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 246 boolean nightMode = (newConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in onConfigurationChanged() 248 if (nightMode != mNightMode) { in onConfigurationChanged() 249 mNightMode = nightMode; in onConfigurationChanged()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 550 out.attribute(null, ATTR_NIGHT_MODE, Boolean.toString(toWrite[i].nightMode)); in writeEventsLocked() 633 String nightMode = parser.getAttributeValue(null, ATTR_NIGHT_MODE); in readEventsLocked() local 634 builder.setNightMode(Boolean.parseBoolean(nightMode)); in readEventsLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 1304 boolean nightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) 1309 getBackgroundColorWithoutTint(), nightMode);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBar.java | 2316 String nightMode = mUiModeManager == null ? "null" : mUiModeManager.getNightMode() + ""; in dump() local 2317 pw.println(" dark theme: " + nightMode + in dump()
|
/frameworks/base/api/ |
D | test-current.txt | 931 field public final boolean nightMode;
|
D | system-current.txt | 1923 field public final boolean nightMode;
|