Home
last modified time | relevance | path

Searched refs:mGestureDetector (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMagnificationGestureDetectorTest.java54 private MagnificationGestureDetector mGestureDetector; field in MagnificationGestureDetectorTest
70 mGestureDetector = new MagnificationGestureDetector(mContext, mHandler, mListener); in setUp()
85 mGestureDetector.onTouch(mSpyView, downEvent); in onActionDown_invokeDownCallback()
98 mGestureDetector.onTouch(mSpyView, downEvent); in performSingleTap_invokeCallbacksInOrder()
99 mGestureDetector.onTouch(mSpyView, upEvent); in performSingleTap_invokeCallbacksInOrder()
116 mGestureDetector.onTouch(mSpyView, downEvent); in performSingleTapWithActionCancel_notInvokeOnSingleTapCallback()
117 mGestureDetector.onTouch(mSpyView, cancelEvent); in performSingleTapWithActionCancel_notInvokeOnSingleTapCallback()
130 mGestureDetector.onTouch(mSpyView, downEvent); in performSingleTapWithTwoPointers_notInvokeSingleTapCallback()
131 mGestureDetector.onTouch(mSpyView, upEvent); in performSingleTapWithTwoPointers_notInvokeSingleTapCallback()
144 mGestureDetector.onTouch(mSpyView, downEvent); in performLongPress_invokeCallbacksInOrder()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DCaptionsToggleImageButton.java37 private GestureDetector mGestureDetector; field in CaptionsToggleImageButton
54 if (mGestureDetector != null) mGestureDetector.onTouchEvent(event); in onTouchEvent()
94 if (mGestureDetector == null) { in setOnConfirmedTapListener()
95 this.mGestureDetector = new GestureDetector(getContext(), mGestureListener, handler); in setOnConfirmedTapListener()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DFixedAspectSurfaceView.java46 private GestureDetector mGestureDetector; field in FixedAspectSurfaceView
79 mGestureDetector = null; in setGestureListener()
81 mGestureDetector = new GestureDetector(context, listener); in setGestureListener()
152 if (mGestureDetector != null) { in onTouchEvent()
153 return mGestureDetector.onTouchEvent(event); in onTouchEvent()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DFixedAspectSurfaceView.java46 private GestureDetector mGestureDetector; field in FixedAspectSurfaceView
79 mGestureDetector = null; in setGestureListener()
81 mGestureDetector = new GestureDetector(context, listener); in setGestureListener()
152 if (mGestureDetector != null) { in onTouchEvent()
153 return mGestureDetector.onTouchEvent(event); in onTouchEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DTouchExplorer.java144 private final GestureManifold mGestureDetector; field in TouchExplorer
212 mGestureDetector = new GestureManifold(context, this, mState, mHandler); in TouchExplorer()
214 mGestureDetector = detector; in TouchExplorer()
257 mGestureDetector.clear(); in clear()
290 if (mGestureDetector.onMotionEvent(event, rawEvent, policyFlags)) { in onMotionEvent()
400 mGestureDetector.getMotionEvents()); in onDoubleTapAndHold()
422 mGestureDetector.getMotionEvents()); in onDoubleTap()
530 mGestureDetector.getMotionEvents()); in onGestureCancelled()
721 if (mGestureDetector.isMultiFingerGesturesEnabled() in handleActionMoveStateTouchInteracting()
722 && !mGestureDetector.isTwoFingerPassthroughEnabled()) { in handleActionMoveStateTouchInteracting()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ambient/touch/
DInputSessionTest.java60 GestureDetector mGestureDetector; field in InputSessionTest
87 mSession = new InputSession(mInputMonitor, mGestureDetector, in createSession()
102 when(mGestureDetector.onTouchEvent(event)).thenReturn(true); in testPilferOnMotionEventGestureConsume()
115 when(mGestureDetector.onTouchEvent(event)).thenReturn(true); in testNoPilferOnMotionEventGestureConsume()
138 when(mGestureDetector.onTouchEvent(event)).thenReturn(true); in testPilferOnce()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DInputSession.java43 private final GestureDetector mGestureDetector; field in InputSession
70 mGestureDetector = gestureDetector; in InputSession()
79 && mGestureDetector.onTouchEvent((MotionEvent) ev) in InputSession()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNotificationShadeActivity.java40 private GestureDetector mGestureDetector; field in NotificationShadeActivity.FakeNotificationStackView
97 mGestureDetector = new GestureDetector(getContext(), mGestureListener); in FakeNotificationStackView()
152 return mGestureDetector.onTouchEvent(ev); in onTouchEvent()
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java171 private GestureDetector mGestureDetector; field in ScaleGestureDetector
264 mGestureDetector.onTouchEvent(event); in onTouchEvent()
424 if (mQuickScaleEnabled && mGestureDetector == null) { in setQuickScaleEnabled()
436 mGestureDetector = new GestureDetector(mContext, gestureListener, mHandler); in setQuickScaleEnabled()
DViewRootImpl.java8724 private final GestureDetector mGestureDetector;
8733 mGestureDetector = new GestureDetector(mContext,
8794 mGestureDetector.onTouchEvent(event);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DDraggableConstraintLayout.java213 private final GestureDetector mGestureDetector; field in DraggableConstraintLayout.SwipeDismissHandler
226 mGestureDetector = new GestureDetector(context, gestureListener); in SwipeDismissHandler()
233 boolean gestureResult = mGestureDetector.onTouchEvent(event); in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DGesturePointerEventListener.kt50 private var mGestureDetector: GesturePointerEventDetector in <lambda>() variable
75 mGestureDetector = checkNull("gesture detector", gestureDetector) in <lambda>()
83 mGestureDetector.addOnGestureDetectedCallback(TAG) { ev -> onInputEvent(ev) } in <lambda>()
84 mGestureDetector.startGestureListening() in <lambda>()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java82 private GestureDetector mGestureDetector; field in SystemGesturesPointerEventListener
173 mGestureDetector = new GestureDetector(mContext, new FlingGestureDetector(), mHandler) { in systemReady()
180 if (mGestureDetector != null && event.isTouchEvent()) { in onPointerEvent()
181 mGestureDetector.onTouchEvent(event); in onPointerEvent()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java87 private GestureDetector mGestureDetector; field in OverlayDisplayWindow
238 mGestureDetector = new GestureDetector(mContext, mOnGestureListener); in createWindow()
353 mGestureDetector.onTouchEvent(event);
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMagnificationModeSwitch.java89 private final MagnificationGestureDetector mGestureDetector; field in MagnificationModeSwitch
190 mGestureDetector = new MagnificationGestureDetector(context, in MagnificationModeSwitch()
218 return mGestureDetector.onTouch(v, event); in onTouch()
DWindowMagnificationSettings.java88 private final MagnificationGestureDetector mGestureDetector; field in WindowMagnificationSettings
155 mGestureDetector = new MagnificationGestureDetector(context, in WindowMagnificationSettings()
250 return mGestureDetector.onTouch(v, event); in onTouch()
DWindowMagnificationController.java220 private final MagnificationGestureDetector mGestureDetector; field in WindowMagnificationController
307 mGestureDetector = in WindowMagnificationController()
1183 return mGestureDetector.onTouch(v, event); in onTouch()
/frameworks/base/core/java/android/widget/
DGallery.java110 private GestureDetector mGestureDetector; field in Gallery
251 if (mGestureDetector == null) { in onAttachedToWindow()
252 mGestureDetector = new GestureDetector(getContext(), this); in onAttachedToWindow()
253 mGestureDetector.setIsLongpressEnabled(true); in onAttachedToWindow()
986 boolean retValue = mGestureDetector.onTouchEvent(event); in onTouchEvent()
DCalendarViewLegacyDelegate.java1017 private GestureDetector mGestureDetector; field in CalendarViewLegacyDelegate.WeeksAdapter
1027mGestureDetector = new GestureDetector(mContext, new WeeksAdapter.CalendarGestureListener()); in WeeksAdapter()
1119 if (mListView.isEnabled() && mGestureDetector.onTouchEvent(event)) { in onTouch()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java130 private GestureDetectorCompat mGestureDetector; field in PhotoView
211 if (mScaleGetureDetector == null || mGestureDetector == null) { in onTouchEvent()
217 mGestureDetector.onTouchEvent(event); in onTouchEvent()
473 mGestureDetector = null; in clear()
1148 mGestureDetector = new GestureDetectorCompat(context, this, null); in initialize()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java211 private GestureDetector mGestureDetector; field in KeyboardView
405 if (mGestureDetector == null) { in initGestureDetector()
406mGestureDetector = new GestureDetector(getContext(), new GestureDetector.SimpleOnGestureListener()… in initGestureDetector()
458 mGestureDetector.setIsLongpressEnabled(false); in initGestureDetector()
1252 if (mGestureDetector.onTouchEvent(me)) {
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java295 GestureDetector mGestureDetector; field in ItemTouchHelper
300 mGestureDetector.onTouchEvent(event);
345 mGestureDetector.onTouchEvent(event);
493 if (mGestureDetector != null) { in initGestureDetector()
496 mGestureDetector = new GestureDetector(mRecyclerView.getContext(), in initGestureDetector()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecorViewModel.java393 private final GestureDetector mGestureDetector; field in DesktopModeWindowDecorViewModel.DesktopModeTouchEventListener
415 mGestureDetector = new GestureDetector(mContext, this); in DesktopModeTouchEventListener()
631 if (mGestureDetector.onTouchEvent(e)) { in handleMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java2286 private GestureDetector mGestureDetector;
2389 mGestureDetector = new GestureDetector(mContext, mGestureListener);
2430 return mGestureDetector.onTouchEvent(event) || super.onTouchEvent(event);
2495 mGestureDetector.onTouchEvent(event);
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java206 private GestureDetector mGestureDetector; field in RecipientEditTextView
377 mGestureDetector = new GestureDetector(context, this); in RecipientEditTextView()
1954 mGestureDetector.onTouchEvent(event); in onTouchEvent()
1985 mGestureDetector.onTouchEvent(event); in onTouchEvent()

12