/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | MagnificationGestureDetectorTest.java | 54 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/ |
D | CaptionsToggleImageButton.java | 37 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/ |
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()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
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()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | TouchExplorer.java | 144 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/ |
D | InputSessionTest.java | 60 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/ |
D | InputSession.java | 43 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/ |
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()
|
/frameworks/base/core/java/android/view/ |
D | ScaleGestureDetector.java | 171 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()
|
D | ViewRootImpl.java | 8724 private final GestureDetector mGestureDetector; 8733 mGestureDetector = new GestureDetector(mContext, 8794 mGestureDetector.onTouchEvent(event);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | DraggableConstraintLayout.java | 213 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/ |
D | GesturePointerEventListener.kt | 50 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/ |
D | SystemGesturesPointerEventListener.java | 82 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/ |
D | OverlayDisplayWindow.java | 87 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/ |
D | MagnificationModeSwitch.java | 89 private final MagnificationGestureDetector mGestureDetector; field in MagnificationModeSwitch 190 mGestureDetector = new MagnificationGestureDetector(context, in MagnificationModeSwitch() 218 return mGestureDetector.onTouch(v, event); in onTouch()
|
D | WindowMagnificationSettings.java | 88 private final MagnificationGestureDetector mGestureDetector; field in WindowMagnificationSettings 155 mGestureDetector = new MagnificationGestureDetector(context, in WindowMagnificationSettings() 250 return mGestureDetector.onTouch(v, event); in onTouch()
|
D | WindowMagnificationController.java | 220 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/ |
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()
|
D | CalendarViewLegacyDelegate.java | 1017 private GestureDetector mGestureDetector; field in CalendarViewLegacyDelegate.WeeksAdapter 1027 … mGestureDetector = 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/ |
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()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 211 private GestureDetector mGestureDetector; field in KeyboardView 405 if (mGestureDetector == null) { in initGestureDetector() 406 …mGestureDetector = 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/ |
D | ItemTouchHelper.java | 295 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/ |
D | DesktopModeWindowDecorViewModel.java | 393 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/ |
D | GlobalActionsDialogLite.java | 2286 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/ |
D | RecipientEditTextView.java | 206 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()
|