Home
last modified time | relevance | path

Searched refs:mGestureDetector (Results 1 – 21 of 21) 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/Gallery2/src/com/android/gallery3d/filtershow/state/
DStatePanelTrack.java52 private GestureDetector mGestureDetector; field in StatePanelTrack
105 mGestureDetector = new GestureDetector(context, simpleOnGestureListener); in StatePanelTrack()
209 mGestureDetector.onTouchEvent(cancelEvent); in onTouch()
212 mGestureDetector.onTouchEvent(event); in onTouch()
232 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.java71 private final GestureDetector mGestureDetector; field in WorkspaceTouchListener
79 mGestureDetector = new GestureDetector(workspace.getContext(), this); in WorkspaceTouchListener()
84 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/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DAssistantInputConsumer.java89 private final Consumer<MotionEvent> mGestureDetector; field in AssistantInputConsumer
113 mGestureDetector = flingDisabled in AssistantInputConsumer()
220 mGestureDetector.accept(ev); in onMotionEvent()
/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/DeskClock/src/com/android/deskclock/
DClockFragment.kt227 private val mGestureDetector = GestureDetector(context, this) constant
239 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
459mGestureDetector = new GestureDetector(getContext(), new GestureDetector.SimpleOnGestureListener()… in initGestureDetector()
511 mGestureDetector.setIsLongpressEnabled(false); in initGestureDetector()
1276 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()
618 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.java534 private final GestureDetector mGestureDetector; field in CameraAppUI
727 return (!mScaleStarted) && mGestureDetector.onTouchEvent(event); in onTouch()
792 mGestureDetector = new GestureDetector(controller.getAndroidContext(), in CameraAppUI()