Home
last modified time | relevance | path

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

/frameworks/rs/java/tests/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/base/services/core/java/com/android/server/wm/
DTaskTapPointerEventListener.java45 private GestureDetector mGestureDetector; field in TaskTapPointerEventListener
58 mGestureDetector = new GestureDetector( in init()
139 if (mGestureDetector == null || mNonResizeableRegion.isEmpty()) { in doGestureDetection()
154 mGestureDetector.onTouchEvent(motionEvent); in doGestureDetection()
158 mGestureDetector.onTouchEvent(cancelEvent); in doGestureDetection()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityGestureDetector.java105 private final GestureDetector mGestureDetector; field in AccessibilityGestureDetector
183 mGestureDetector = new GestureDetector(context, this); in AccessibilityGestureDetector()
184 mGestureDetector.setOnDoubleTapListener(this); in AccessibilityGestureDetector()
326 boolean handled = mGestureDetector.onTouchEvent(newEvent); in onMotionEvent()
336 return mGestureDetector.onTouchEvent(event); in onMotionEvent()
DTouchExplorer.java127 private final AccessibilityGestureDetector mGestureDetector; field in TouchExplorer
189 mGestureDetector = new AccessibilityGestureDetector(context, this); in TouchExplorer()
248 mGestureDetector.clear(); in clear()
284 if (mGestureDetector.onMotionEvent(rawEvent, policyFlags)) { in onMotionEvent()
520 if (!mGestureDetector.firstTapDetected() && !mTouchExplorationInProgress) { in handleMotionEventStateTouchExploring()
DMagnificationGestureHandler.java337 private final GestureDetector mGestureDetector; field in MagnificationGestureHandler.MagnifiedContentInteractionStateHandler
353 mGestureDetector = new GestureDetector(context, this); in MagnifiedContentInteractionStateHandler()
359 mGestureDetector.onTouchEvent(event); in onMotionEvent()
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java167 private GestureDetector mGestureDetector; field in ScaleGestureDetector
239 mGestureDetector.onTouchEvent(event); in onTouchEvent()
399 if (mQuickScaleEnabled && mGestureDetector == null) { in setQuickScaleEnabled()
411 mGestureDetector = new GestureDetector(mContext, gestureListener, mHandler); in setQuickScaleEnabled()
/frameworks/base/services/core/java/com/android/server/policy/
DSystemGesturesPointerEventListener.java56 private GestureDetector mGestureDetector; field in SystemGesturesPointerEventListener
86 mGestureDetector = new GestureDetector(mContext, new FlingGestureDetector(), h); in systemReady()
92 if (mGestureDetector != null && event.isTouchEvent()) { in onPointerEvent()
93 mGestureDetector.onTouchEvent(event); in onPointerEvent()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java105 private GestureDetector mGestureDetector; field in DecorCaptionView
127 mGestureDetector = new GestureDetector(context, this); in init()
173 mGestureDetector.onTouchEvent(event); in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java83 private GestureDetector mGestureDetector; field in OverlayDisplayWindow
231 mGestureDetector = new GestureDetector(mContext, mOnGestureListener); in createWindow()
346 mGestureDetector.onTouchEvent(event);
/frameworks/base/core/java/android/widget/
DGallery.java106 private GestureDetector mGestureDetector; field in Gallery
241 if (mGestureDetector == null) { in onAttachedToWindow()
242 mGestureDetector = new GestureDetector(getContext(), this); in onAttachedToWindow()
243 mGestureDetector.setIsLongpressEnabled(true); in onAttachedToWindow()
969 boolean retValue = mGestureDetector.onTouchEvent(event); in onTouchEvent()
DCalendarViewLegacyDelegate.java995 private GestureDetector mGestureDetector; field in CalendarViewLegacyDelegate.WeeksAdapter
1005mGestureDetector = new GestureDetector(mContext, new WeeksAdapter.CalendarGestureListener()); in WeeksAdapter()
1097 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/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java300 private GestureDetectorCompat mGestureDetector; field in ItemTouchHelper
306 mGestureDetector.onTouchEvent(event);
351 mGestureDetector.onTouchEvent(event);
500 if (mGestureDetector != null) { in initGestureDetector()
503 mGestureDetector = new GestureDetectorCompat(mRecyclerView.getContext(), in initGestureDetector()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java204 private GestureDetector mGestureDetector; field in KeyboardView
395 if (mGestureDetector == null) { in initGestureDetector()
396mGestureDetector = new GestureDetector(getContext(), new GestureDetector.SimpleOnGestureListener()… in initGestureDetector()
448 mGestureDetector.setIsLongpressEnabled(false); in initGestureDetector()
1256 if (mGestureDetector.onTouchEvent(me)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java149 private GestureDetector mGestureDetector; field in DividerView
272 mGestureDetector = new GestureDetector(mContext, new SimpleOnGestureListener() { in onFinishInflate()
424 mGestureDetector.onTouchEvent(event); in onTouch()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java154 private ListeningGestureDetector mGestureDetector; field in DirectoryFragment
253 mGestureDetector = in onActivityCreated()
256 mRecView.addOnItemTouchListener(mGestureDetector); in onActivityCreated()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java198 private GestureDetector mGestureDetector; field in RecipientEditTextView
335 mGestureDetector = new GestureDetector(context, this); in RecipientEditTextView()
1772 mGestureDetector.onTouchEvent(event); in onTouchEvent()
/frameworks/base/docs/html/training/gestures/
Dscale.jd346 retVal = mGestureDetector.onTouchEvent(event) || retVal;