Home
last modified time | relevance | path

Searched refs:addOnGestureDetectedCallback (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/gesture/
DGenericGestureDetectorTest.kt36 gestureDetector.addOnGestureDetectedCallback("tag"){} in callbackRegistered_isGestureListening()
43 gestureDetector.addOnGestureDetectedCallback("tag"){} in multipleCallbacksRegistered_isGestureListening()
44 gestureDetector.addOnGestureDetectedCallback("tag2"){} in multipleCallbacksRegistered_isGestureListening()
51 gestureDetector.addOnGestureDetectedCallback("tag"){} in allCallbacksUnregistered_notGestureListening()
52 gestureDetector.addOnGestureDetectedCallback("tag2"){} in allCallbacksUnregistered_notGestureListening()
62 gestureDetector.addOnGestureDetectedCallback("tag"){} in someButNotAllCallbacksUnregistered_isGestureListening()
63 gestureDetector.addOnGestureDetectedCallback("tag2"){} in someButNotAllCallbacksUnregistered_isGestureListening()
73 gestureDetector.addOnGestureDetectedCallback("tag"){ in onInputEvent_meetsGestureCriteria_allCallbacksNotified()
87 gestureDetector.addOnGestureDetectedCallback("tag"){ in onInputEvent_doesNotMeetGestureCriteria_callbackNotNotified()
101 gestureDetector.addOnGestureDetectedCallback("tag"){ in callbackUnregisteredThenGestureDetected_oldCallbackNotNotified()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DGenericGestureDetector.kt57 fun addOnGestureDetectedCallback(tag: String, callback: (MotionEvent) -> Unit) { in addOnGestureDetectedCallback() method in com.android.systemui.statusbar.gesture.GenericGestureDetector
DGesturePointerEventListener.kt83 mGestureDetector.addOnGestureDetectedCallback(TAG) { ev -> onInputEvent(ev) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DAlternateBouncerViewBinder.kt196 swipeUpAnywhereGestureHandler.addOnGestureDetectedCallback( in <lambda>()
202 tapGestureDetector.addOnGestureDetectedCallback(tapTag) { _ -> in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/chipbar/
DChipbarCoordinatorTest.kt623 verify(swipeGestureHandler, never()).addOnGestureDetectedCallback(any(), any()) in swipeToDismiss_false_neverListensForGesture()
637 verify(swipeGestureHandler).addOnGestureDetectedCallback(any(), any()) in swipeToDismiss_true_listensForGesture()
653 verify(swipeGestureHandler).addOnGestureDetectedCallback(any(), capture(callbackCaptor)) in swipeToDismiss_swipeOccurs_viewDismissed_manuallyDismissedLogged()
675 verify(swipeGestureHandler).addOnGestureDetectedCallback(any(), capture(callbackCaptor)) in swipeToDismiss_viewUpdatedToFalse_swipeOccurs_viewNotDismissed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallControllerTest.kt621 .addOnGestureDetectedCallback(anyString(), any()) in callStartedInImmersiveMode_swipeGestureCallbackAdded()
632 .addOnGestureDetectedCallback(anyString(), any()) in callStartedNotInImmersiveMode_swipeGestureCallbackNotAdded()
643 .addOnGestureDetectedCallback(anyString(), any()) in transitionToImmersiveMode_swipeGestureCallbackAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallController.kt303 swipeStatusBarAwayGestureHandler.addOnGestureDetectedCallback(TAG) { _ -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/chipbar/
DChipbarCoordinator.kt309 swipeChipbarAwayGestureHandler.addOnGestureDetectedCallback(TAG) { in <lambda>()