Searched refs:isDisplayOn (Results 1 – 2 of 2) 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()
152 if (isDisplayOn()) {159 if (!isDisplayOn()) {265 private boolean isDisplayOn() { in isDisplayOn() method in CarUserNoticeService340 if (!isDisplayOn()) { in startNoticeUiIfNecessary()