Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
H A DDoubleTapScreenPreferenceControllerTest.java77 when(mAmbientDisplayConfiguration.doubleTapSensorAvailable()).thenReturn(true); in isSuggestionCompleted_ambientDisplay_falseWhenNotVisited()
89 when(mAmbientDisplayConfiguration.doubleTapSensorAvailable()).thenReturn(false); in isSuggestionCompleted_ambientDisplay_trueWhenVisited()
103 when(mAmbientDisplayConfiguration.doubleTapSensorAvailable()).thenReturn(false); in getAvailabilityStatus_aodNotSupported_UNSUPPORTED_ON_DEVICE()
112 when(mAmbientDisplayConfiguration.doubleTapSensorAvailable()).thenReturn(true); in getAvailabilityStatus_aodSupported_aodOff_AVAILABLE()
/aosp12/packages/apps/Settings/src/com/android/settings/gestures/
H A DDoubleTapScreenPreferenceController.java61 return !config.doubleTapSensorAvailable() in isSuggestionComplete()
68 if (!getAmbientConfig().doubleTapSensorAvailable()) { in getAvailabilityStatus()
/aosp12/frameworks/base/core/java/android/hardware/display/
H A DAmbientDisplayConfiguration.java102 && doubleTapSensorAvailable(); in doubleTapGestureEnabled()
106 public boolean doubleTapSensorAvailable() { in doubleTapSensorAvailable() method in AmbientDisplayConfiguration