Home
last modified time | relevance | path

Searched refs:mGestureDetector (Results 1 – 25 of 25) 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/
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()
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()
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/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/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/ExactCalculator/src/com/android/calculator2/
DCalculatorPadViewPager.java156 private final GestureDetector mGestureDetector; field in CalculatorPadViewPager
167 mGestureDetector = new GestureDetector(context, mGestureWatcher); in CalculatorPadViewPager()
168 mGestureDetector.setIsLongpressEnabled(false); in CalculatorPadViewPager()
245 mGestureDetector.onTouchEvent(ev); in onTouchEvent()
DCalculatorResult.java61 final GestureDetector mGestureDetector; field in CalculatorResult
165 mGestureDetector = new GestureDetector(context, in CalculatorResult()
243 return mGestureDetector.onTouchEvent(event); in CalculatorResult()
/packages/apps/Music/src/com/android/music/
DTouchInterceptor.java64 private GestureDetector mGestureDetector; field in TouchInterceptor
90 if (mRemoveListener != null && mGestureDetector == null) { in onInterceptTouchEvent()
92 mGestureDetector = new GestureDetector(getContext(), new SimpleOnGestureListener() { in onInterceptTouchEvent()
298 if (mGestureDetector != null) { in onTouchEvent()
299 mGestureDetector.onTouchEvent(ev); 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/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/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/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/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()
1275 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/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()