/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
H A D | FixedAspectSurfaceView.java | 46 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 D | FixedAspectSurfaceView.java | 46 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 D | NotificationShadeActivity.java | 40 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 D | ScaleGestureDetector.java | 166 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 D | WearableNavigationDrawerView.java | 113 @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 D | DecorCaptionView.java | 102 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 D | AccessibilityGestureDetector.java | 148 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 D | MagnificationGestureHandler.java | 393 private final GestureDetector mGestureDetector; field in class:MagnificationGestureHandler.MagnifiedContentInteractionStateHandler 409 mGestureDetector = new GestureDetector(context, this); 415 mGestureDetector.onTouchEvent(event);
|
H A D | TouchExplorer.java | 128 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 D | OverlayDisplayWindow.java | 84 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 D | SystemGesturesPointerEventListener.java | 57 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 D | OverlayDisplayWindow.java | 207 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 D | OverlayDisplayWindow.java | 207 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 D | Gallery.java | 106 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 D | CalendarViewLegacyDelegate.java | 1019 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 D | KeyboardView.java | 204 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 D | ItemTouchHelper.java | 295 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 D | DividerView.java | 157 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 D | PhotoView.java | 130 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 D | ItemTouchHelper.java | 293 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 D | RecipientEditTextView.java | 206 private GestureDetector mGestureDetector; field in class:RecipientEditTextView 374 mGestureDetector = new GestureDetector(context, this); 1951 mGestureDetector.onTouchEvent(event); 1982 mGestureDetector.onTouchEvent(event);
|