Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
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()
/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/
DAccessibilityGestureDetector.java148 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()
DTouchExplorer.java129 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/
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()
/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.java63 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/
DDecorCaptionView.java102 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/
DOverlayDisplayWindow.java84 private GestureDetector mGestureDetector; field in OverlayDisplayWindow
234 mGestureDetector = new GestureDetector(mContext, mOnGestureListener); in createWindow()
349 mGestureDetector.onTouchEvent(event);
/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()
985 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java82 private final GestureDetector mGestureDetector; field in StatusBarWindowView
159 mGestureDetector = new GestureDetector(context, mGestureListener); in StatusBarWindowView()
387 mGestureDetector.onTouchEvent(ev); in dispatchTouchEvent()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java211 private GestureDetector mGestureDetector; field in KeyboardView
403 if (mGestureDetector == null) { in initGestureDetector()
404mGestureDetector = new GestureDetector(getContext(), new GestureDetector.SimpleOnGestureListener()… in initGestureDetector()
456 mGestureDetector.setIsLongpressEnabled(false); in initGestureDetector()
1250 if (mGestureDetector.onTouchEvent(me)) {
/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/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/config/
Dhiddenapi-greylist-max-o.txt32823 Landroid/inputmethodservice/KeyboardView;->mGestureDetector:Landroid/view/GestureDetector;
76323 Landroid/view/ScaleGestureDetector;->mGestureDetector:Landroid/view/GestureDetector;