Home
last modified time | relevance | path

Searched refs:isDisplayOn (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/
DProximitySensor.java163 void onDisplayStateChanged(boolean isDisplayOn) { in onDisplayStateChanged() argument
164 LogUtil.i("ProximitySensor.onDisplayStateChanged", "isDisplayOn: %b", isDisplayOn); in onDisplayStateChanged()
165 accelerometerListener.enable(isDisplayOn); in onDisplayStateChanged()
273 private boolean isDisplayOn = true; field in ProximitySensor.ProximityDisplayListener
295 final boolean isDisplayOn = display.getState() != Display.STATE_OFF; in onDisplayChanged()
298 if (isDisplayOn != this.isDisplayOn) { in onDisplayChanged()
299 this.isDisplayOn = isDisplayOn; in onDisplayChanged()
300 onDisplayStateChanged(this.isDisplayOn); in onDisplayChanged()
/packages/services/Car/service/src/com/android/car/systeminterface/
DDisplayInterface.java178 mDisplayStateSet.put(displayId, isDisplayOn(displayId));
208 mDisplayStateSet.put(displayId, isDisplayOn(displayId)); in DefaultImpl()
281 boolean isOn = isDisplayOn(displayId); in handleDisplayChanged()
293 private boolean isDisplayOn(int displayId) { in isDisplayOn() method in DisplayInterface.DefaultImpl
446 return isDisplayOn(displayId); in isDisplayEnabled()
/packages/services/Car/service/src/com/android/car/user/
DCarUserNoticeService.java164 if (isDisplayOn()) {
171 if (!isDisplayOn()) {
275 private boolean isDisplayOn() { in isDisplayOn() method in CarUserNoticeService
351 if (!isDisplayOn()) { in startNoticeUiIfNecessary()