Searched refs:gestureDetector (Results 1 – 7 of 7) sorted by relevance
20 private lateinit var gestureDetector: TestGestureDetector variable in com.android.systemui.statusbar.gesture.GenericGestureDetectorTest26 gestureDetector = TestGestureDetector() in setUp()31 assertThat(gestureDetector.isGestureListening).isFalse() in noCallbacksRegistered_notGestureListening()36 gestureDetector.addOnGestureDetectedCallback("tag"){} in callbackRegistered_isGestureListening()38 assertThat(gestureDetector.isGestureListening).isTrue() in callbackRegistered_isGestureListening()43 gestureDetector.addOnGestureDetectedCallback("tag"){} in multipleCallbacksRegistered_isGestureListening()44 gestureDetector.addOnGestureDetectedCallback("tag2"){} in multipleCallbacksRegistered_isGestureListening()46 assertThat(gestureDetector.isGestureListening).isTrue() in multipleCallbacksRegistered_isGestureListening()51 gestureDetector.addOnGestureDetectedCallback("tag"){} in allCallbacksUnregistered_notGestureListening()52 gestureDetector.addOnGestureDetectedCallback("tag2"){} in allCallbacksUnregistered_notGestureListening()[all …]
47 private var gestureDetector: GestureDetector? = null variable55 gestureDetector!!.onTouchEvent(ev) in onInputEvent()61 gestureDetector = GestureDetector(context, gestureListener) in startGestureListening()67 gestureDetector = null in stopGestureListening()
47 constructor(context: Context, gestureDetector: GesturePointerEventDetector) : CoreStartable { in <lambda>()75 mGestureDetector = checkNull("gesture detector", gestureDetector) in <lambda>()
64 GestureDetector gestureDetector, in InputSession() argument70 mGestureDetector = gestureDetector; in InputSession()
54 private val gestureDetector = in <lambda>() constant84 gestureDetector.setIsLongpressEnabled(false) in <lambda>()224 return gestureDetector.onTouchEvent(ev) in <lambda>()
92 private val gestureDetector: GestureDetectorCompat constant in com.android.systemui.media.controls.ui.view.MediaCarouselScrollHandler199 gestureDetector = GestureDetectorCompat(scrollView.context, gestureListener)273 if (gestureDetector.onTouchEvent(motionEvent)) { in onTouch()347 return gestureDetector.onTouchEvent(motionEvent) in onInterceptTouch()
73 val gestureDetector = GestureDetector(context, gestureListener) in <lambda>() constant75 if (gestureDetector.onTouchEvent(e)) { in <lambda>()