Searched refs:isDisplayOn (Results 1 – 3 of 3) sorted by relevance
163 void onDisplayStateChanged(boolean isDisplayOn) { in onDisplayStateChanged() argument164 LogUtil.i("ProximitySensor.onDisplayStateChanged", "isDisplayOn: %b", isDisplayOn); in onDisplayStateChanged()165 accelerometerListener.enable(isDisplayOn); in onDisplayStateChanged()273 private boolean isDisplayOn = true; field in ProximitySensor.ProximityDisplayListener295 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()
178 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.DefaultImpl446 return isDisplayOn(displayId); in isDisplayEnabled()
164 if (isDisplayOn()) {171 if (!isDisplayOn()) {275 private boolean isDisplayOn() { in isDisplayOn() method in CarUserNoticeService351 if (!isDisplayOn()) { in startNoticeUiIfNecessary()