Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMagnificationGestureDetectorTest.java53 private MagnificationGestureDetector mGestureDetector; field in MagnificationGestureDetectorTest
68 mGestureDetector = new MagnificationGestureDetector(mContext, mHandler, mListener); in setUp()
82 mGestureDetector.onTouch(downEvent); in onActionDown_invokeDownCallback()
95 mGestureDetector.onTouch(downEvent); in performSingleTap_invokeCallbacksInOrder()
96 mGestureDetector.onTouch(upEvent); in performSingleTap_invokeCallbacksInOrder()
113 mGestureDetector.onTouch(downEvent); in performSingleTapWithActionCancel_notInvokeOnSingleTapCallback()
114 mGestureDetector.onTouch(cancelEvent); in performSingleTapWithActionCancel_notInvokeOnSingleTapCallback()
127 mGestureDetector.onTouch(downEvent); in performSingleTapWithTwoPointers_notInvokeSingleTapCallback()
128 mGestureDetector.onTouch(upEvent); in performSingleTapWithTwoPointers_notInvokeSingleTapCallback()
141 mGestureDetector.onTouch(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.java140 private final GestureManifold mGestureDetector; field in TouchExplorer
208 mGestureDetector = new GestureManifold(context, this, mState, mHandler); in TouchExplorer()
210 mGestureDetector = detector; in TouchExplorer()
253 mGestureDetector.clear(); in clear()
286 if (mGestureDetector.onMotionEvent(event, rawEvent, policyFlags)) { in onMotionEvent()
378 mGestureDetector.getMotionEvents()); in onDoubleTapAndHold()
400 mGestureDetector.getMotionEvents()); in onDoubleTap()
508 mGestureDetector.getMotionEvents()); in onGestureCancelled()
699 if (mGestureDetector.isMultiFingerGesturesEnabled() in handleActionMoveStateTouchInteracting()
700 && !mGestureDetector.isTwoFingerPassthroughEnabled()) { in handleActionMoveStateTouchInteracting()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/
DInputSession.java43 private final GestureDetector mGestureDetector; field in InputSession
61 mGestureDetector = new GestureDetector(gestureListener); in InputSession()
71 && mGestureDetector.onTouchEvent((MotionEvent) ev) in InputSession()
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java171 private GestureDetector mGestureDetector; field in ScaleGestureDetector
243 mGestureDetector.onTouchEvent(event); in onTouchEvent()
403 if (mQuickScaleEnabled && mGestureDetector == null) { in setQuickScaleEnabled()
415 mGestureDetector = new GestureDetector(mContext, gestureListener, mHandler); in setQuickScaleEnabled()
/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/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java74 private GestureDetector mGestureDetector; field in SystemGesturesPointerEventListener
161 mGestureDetector = new GestureDetector(mContext, new FlingGestureDetector(), mHandler) { in systemReady()
168 if (mGestureDetector != null && event.isTouchEvent()) { in onPointerEvent()
169 mGestureDetector.onTouchEvent(event); in onPointerEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DDraggableConstraintLayout.java207 private final GestureDetector mGestureDetector; field in DraggableConstraintLayout.SwipeDismissHandler
220 mGestureDetector = new GestureDetector(context, gestureListener); in SwipeDismissHandler()
227 boolean gestureResult = mGestureDetector.onTouchEvent(event); in onTouch()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java96 private GestureDetector mGestureDetector; field in DecorCaptionView
119 mGestureDetector = new GestureDetector(context, this); in init()
163 mGestureDetector.onTouchEvent(event); in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java84 private GestureDetector mGestureDetector; field in OverlayDisplayWindow
235 mGestureDetector = new GestureDetector(mContext, mOnGestureListener); in createWindow()
350 mGestureDetector.onTouchEvent(event);
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMagnificationModeSwitch.java85 private final MagnificationGestureDetector mGestureDetector; field in MagnificationModeSwitch
188 mGestureDetector = new MagnificationGestureDetector(context, in MagnificationModeSwitch()
216 return mGestureDetector.onTouch(event); in onTouch()
DWindowMagnificationController.java175 private final MagnificationGestureDetector mGestureDetector; field in WindowMagnificationController
225 mGestureDetector = in WindowMagnificationController()
738 return mGestureDetector.onTouch(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/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/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/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java2183 private GestureDetector mGestureDetector;
2275 mGestureDetector = new GestureDetector(mContext, mGestureListener);
2313 return mGestureDetector.onTouchEvent(event) || super.onTouchEvent(event);
2379 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()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22694 Landroid/inputmethodservice/KeyboardView;->mGestureDetector:Landroid/view/GestureDetector;
61894 Landroid/view/ScaleGestureDetector;->mGestureDetector:Landroid/view/GestureDetector;