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

/packages/apps/Camera2/src/com/android/camera/
H A DShutterButton.java44 private final GestureDetector mGestureDetector; field in class:ShutterButton
83 mGestureDetector = new GestureDetector(context, new LongPressGestureListener());
84 mGestureDetector.setIsLongpressEnabled(true);
116 mGestureDetector.onTouchEvent(m);
/packages/apps/Calendar/src/com/android/calendar/month/
H A DSimpleWeeksAdapter.java95 protected GestureDetector mGestureDetector; field in class:SimpleWeeksAdapter
121 mGestureDetector = new GestureDetector(mContext, new CalendarGestureListener());
259 if (mGestureDetector.onTouchEvent(event)) {
/packages/apps/Camera2/src/com/android/camera/ui/
H A DFilmstripGestureRecognizer.java48 private final GestureDetector mGestureDetector; field in class:FilmstripGestureRecognizer
54 mGestureDetector = new GestureDetector(context, new MyGestureListener(),
56 mGestureDetector.setOnDoubleTapListener(new MyDoubleTapListener());
62 final boolean gestureProcessed = mGestureDetector.onTouchEvent(event);
H A DModeTransitionView.java66 private final GestureDetector mGestureDetector; field in class:ModeTransitionView
94 mGestureDetector = new GestureDetector(getContext(),
301 boolean touchHandled = mGestureDetector.onTouchEvent(ev);
H A DPreviewOverlay.java66 private GestureDetector mGestureDetector = null; field in class:PreviewOverlay
179 if (mGestureDetector != null) {
180 mGestureDetector.onTouchEvent(m);
221 mGestureDetector = new GestureDetector(getContext(), gestureListener);
238 mGestureDetector = null;
H A DModeListView.java104 private final GestureDetector mGestureDetector; field in class:ModeListView
1097 mGestureDetector = new GestureDetector(context, mOnGestureListener);
1310 mGestureDetector.onTouchEvent(ev);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStatePanelTrack.java51 private GestureDetector mGestureDetector; field in class:StatePanelTrack
104 mGestureDetector = new GestureDetector(context, simpleOnGestureListener);
208 mGestureDetector.onTouchEvent(cancelEvent);
211 mGestureDetector.onTouchEvent(event);
231 mGestureDetector.onTouchEvent(event);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGestureRecognizer.java43 private final GestureDetector mGestureDetector; field in class:GestureRecognizer
50 mGestureDetector = new GestureDetector(context, new MyGestureListener(),
58 mGestureDetector.onTouchEvent(event);
H A DSlotView.java63 private final GestureDetector mGestureDetector; field in class:SlotView
92 mGestureDetector = new GestureDetector(activity, new MyGestureListener());
204 mGestureDetector.onTouchEvent(event);
/packages/apps/Music/src/com/android/music/
H A DTouchInterceptor.java65 private GestureDetector mGestureDetector; field in class:TouchInterceptor
91 if (mRemoveListener != null && mGestureDetector == null) {
93 mGestureDetector = new GestureDetector(getContext(), new SimpleOnGestureListener() {
299 if (mGestureDetector != null) {
300 mGestureDetector.onTouchEvent(ev);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageScrollView.java85 private GestureDetector mGestureDetector; field in class:MessageScrollView
117 mGestureDetector = new GestureDetector(c, new GestureDetector.SimpleOnGestureListener());
118 mGestureDetector.setOnDoubleTapListener(this);
155 mGestureDetector.onTouchEvent(ev);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
H A DEmojiPageKeyboardView.java58 private final GestureDetector mGestureDetector; field in class:EmojiPageKeyboardView
68 mGestureDetector = new GestureDetector(context, this);
69 mGestureDetector.setIsLongpressEnabled(false /* isLongpressEnabled */);
119 if (mGestureDetector.onTouchEvent(e)) {
231 // Long press detection of {@link #mGestureDetector} is disabled and not used.
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoCarousel.java48 private final GestureDetector mGestureDetector; field in class:PhotoCarousel
111 mGestureDetector = new GestureDetector(context,
296 mGestureDetector.onTouchEvent(event);
/packages/apps/ExactCalculator/src/com/android/calculator2/
H A DCalculatorResult.java49 final GestureDetector mGestureDetector; field in class:CalculatorResult
53 return mGestureDetector.onTouchEvent(event);
114 mGestureDetector = new GestureDetector(context,
/packages/apps/Gallery/src/com/android/camera/
H A DViewImage.java125 GestureDetector mGestureDetector; field in class:ViewImage
296 mGestureDetector = new GestureDetector(this, new MyGestureListener());
312 mGestureDetector.onTouchEvent(event);
315 // mGestureDetector.onTouchEvent because we will not receive
H A DGridViewSpecial.java111 private GestureDetector mGestureDetector; field in class:GridViewSpecial
152 mGestureDetector = new GestureDetector(context,
544 mGestureDetector.onTouchEvent(ev);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageShow.java70 private GestureDetector mGestureDetector = null; field in class:ImageShow
201 mGestureDetector = new GestureDetector(context, this);
617 mGestureDetector.onTouchEvent(event);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboardView.java205 private GestureDetector mGestureDetector; field in class:KeyboardView
381 mGestureDetector = new GestureDetector(getContext(), new GestureDetector.SimpleOnGestureListener() {
433 mGestureDetector.setIsLongpressEnabled(false);
1197 if (mGestureDetector.onTouchEvent(me)) {
H A DTextCandidatesViewManager.java166 private GestureDetector mGestureDetector; field in class:TextCandidatesViewManager
519 mGestureDetector = new GestureDetector(this);
1280 return mGestureDetector.onTouchEvent(mMotionEvent);
/packages/apps/Camera2/src/com/android/camera/app/
H A DCameraAppUI.java533 private final GestureDetector mGestureDetector; field in class:CameraAppUI
726 return (!mScaleStarted) && mGestureDetector.onTouchEvent(event);
791 mGestureDetector = new GestureDetector(controller.getAndroidContext(),
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java637 private final GestureDetector mGestureDetector; field in class:DayView
761 mGestureDetector = new GestureDetector(context, new CalendarGestureListener());
4266 mGestureDetector.onTouchEvent(ev);
4271 mGestureDetector.onTouchEvent(ev);
4279 mGestureDetector.onTouchEvent(ev);
4323 mGestureDetector.onTouchEvent(ev);
4330 if (mGestureDetector.onTouchEvent(ev)) {

Completed in 426 milliseconds