Home
last modified time | relevance | path

Searched refs:nightMode (Results 1 – 14 of 14) 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.java91 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/
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.java276 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/
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.java245 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/
DBrightnessTracker.java552 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/
DExpandableNotificationRow.java1287 boolean nightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK)
1292 getBackgroundColorWithoutTint(), nightMode);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java2406 String nightMode = mUiModeManager == null ? "null" : mUiModeManager.getNightMode() + ""; in dump() local
2407 pw.println(" dark theme: " + nightMode + in dump()
/frameworks/base/api/
Dtest-current.txt946 field public final boolean nightMode;
Dsystem-current.txt2119 field public final boolean nightMode;
/frameworks/base/non-updatable-api/
Dsystem-current.txt2119 field public final boolean nightMode;