Home
last modified time | relevance | path

Searched refs:isDisplayOn (Results 1 – 2 of 2) 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/user/
DCarUserNoticeService.java145 if (isDisplayOn()) {
152 if (!isDisplayOn()) {
250 private boolean isDisplayOn() { in isDisplayOn() method in CarUserNoticeService
309 if (!isDisplayOn()) { in startNoticeUiIfNecessary()