Home
last modified time | relevance | path

Searched refs:gestureDetector (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/gesture/
DGenericGestureDetectorTest.kt20 private lateinit var gestureDetector: TestGestureDetector variable in com.android.systemui.statusbar.gesture.GenericGestureDetectorTest
26 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DTapGestureDetector.kt47 private var gestureDetector: GestureDetector? = null variable
55 gestureDetector!!.onTouchEvent(ev) in onInputEvent()
61 gestureDetector = GestureDetector(context, gestureListener) in startGestureListening()
67 gestureDetector = null in stopGestureListening()
DGesturePointerEventListener.kt47 constructor(context: Context, gestureDetector: GesturePointerEventDetector) : CoreStartable { in <lambda>()
75 mGestureDetector = checkNull("gesture detector", gestureDetector) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DInputSession.java64 GestureDetector gestureDetector, in InputSession() argument
70 mGestureDetector = gestureDetector; in InputSession()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DScreenshotShelfView.kt54 private val gestureDetector = in <lambda>() constant
84 gestureDetector.setIsLongpressEnabled(false) in <lambda>()
224 return gestureDetector.onTouchEvent(ev) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaCarouselScrollHandler.kt92 private val gestureDetector: GestureDetectorCompat constant in com.android.systemui.media.controls.ui.view.MediaCarouselScrollHandler
199 gestureDetector = GestureDetectorCompat(scrollView.context, gestureListener)
273 if (gestureDetector.onTouchEvent(motionEvent)) { in onTouch()
347 return gestureDetector.onTouchEvent(motionEvent) in onInterceptTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DToggleRangeBehavior.kt73 val gestureDetector = GestureDetector(context, gestureListener) in <lambda>() constant
75 if (gestureDetector.onTouchEvent(e)) { in <lambda>()