/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
H A D | MagnificationGestureDetectorTest.java | 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() 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 D | TouchExplorer.java | 139 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 D | CaptionsToggleImageButton.java | 40 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 D | FixedAspectSurfaceView.java | 46 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 D | FixedAspectSurfaceView.java | 46 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 D | ShutterButton.java | 44 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 D | FilmstripGestureRecognizer.java | 48 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 D | PreviewOverlay.java | 66 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 D | ModeTransitionView.java | 66 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 D | EmojiPageKeyboardView.java | 58 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 D | GestureRecognizer.java | 43 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 D | StatePanelTrack.java | 52 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 D | ScaleGestureDetector.java | 169 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 D | WorkspaceTouchListener.java | 70 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 D | NotificationShadeActivity.java | 40 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 D | SimpleWeeksAdapter.java | 95 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 D | SystemGesturesPointerEventListener.java | 74 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 D | DecorCaptionView.java | 96 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 D | PhotoCarousel.java | 48 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 D | AssistantInputConsumer.java | 89 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 D | OverlayDisplayWindow.java | 84 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 D | MagnificationModeSwitch.java | 81 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 D | Gallery.java | 110 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 D | NotificationShadeWindowViewController.java | 94 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 D | PhotoView.java | 130 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()
|