/cts/tests/tests/view/src/android/view/cts/ |
GestureDetectorTest.java | 28 private GestureDetector mGestureDetector; 40 mGestureDetector = mActivity.getGestureDetector(); 61 mGestureDetector = new GestureDetector(null); 69 mGestureDetector.setIsLongpressEnabled(true); 70 assertTrue(mGestureDetector.isLongpressEnabled()); 71 mGestureDetector.setIsLongpressEnabled(false); 72 assertFalse(mGestureDetector.isLongpressEnabled());
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
FilmStripGestureRecognizer.java | 42 private final GestureDetector mGestureDetector; 48 mGestureDetector = new GestureDetector(context, new MyGestureListener(), 50 mGestureDetector.setOnDoubleTapListener(new MyDoubleTapListener()); 56 mGestureDetector.onTouchEvent(event);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
ScrollKeyboardView.java | 53 private final GestureDetector mGestureDetector; 64 mGestureDetector = new GestureDetector(context, this); 65 mGestureDetector.setIsLongpressEnabled(false /* isLongpressEnabled */); 132 if (mGestureDetector.onTouchEvent(e)) { 211 // Long press detection of {@link #mGestureDetector} is disabled and not used.
|
/cts/tests/src/android/view/cts/ |
GestureDetectorStubActivity.java | 42 private GestureDetector mGestureDetector; 57 mGestureDetector = new GestureDetector(this, mOnGestureListener, mHandler); 58 mGestureDetector.setOnDoubleTapListener(mOnGestureListener); 86 return mGestureDetector; 137 mGestureDetector.onTouchEvent(event);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GestureRecognizer.java | 43 private final GestureDetector mGestureDetector; 50 mGestureDetector = new GestureDetector(context, new MyGestureListener(), 58 mGestureDetector.onTouchEvent(event);
|
/frameworks/base/core/java/android/view/ |
ScaleGestureDetector.java | 171 private GestureDetector mGestureDetector; 311 mGestureDetector.onTouchEvent(event); 464 if (mQuickScaleEnabled && mGestureDetector == null) { 475 mGestureDetector = new GestureDetector(mContext, gestureListener, mHandler);
|
/packages/apps/Calculator/src/com/android/calculator2/ |
PanelSwitcher.java | 33 private GestureDetector mGestureDetector; 57 mGestureDetector = new GestureDetector(context, new GestureDetector.SimpleOnGestureListener() { 126 mGestureDetector.onTouchEvent(event); 132 return mGestureDetector.onTouchEvent(event);
|
/packages/apps/Camera2/src/com/android/camera/ |
PreviewGestures.java | 56 private GestureDetector mGestureDetector; 109 mGestureDetector = new GestureDetector(mGestureListener); 149 mGestureDetector.onTouchEvent(m); 172 mGestureDetector.onTouchEvent(makeCancelEvent(mDown)); 191 mGestureDetector.onTouchEvent(makeCancelEvent(mCurrent));
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
PhoneFavoriteTileView.java | 75 protected GestureDetector mGestureDetector;
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
CandidateView.java | 65 private GestureDetector mGestureDetector; 98 mGestureDetector = new GestureDetector(new GestureDetector.SimpleOnGestureListener() { 264 if (mGestureDetector.onTouchEvent(me)) {
|
/frameworks/base/services/java/com/android/server/display/ |
OverlayDisplayWindow.java | 83 private GestureDetector mGestureDetector; 219 mGestureDetector = new GestureDetector(mContext, mOnGestureListener); 331 mGestureDetector.onTouchEvent(event);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleWeeksAdapter.java | 95 protected GestureDetector mGestureDetector; 121 mGestureDetector = new GestureDetector(mContext, new CalendarGestureListener()); 259 if (mGestureDetector.onTouchEvent(event)) {
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoCarousel.java | 48 private final GestureDetector mGestureDetector; 111 mGestureDetector = new GestureDetector(context, 296 mGestureDetector.onTouchEvent(event);
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
OverlayDisplayWindow.java | 197 private GestureDetector mGestureDetector; 312 mGestureDetector = new GestureDetector(mContext, mOnGestureListener); 438 mGestureDetector.onTouchEvent(event);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
StatePanelTrack.java | 51 private GestureDetector mGestureDetector; 104 mGestureDetector = new GestureDetector(context, simpleOnGestureListener); 208 mGestureDetector.onTouchEvent(cancelEvent); 211 mGestureDetector.onTouchEvent(event); 231 mGestureDetector.onTouchEvent(event);
|
/packages/apps/Music/src/com/android/music/ |
TouchInterceptor.java | 65 private GestureDetector mGestureDetector; 91 if (mRemoveListener != null && mGestureDetector == null) { 93 mGestureDetector = new GestureDetector(getContext(), new SimpleOnGestureListener() { 299 if (mGestureDetector != null) { 300 mGestureDetector.onTouchEvent(ev);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
KenBurnsActivity.java | 72 private GestureDetector mGestureDetector; 261 mGestureDetector = new GestureDetector(this, new MyGestureListener()); 330 mGestureDetector.onTouchEvent(ev);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
CandidateView.java | 223 private GestureDetector mGestureDetector; 276 mGestureDetector = gestureDetector; 644 if (mGestureDetector.onTouchEvent(event)) {
|
SkbContainer.java | 81 private GestureDetector mGestureDetector; 213 mGestureDetector = gestureDetector; 452 if (mGestureDetector.onTouchEvent(event)) {
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ContentViewGestureHandler.java | 69 private GestureDetector mGestureDetector; 293 if (gestureDetector != null) mGestureDetector = gestureDetector; 568 mGestureDetector = new GestureDetector(context, listener); 569 mGestureDetector.setIsLongpressEnabled(false); [all...] |
PopupZoomer.java | 123 private GestureDetector mGestureDetector; 224 mGestureDetector = new GestureDetector(context, listener); 537 mGestureDetector.onTouchEvent(event);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
MediaItemView.java | 65 private final GestureDetector mGestureDetector; 129 mGestureDetector = new GestureDetector(context, new MyGestureListener()); 562 mGestureDetector.onTouchEvent(ev);
|
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
InteractiveLineGraphView.java | 144 private GestureDetectorCompat mGestureDetector; 228 mGestureDetector = new GestureDetectorCompat(context, mGestureListener); 643 retVal = mGestureDetector.onTouchEvent(event) || retVal; [all...] |
/frameworks/base/core/java/android/widget/ |
Gallery.java | 106 private GestureDetector mGestureDetector; 202 mGestureDetector = new GestureDetector(context, this); 203 mGestureDetector.setIsLongpressEnabled(true); 958 boolean retValue = mGestureDetector.onTouchEvent(event); [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
PhotoView.java | 119 private GestureDetectorCompat mGestureDetector; 200 if (mScaleGetureDetector == null || mGestureDetector == null) { 206 mGestureDetector.onTouchEvent(event); 433 mGestureDetector = null; [all...] |