Home
last modified time | relevance | path

Searched refs:mGestureDetector (Results 1 – 23 of 23) 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/Dialer/InCallUI/src/com/android/incallui/
DAccessibleAnswerFragment.java43 private GestureDetector mGestureDetector; field in AccessibleAnswerFragment
52 mGestureDetector = new GestureDetector(getContext(), new SimpleOnGestureListener() { in onCreateView()
106 return mGestureDetector.onTouchEvent(event); in onTouch()
/packages/apps/Music/src/com/android/music/
DTouchInterceptor.java65 private GestureDetector mGestureDetector; field in TouchInterceptor
91 if (mRemoveListener != null && mGestureDetector == null) { in onInterceptTouchEvent()
93 mGestureDetector = new GestureDetector(getContext(), new SimpleOnGestureListener() { in onInterceptTouchEvent()
299 if (mGestureDetector != null) { in onTouchEvent()
300 mGestureDetector.onTouchEvent(ev); in onTouchEvent()
/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.java104 mGestureDetector = new GestureDetector(mContext, new CalendarGestureListener()); in init()
324 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/ExactCalculator/src/com/android/calculator2/
DCalculatorResult.java49 final GestureDetector mGestureDetector; field in CalculatorResult
53 return mGestureDetector.onTouchEvent(event); in onTouch()
114 mGestureDetector = new GestureDetector(context, in CalculatorResult()
/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/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboardView.java205 private GestureDetector mGestureDetector; field in KeyboardView
381mGestureDetector = new GestureDetector(getContext(), new GestureDetector.SimpleOnGestureListener()… in initGestureDetector()
433 mGestureDetector.setIsLongpressEnabled(false); in initGestureDetector()
1197 if (mGestureDetector.onTouchEvent(me)) {
DTextCandidatesViewManager.java166 private GestureDetector mGestureDetector; field in TextCandidatesViewManager
519 mGestureDetector = new GestureDetector(this); in initView()
1280 return mGestureDetector.onTouchEvent(mMotionEvent); in onTouchSync()
/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/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()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java637 private final GestureDetector mGestureDetector; field in DayView
761 mGestureDetector = new GestureDetector(context, new CalendarGestureListener()); in DayView()
4266 mGestureDetector.onTouchEvent(ev); in onTouchEvent()
4271 mGestureDetector.onTouchEvent(ev); in onTouchEvent()
4279 mGestureDetector.onTouchEvent(ev); in onTouchEvent()
4323 mGestureDetector.onTouchEvent(ev); in onTouchEvent()
4330 if (mGestureDetector.onTouchEvent(ev)) { in onTouchEvent()