Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
H A DMagnificationGestureDetectorTest.java82 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()
127 mGestureDetector.onTouch(downEvent); in performSingleTapWithTwoPointers_notInvokeSingleTapCallback()
128 mGestureDetector.onTouch(upEvent); in performSingleTapWithTwoPointers_notInvokeSingleTapCallback()
141 mGestureDetector.onTouch(downEvent); in performLongPress_invokeCallbacksInOrder()
144 mGestureDetector.onTouch(upEvent); in performLongPress_invokeCallbacksInOrder()
163 mGestureDetector.onTouch(downEvent); in performDrag_invokeCallbacksInOrder()
164 mGestureDetector.onTouch(moveEvent); in performDrag_invokeCallbacksInOrder()
[all …]
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
H A DTouchExplorer.java139 private final GestureManifold mGestureDetector; field in TouchExplorer
207 mGestureDetector = detector; in TouchExplorer()
250 mGestureDetector.clear(); in clear()
393 mGestureDetector.getMotionEvents()); in onDoubleTap()
477 mGestureDetector.getMotionEvents()); in onGestureCancelled()
859 if (mGestureDetector.isMultiFingerGesturesEnabled() in handleMotionEventStateDragging()
1186 mGestureDetector.setServiceHandlesDoubleTap(mode); in setServiceHandlesDoubleTap()
1194 mGestureDetector.setMultiFingerGesturesEnabled(enabled); in setMultiFingerGesturesEnabled()
1202 mGestureDetector.setTwoFingerPassthroughEnabled(enabled); in setTwoFingerPassthroughEnabled()
1217 mGestureDetector.setSendMotionEventsEnabled(mode); in setSendMotionEventsEnabled()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DCaptionsToggleImageButton.java40 private GestureDetector mGestureDetector; field in CaptionsToggleImageButton
57 if (mGestureDetector != null) mGestureDetector.onTouchEvent(event); in onTouchEvent()
111 if (mGestureDetector == null) { in setOnConfirmedTapListener()
112 this.mGestureDetector = new GestureDetector(getContext(), mGestureListener, handler); in setOnConfirmedTapListener()
/aosp12/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A 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()
/aosp12/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A 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()
/aosp12/packages/apps/Camera2/src/com/android/camera/
H A DShutterButton.java44 private final GestureDetector mGestureDetector; field in ShutterButton
83 mGestureDetector = new GestureDetector(context, new LongPressGestureListener()); in ShutterButton()
84 mGestureDetector.setIsLongpressEnabled(true); in ShutterButton()
116 mGestureDetector.onTouchEvent(m); in dispatchTouchEvent()
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/
H A DFilmstripGestureRecognizer.java48 private final GestureDetector mGestureDetector; field in FilmstripGestureRecognizer
54 mGestureDetector = new GestureDetector(context, new MyGestureListener(), in FilmstripGestureRecognizer()
56 mGestureDetector.setOnDoubleTapListener(new MyDoubleTapListener()); in FilmstripGestureRecognizer()
62 final boolean gestureProcessed = mGestureDetector.onTouchEvent(event); in onTouchEvent()
H A DPreviewOverlay.java66 private GestureDetector mGestureDetector = null; field in PreviewOverlay
179 if (mGestureDetector != null) { in onTouchEvent()
180 mGestureDetector.onTouchEvent(m); in onTouchEvent()
221 mGestureDetector = new GestureDetector(getContext(), gestureListener); in setGestureListener()
238 mGestureDetector = null; in reset()
H A DModeTransitionView.java66 private final GestureDetector mGestureDetector; field in ModeTransitionView
94 mGestureDetector = new GestureDetector(getContext(), in ModeTransitionView()
301 boolean touchHandled = mGestureDetector.onTouchEvent(ev); in onTouchEvent()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
H A DEmojiPageKeyboardView.java58 private final GestureDetector mGestureDetector; field in EmojiPageKeyboardView
68 mGestureDetector = new GestureDetector(context, this); in EmojiPageKeyboardView()
69 mGestureDetector.setIsLongpressEnabled(false /* isLongpressEnabled */); in EmojiPageKeyboardView()
119 if (mGestureDetector.onTouchEvent(e)) { in onTouchEvent()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGestureRecognizer.java43 private final GestureDetector mGestureDetector; field in GestureRecognizer
50 mGestureDetector = new GestureDetector(context, new MyGestureListener(), in GestureRecognizer()
58 mGestureDetector.onTouchEvent(event); in onTouchEvent()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStatePanelTrack.java52 private GestureDetector mGestureDetector; field in StatePanelTrack
105 mGestureDetector = new GestureDetector(context, simpleOnGestureListener); in StatePanelTrack()
209 mGestureDetector.onTouchEvent(cancelEvent); in onTouch()
212 mGestureDetector.onTouchEvent(event); in onTouch()
232 mGestureDetector.onTouchEvent(event); in onTouchEvent()
/aosp12/frameworks/base/core/java/android/view/
H A DScaleGestureDetector.java169 private GestureDetector mGestureDetector; field in ScaleGestureDetector
240 mGestureDetector.onTouchEvent(event); in onTouchEvent()
400 if (mQuickScaleEnabled && mGestureDetector == null) { in setQuickScaleEnabled()
412 mGestureDetector = new GestureDetector(mContext, gestureListener, mHandler); in setQuickScaleEnabled()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/touch/
H A DWorkspaceTouchListener.java70 private final GestureDetector mGestureDetector; field in WorkspaceTouchListener
78 mGestureDetector = new GestureDetector(workspace.getContext(), this); in WorkspaceTouchListener()
83 mGestureDetector.onTouchEvent(ev); in onTouch()
/aosp12/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DNotificationShadeActivity.java40 private GestureDetector mGestureDetector; field in NotificationShadeActivity.FakeNotificationStackView
97 mGestureDetector = new GestureDetector(getContext(), mGestureListener); in FakeNotificationStackView()
152 return mGestureDetector.onTouchEvent(ev); in onTouchEvent()
/aosp12/packages/apps/Calendar/src/com/android/calendar/month/
H A DSimpleWeeksAdapter.java95 protected GestureDetector mGestureDetector; field in SimpleWeeksAdapter
121 mGestureDetector = new GestureDetector(mContext, new CalendarGestureListener()); in init()
259 if (mGestureDetector.onTouchEvent(event)) { in onTouch()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A 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()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DDecorCaptionView.java96 private GestureDetector mGestureDetector; field in DecorCaptionView
119 mGestureDetector = new GestureDetector(context, this); in init()
163 mGestureDetector.onTouchEvent(event); in onTouchEvent()
/aosp12/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoCarousel.java48 private final GestureDetector mGestureDetector; field in PhotoCarousel
111 mGestureDetector = new GestureDetector(context, in PhotoCarousel()
296 mGestureDetector.onTouchEvent(event); in onTouchEvent()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
H A DAssistantInputConsumer.java89 private final Consumer<MotionEvent> mGestureDetector; field in AssistantInputConsumer
113 mGestureDetector = flingDisabled in AssistantInputConsumer()
220 mGestureDetector.accept(ev); in onMotionEvent()
/aosp12/frameworks/base/services/core/java/com/android/server/display/
H A DOverlayDisplayWindow.java84 private GestureDetector mGestureDetector; field in OverlayDisplayWindow
235 mGestureDetector = new GestureDetector(mContext, mOnGestureListener); in createWindow()
350 mGestureDetector.onTouchEvent(event);
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DMagnificationModeSwitch.java81 private final MagnificationGestureDetector mGestureDetector; field in MagnificationModeSwitch
171 mGestureDetector = new MagnificationGestureDetector(context, in MagnificationModeSwitch()
199 return mGestureDetector.onTouch(event); in onTouch()
/aosp12/frameworks/base/core/java/android/widget/
H A 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()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationShadeWindowViewController.java94 private GestureDetector mGestureDetector; field in NotificationShadeWindowViewController
224 mGestureDetector = new GestureDetector(mView.getContext(), gestureListener); in setupExpandedStatusBar()
262 mGestureDetector.onTouchEvent(ev); in setupExpandedStatusBar()
/aosp12/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A 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()

12