Home
last modified time | relevance | path

Searched refs:nightMode (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
DBrightnessChangeEvent.java65 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/
DUiModeNightTile.java90 boolean nightMode = (mContext.getResources().getConfiguration().uiMode in handleUpdateState()
93 state.value = nightMode; in handleUpdateState()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPaintActivity.java129 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/
DBrightnessTrackerTest.java269 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/
DNotificationViewWrapper.java108 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/
DSaveUi.java158 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()
DFillUi.java134 @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/
DStatusBarIconView.java246 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/
DBrightnessTracker.java550 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/
DExpandableNotificationRow.java1304 boolean nightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK)
1309 getBackgroundColorWithoutTint(), nightMode);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java2316 String nightMode = mUiModeManager == null ? "null" : mUiModeManager.getNightMode() + ""; in dump() local
2317 pw.println(" dark theme: " + nightMode + in dump()
/frameworks/base/api/
Dtest-current.txt931 field public final boolean nightMode;
Dsystem-current.txt1923 field public final boolean nightMode;