Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/
DShutterButton.java44 private final GestureDetector mGestureDetector; field in ShutterButton
83 mGestureDetector = new GestureDetector(context, new LongPressGestureListener()); in ShutterButton()
84 mGestureDetector.setIsLongpressEnabled(true); in ShutterButton()
116 mGestureDetector.onTouchEvent(m); in dispatchTouchEvent()
/packages/apps/Camera2/src/com/android/camera/ui/
DFilmstripGestureRecognizer.java48 private final GestureDetector mGestureDetector; field in FilmstripGestureRecognizer
54 mGestureDetector = new GestureDetector(context, new MyGestureListener(), in FilmstripGestureRecognizer()
56 mGestureDetector.setOnDoubleTapListener(new MyDoubleTapListener()); in FilmstripGestureRecognizer()
62 final boolean gestureProcessed = mGestureDetector.onTouchEvent(event); in onTouchEvent()
DPreviewOverlay.java66 private GestureDetector mGestureDetector = null; field in PreviewOverlay
179 if (mGestureDetector != null) { in onTouchEvent()
180 mGestureDetector.onTouchEvent(m); in onTouchEvent()
221 mGestureDetector = new GestureDetector(getContext(), gestureListener); in setGestureListener()
238 mGestureDetector = null; in reset()
DModeTransitionView.java66 private final GestureDetector mGestureDetector; field in ModeTransitionView
94 mGestureDetector = new GestureDetector(getContext(), in ModeTransitionView()
301 boolean touchHandled = mGestureDetector.onTouchEvent(ev); in onTouchEvent()
DModeListView.java104 private final GestureDetector mGestureDetector; field in ModeListView
1097 mGestureDetector = new GestureDetector(context, mOnGestureListener); in ModeListView()
1310 mGestureDetector.onTouchEvent(ev); in onTouchEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiPageKeyboardView.java58 private final GestureDetector mGestureDetector; field in EmojiPageKeyboardView
68 mGestureDetector = new GestureDetector(context, this); in EmojiPageKeyboardView()
69 mGestureDetector.setIsLongpressEnabled(false /* isLongpressEnabled */); in EmojiPageKeyboardView()
119 if (mGestureDetector.onTouchEvent(e)) { in onTouchEvent()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageScrollView.java85 private GestureDetector mGestureDetector; field in MessageScrollView
117 mGestureDetector = new GestureDetector(c, new GestureDetector.SimpleOnGestureListener()); in MessageScrollView()
118 mGestureDetector.setOnDoubleTapListener(this); in MessageScrollView()
155 mGestureDetector.onTouchEvent(ev); in dispatchTouchEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStatePanelTrack.java51 private GestureDetector mGestureDetector; field in StatePanelTrack
104 mGestureDetector = new GestureDetector(context, simpleOnGestureListener); in StatePanelTrack()
208 mGestureDetector.onTouchEvent(cancelEvent); in onTouch()
211 mGestureDetector.onTouchEvent(event); in onTouch()
231 mGestureDetector.onTouchEvent(event); in onTouchEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGestureRecognizer.java43 private final GestureDetector mGestureDetector; field in GestureRecognizer
50 mGestureDetector = new GestureDetector(context, new MyGestureListener(), in GestureRecognizer()
58 mGestureDetector.onTouchEvent(event); in onTouchEvent()
DSlotView.java63 private final GestureDetector mGestureDetector; field in SlotView
92 mGestureDetector = new GestureDetector(activity, new MyGestureListener()); in SlotView()
204 mGestureDetector.onTouchEvent(event); in onTouch()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DWorkspaceTouchListener.java70 private final GestureDetector mGestureDetector; field in WorkspaceTouchListener
78 mGestureDetector = new GestureDetector(workspace.getContext(), this); in WorkspaceTouchListener()
83 mGestureDetector.onTouchEvent(ev); in onTouch()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeeksAdapter.java95 protected GestureDetector mGestureDetector; field in SimpleWeeksAdapter
121 mGestureDetector = new GestureDetector(mContext, new CalendarGestureListener()); in init()
259 if (mGestureDetector.onTouchEvent(event)) { in onTouch()
DMonthByWeekAdapter.java103 mGestureDetector = new GestureDetector(mContext, new CalendarGestureListener()); in init()
300 if (mGestureDetector.onTouchEvent(event)) { in onTouch()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoCarousel.java48 private final GestureDetector mGestureDetector; field in PhotoCarousel
111 mGestureDetector = new GestureDetector(context, in PhotoCarousel()
296 mGestureDetector.onTouchEvent(event); in onTouchEvent()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DAssistantTouchConsumer.java91 private final GestureDetector mGestureDetector; field in AssistantTouchConsumer
109 mGestureDetector = new GestureDetector(context, new AssistantGestureListener()); in AssistantTouchConsumer()
120 mGestureDetector.onTouchEvent(ev); in onMotionEvent()
/packages/apps/DeskClock/src/com/android/deskclock/
DClockFragment.java249 private final GestureDetector mGestureDetector; field in ClockFragment.CityListOnLongClickListener
252 mGestureDetector = new GestureDetector(context, this); in CityListOnLongClickListener()
270 return mGestureDetector.onTouchEvent(event); in onTouch()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java111 private GestureDetector mGestureDetector; field in GridViewSpecial
152 mGestureDetector = new GestureDetector(context, in init()
544 mGestureDetector.onTouchEvent(ev); in onTouchEvent()
DViewImage.java125 GestureDetector mGestureDetector; field in ViewImage
296 mGestureDetector = new GestureDetector(this, new MyGestureListener());
312 mGestureDetector.onTouchEvent(event);
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java227 private GestureDetector mGestureDetector; field in KeyboardView
456mGestureDetector = new GestureDetector(getContext(), new GestureDetector.SimpleOnGestureListener()… in initGestureDetector()
508 mGestureDetector.setIsLongpressEnabled(false); in initGestureDetector()
1273 if (mGestureDetector.onTouchEvent(me)) { in onModifiedTouchEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageShow.java70 private GestureDetector mGestureDetector = null; field in ImageShow
201 mGestureDetector = new GestureDetector(context, this); in setupGestureDetector()
617 mGestureDetector.onTouchEvent(event); in onTouchEvent()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java629 private final GestureDetector mGestureDetector; field in DayView
746 mGestureDetector = new GestureDetector(context, new CalendarGestureListener()); in DayView()
3457 mGestureDetector.onTouchEvent(ev); in onTouchEvent()
3462 mGestureDetector.onTouchEvent(ev); in onTouchEvent()
3470 mGestureDetector.onTouchEvent(ev); in onTouchEvent()
3514 mGestureDetector.onTouchEvent(ev); in onTouchEvent()
3521 if (mGestureDetector.onTouchEvent(ev)) { in onTouchEvent()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java533 private final GestureDetector mGestureDetector; field in CameraAppUI
726 return (!mScaleStarted) && mGestureDetector.onTouchEvent(event); in onTouch()
791 mGestureDetector = new GestureDetector(controller.getAndroidContext(), in CameraAppUI()