/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 | 91 boolean nightMode = (mContext.getResources().getConfiguration().uiMode in handleUpdateState() 98 state.secondaryLabel = mContext.getResources().getString(nightMode in handleUpdateState() 104 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 | 276 assertFalse(event.nightMode); in testBrightnessEvent() 307 assertTrue(event.nightMode); in testBrightnessFullPopulatedEvent() 450 assertFalse(event.nightMode); in testReadEvents() 467 assertTrue(event.nightMode); in testReadEvents() 567 assertTrue(event.nightMode); in testWriteThenRead() 618 assertTrue(event.nightMode); in testWritePrunesOldEvents() 662 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 | 245 boolean nightMode = (newConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in onConfigurationChanged() 247 if (nightMode != mNightMode) { in onConfigurationChanged() 248 mNightMode = nightMode; in onConfigurationChanged()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 552 out.attribute(null, ATTR_NIGHT_MODE, Boolean.toString(toWrite[i].nightMode)); in writeEventsLocked() 635 String nightMode = parser.getAttributeValue(null, ATTR_NIGHT_MODE); in readEventsLocked() local 636 builder.setNightMode(Boolean.parseBoolean(nightMode)); in readEventsLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 1287 boolean nightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) 1292 getBackgroundColorWithoutTint(), nightMode);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBar.java | 2406 String nightMode = mUiModeManager == null ? "null" : mUiModeManager.getNightMode() + ""; in dump() local 2407 pw.println(" dark theme: " + nightMode + in dump()
|
/frameworks/base/api/ |
D | test-current.txt | 946 field public final boolean nightMode;
|
D | system-current.txt | 2119 field public final boolean nightMode;
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 2119 field public final boolean nightMode;
|