Searched defs:mGestureDetector (Results 1 - 21 of 21) sorted by relevance

/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DFixedAspectSurfaceView.java46 private GestureDetector mGestureDetector; field in class:FixedAspectSurfaceView
79 mGestureDetector = null;
81 mGestureDetector = new GestureDetector(context, listener);
152 if (mGestureDetector != null) {
153 return mGestureDetector.onTouchEvent(event);
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DFixedAspectSurfaceView.java46 private GestureDetector mGestureDetector; field in class:FixedAspectSurfaceView
79 mGestureDetector = null;
81 mGestureDetector = new GestureDetector(context, listener);
152 if (mGestureDetector != null) {
153 return mGestureDetector.onTouchEvent(event);
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DNotificationShadeActivity.java40 private GestureDetector mGestureDetector; field in class:NotificationShadeActivity.FakeNotificationStackView
97 mGestureDetector = new GestureDetector(getContext(), mGestureListener);
152 return mGestureDetector.onTouchEvent(ev);
/frameworks/base/core/java/android/view/
H A DScaleGestureDetector.java166 private GestureDetector mGestureDetector; field in class:ScaleGestureDetector
238 mGestureDetector.onTouchEvent(event);
398 if (mQuickScaleEnabled && mGestureDetector == null) {
410 mGestureDetector = new GestureDetector(mContext, gestureListener, mHandler);
/frameworks/support/wear/src/android/support/wear/widget/drawer/
H A DWearableNavigationDrawerView.java113 @Nullable private final GestureDetector mGestureDetector; field in class:WearableNavigationDrawerView
138 mGestureDetector = new GestureDetector(getContext(), mOnGestureListener);
212 return mGestureDetector != null && mGestureDetector.onTouchEvent(ev);
/frameworks/base/core/java/com/android/internal/widget/
H A DDecorCaptionView.java102 private GestureDetector mGestureDetector; field in class:DecorCaptionView
124 mGestureDetector = new GestureDetector(context, this);
170 mGestureDetector.onTouchEvent(event);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityGestureDetector.java148 protected GestureDetector mGestureDetector; // Double-tap detector. Visible for test. field in class:AccessibilityGestureDetector
253 if (mGestureDetector == null) {
254 mGestureDetector = new GestureDetector(mContext, this);
255 mGestureDetector.setOnDoubleTapListener(this);
379 boolean handled = mGestureDetector.onTouchEvent(newEvent);
389 return mGestureDetector.onTouchEvent(event);
397 mGestureDetector.onTouchEvent(MotionEvent.obtain(0L, 0L, MotionEvent.ACTION_CANCEL,
H A DMagnificationGestureHandler.java393 private final GestureDetector mGestureDetector; field in class:MagnificationGestureHandler.MagnifiedContentInteractionStateHandler
409 mGestureDetector = new GestureDetector(context, this);
415 mGestureDetector.onTouchEvent(event);
H A DTouchExplorer.java128 private final AccessibilityGestureDetector mGestureDetector; field in class:TouchExplorer
190 mGestureDetector = new AccessibilityGestureDetector(context, this);
249 mGestureDetector.clear();
285 if (mGestureDetector.onMotionEvent(rawEvent, policyFlags)) {
528 if (!mGestureDetector.firstTapDetected() && !mTouchExplorationInProgress) {
/frameworks/base/services/core/java/com/android/server/display/
H A DOverlayDisplayWindow.java84 private GestureDetector mGestureDetector; field in class:OverlayDisplayWindow
234 mGestureDetector = new GestureDetector(mContext, mOnGestureListener);
349 mGestureDetector.onTouchEvent(event);
/frameworks/base/services/core/java/com/android/server/policy/
H A DSystemGesturesPointerEventListener.java57 private GestureDetector mGestureDetector; field in class:SystemGesturesPointerEventListener
87 mGestureDetector = new GestureDetector(mContext, new FlingGestureDetector(), h);
93 if (mGestureDetector != null && event.isTouchEvent()) {
94 mGestureDetector.onTouchEvent(event);
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DOverlayDisplayWindow.java207 private GestureDetector mGestureDetector; field in class:OverlayDisplayWindow.JellybeanMr1Impl
328 mGestureDetector = new GestureDetector(mContext, mOnGestureListener);
454 mGestureDetector.onTouchEvent(event);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DOverlayDisplayWindow.java207 private GestureDetector mGestureDetector; field in class:OverlayDisplayWindow.JellybeanMr1Impl
328 mGestureDetector = new GestureDetector(mContext, mOnGestureListener);
454 mGestureDetector.onTouchEvent(event);
/frameworks/base/core/java/android/widget/
H A DGallery.java106 private GestureDetector mGestureDetector; field in class:Gallery
241 if (mGestureDetector == null) {
242 mGestureDetector = new GestureDetector(getContext(), this);
243 mGestureDetector.setIsLongpressEnabled(true);
969 boolean retValue = mGestureDetector.onTouchEvent(event);
H A DCalendarViewLegacyDelegate.java1019 private GestureDetector mGestureDetector; field in class:CalendarViewLegacyDelegate.WeeksAdapter
1029 mGestureDetector = new GestureDetector(mContext, new WeeksAdapter.CalendarGestureListener());
1121 if (mListView.isEnabled() && mGestureDetector.onTouchEvent(event)) {
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java204 private GestureDetector mGestureDetector; field in class:KeyboardView
395 if (mGestureDetector == null) {
396 mGestureDetector = new GestureDetector(getContext(), new GestureDetector.SimpleOnGestureListener() {
448 mGestureDetector.setIsLongpressEnabled(false);
1238 if (mGestureDetector.onTouchEvent(me)) {
/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java295 GestureDetector mGestureDetector; field in class:ItemTouchHelper
300 mGestureDetector.onTouchEvent(event);
345 mGestureDetector.onTouchEvent(event);
493 if (mGestureDetector != null) {
496 mGestureDetector = new GestureDetector(mRecyclerView.getContext(),
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDividerView.java157 private GestureDetector mGestureDetector; field in class:DividerView
299 mGestureDetector = new GestureDetector(mContext, new SimpleOnGestureListener() {
482 mGestureDetector.onTouchEvent(event);
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java130 private GestureDetectorCompat mGestureDetector; field in class:PhotoView
211 if (mScaleGetureDetector == null || mGestureDetector == null) {
217 mGestureDetector.onTouchEvent(event);
473 mGestureDetector = null;
1148 mGestureDetector = new GestureDetectorCompat(context, this, null);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java293 GestureDetectorCompat mGestureDetector; field in class:ItemTouchHelper
298 mGestureDetector.onTouchEvent(event);
343 mGestureDetector.onTouchEvent(event);
491 if (mGestureDetector != null) {
494 mGestureDetector = new GestureDetectorCompat(mRecyclerView.getContext(),
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java206 private GestureDetector mGestureDetector; field in class:RecipientEditTextView
374 mGestureDetector = new GestureDetector(context, this);
1951 mGestureDetector.onTouchEvent(event);
1982 mGestureDetector.onTouchEvent(event);

Completed in 1126 milliseconds