Searched refs:mGestureDetector (Results 1 - 25 of 25) 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/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/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 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 DModeTransitionView.java66 private final GestureDetector mGestureDetector; field in class:ModeTransitionView
94 mGestureDetector = new GestureDetector(getContext(),
301 boolean touchHandled = mGestureDetector.onTouchEvent(ev);
H A DModeListView.java104 private final GestureDetector mGestureDetector; field in class:ModeListView
1097 mGestureDetector = new GestureDetector(context, mOnGestureListener);
1310 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/apps/ExactCalculator/src/com/android/calculator2/
H A DCalculatorPadViewPager.java156 private final GestureDetector mGestureDetector; field in class:CalculatorPadViewPager
167 mGestureDetector = new GestureDetector(context, mGestureWatcher);
168 mGestureDetector.setIsLongpressEnabled(false);
245 mGestureDetector.onTouchEvent(ev);
H A DCalculatorResult.java61 final GestureDetector mGestureDetector; field in class:CalculatorResult
165 mGestureDetector = new GestureDetector(context,
243 return mGestureDetector.onTouchEvent(event);
/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/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/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)) {
H A DMonthByWeekAdapter.java104 mGestureDetector = new GestureDetector(mContext, new CalendarGestureListener());
324 if (mGestureDetector.onTouchEvent(event)) {
/packages/apps/Music/src/com/android/music/
H A DTouchInterceptor.java64 private GestureDetector mGestureDetector; field in class:TouchInterceptor
90 if (mRemoveListener != null && mGestureDetector == null) {
92 mGestureDetector = new GestureDetector(getContext(), new SimpleOnGestureListener() {
298 if (mGestureDetector != null) {
299 mGestureDetector.onTouchEvent(ev);
/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/DeskClock/src/com/android/deskclock/
H A DClockFragment.java249 private final GestureDetector mGestureDetector; field in class:ClockFragment.CityListOnLongClickListener
252 mGestureDetector = new GestureDetector(context, this);
270 return 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/Gallery/src/com/android/camera/
H A DGridViewSpecial.java111 private GestureDetector mGestureDetector; field in class:GridViewSpecial
152 mGestureDetector = new GestureDetector(context,
544 mGestureDetector.onTouchEvent(ev);
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
/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/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/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
H A DKeyboardView.java227 private GestureDetector mGestureDetector; field in class:KeyboardView
456 mGestureDetector = new GestureDetector(getContext(), new GestureDetector.SimpleOnGestureListener() {
508 mGestureDetector.setIsLongpressEnabled(false);
1275 if (mGestureDetector.onTouchEvent(me)) {
/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 709 milliseconds