/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessChangeEvent.java | 65 public final boolean nightMode; field in BrightnessChangeEvent 109 float powerBrightnessFactor, boolean nightMode, int colorTemperature, in BrightnessChangeEvent() argument 120 this.nightMode = nightMode; in BrightnessChangeEvent() 139 this.nightMode = other.nightMode; in BrightnessChangeEvent() 157 nightMode = source.readBoolean(); in BrightnessChangeEvent() 191 dest.writeBoolean(nightMode); in writeToParcel() 267 public Builder setNightMode(boolean nightMode) { in setNightMode() argument 268 mNightMode = nightMode; in setNightMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UiModeNightTile.java | 97 boolean nightMode = (mContext.getResources().getConfiguration().uiMode in handleUpdateState() 105 state.secondaryLabel = mContext.getResources().getString(nightMode in handleUpdateState() 111 if (nightMode) { in handleUpdateState() 116 state.secondaryLabel = mContext.getResources().getString(nightMode in handleUpdateState() 123 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 | 305 assertFalse(event.nightMode); in testBrightnessEvent() 336 assertTrue(event.nightMode); in testBrightnessFullPopulatedEvent() 476 assertFalse(event.nightMode); in testReadEvents() 493 assertTrue(event.nightMode); in testReadEvents() 593 assertTrue(event.nightMode); in testWriteThenRead() 641 assertTrue(event.nightMode); in testWritePrunesOldEvents() 685 assertEquals(event.nightMode, event2.nightMode); in testParcelUnParcel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationViewWrapper.java | 124 boolean nightMode = (configuration.uiMode & Configuration.UI_MODE_NIGHT_MASK) in needsInversion() 126 if (!nightMode) { in needsInversion()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | SaveUi.java | 179 boolean nightMode, boolean isUpdate, boolean compatMode) { in SaveUi() argument 180 if (sVerbose) Slog.v(TAG, "nightMode: " + nightMode); in SaveUi() 181 mThemeId = nightMode ? THEME_ID_DARK : THEME_ID_LIGHT; in SaveUi()
|
D | FillUi.java | 135 @NonNull Drawable serviceIcon, boolean nightMode, @NonNull Callback callback) { in FillUi() argument 136 if (sVerbose) Slog.v(TAG, "nightMode: " + nightMode); in FillUi() 137 mThemeId = nightMode ? THEME_ID_DARK : THEME_ID_LIGHT; in FillUi()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 256 boolean nightMode = (newConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in onConfigurationChanged() 258 if (nightMode != mNightMode) { in onConfigurationChanged() 259 mNightMode = nightMode; in onConfigurationChanged()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 561 out.attribute(null, ATTR_NIGHT_MODE, Boolean.toString(toWrite[i].nightMode)); in writeEventsLocked() 644 String nightMode = parser.getAttributeValue(null, ATTR_NIGHT_MODE); in readEventsLocked() local 645 builder.setNightMode(Boolean.parseBoolean(nightMode)); in readEventsLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 1292 boolean nightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) 1297 getBackgroundColorWithoutTint(), nightMode);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBar.java | 2526 String nightMode = mUiModeManager == null ? "null" : mUiModeManager.getNightMode() + ""; in dump() local 2527 pw.println(" dark theme: " + nightMode + in dump()
|
/frameworks/base/api/ |
D | test-current.txt | 1249 field public final boolean nightMode;
|
D | system-current.txt | 2437 field public final boolean nightMode;
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 2385 field public final boolean nightMode;
|