/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
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()
|
/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/ |
D | AccessibilityGestureDetector.java | 148 private final GestureDetector mGestureDetector; // Double-tap detector. field in AccessibilityGestureDetector 242 mGestureDetector = new GestureDetector(context, this); in AccessibilityGestureDetector() 244 mGestureDetector = detector; in AccessibilityGestureDetector() 246 mGestureDetector.setOnDoubleTapListener(this); in AccessibilityGestureDetector() 394 boolean handled = mGestureDetector.onTouchEvent(newEvent); in onMotionEvent() 404 return mGestureDetector.onTouchEvent(event); in onMotionEvent() 412 mGestureDetector.onTouchEvent(MotionEvent.obtain(0L, 0L, MotionEvent.ACTION_CANCEL, in clear()
|
D | TouchExplorer.java | 129 private final AccessibilityGestureDetector mGestureDetector; field in TouchExplorer 204 mGestureDetector = new AccessibilityGestureDetector(context, this); in TouchExplorer() 206 mGestureDetector = detector; in TouchExplorer() 264 mGestureDetector.clear(); in clear() 290 if (mGestureDetector.onMotionEvent(event, rawEvent, policyFlags)) { in onMotionEvent() 522 if (!mGestureDetector.firstTapDetected()) { in handleMotionEventStateTouchExploring() 531 if (!mGestureDetector.firstTapDetected() && !mTouchExplorationInProgress) { in handleMotionEventStateTouchExploring()
|
/frameworks/base/core/java/android/view/ |
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()
|
/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/services/core/java/com/android/server/wm/ |
D | SystemGesturesPointerEventListener.java | 63 private GestureDetector mGestureDetector; field in SystemGesturesPointerEventListener 120 mHandler.post(() -> mGestureDetector = in systemReady() 126 if (mGestureDetector != null && event.isTouchEvent()) { in onPointerEvent() 127 mGestureDetector.onTouchEvent(event); in onPointerEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DecorCaptionView.java | 102 private GestureDetector mGestureDetector; field in DecorCaptionView 125 mGestureDetector = new GestureDetector(context, this); in init() 172 mGestureDetector.onTouchEvent(event); in onTouchEvent()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 84 private GestureDetector mGestureDetector; field in OverlayDisplayWindow 234 mGestureDetector = new GestureDetector(mContext, mOnGestureListener); in createWindow() 349 mGestureDetector.onTouchEvent(event);
|
/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() 985 boolean retValue = mGestureDetector.onTouchEvent(event); in onTouchEvent()
|
D | CalendarViewLegacyDelegate.java | 1019 private GestureDetector mGestureDetector; field in CalendarViewLegacyDelegate.WeeksAdapter 1029 … mGestureDetector = new GestureDetector(mContext, new WeeksAdapter.CalendarGestureListener()); in WeeksAdapter() 1121 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowView.java | 84 private final GestureDetector mGestureDetector; field in StatusBarWindowView 159 mGestureDetector = new GestureDetector(context, mGestureListener); in StatusBarWindowView() 379 mGestureDetector.onTouchEvent(ev); in dispatchTouchEvent()
|
/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/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 206 private GestureDetector mGestureDetector; field in RecipientEditTextView 374 mGestureDetector = new GestureDetector(context, this); in RecipientEditTextView() 1951 mGestureDetector.onTouchEvent(event); in onTouchEvent() 1982 mGestureDetector.onTouchEvent(event); in onTouchEvent()
|