Home
last modified time | relevance | path

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

/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DFixedAspectSurfaceView.java45 private GestureDetector mGestureDetector; field in FixedAspectSurfaceView
78 mGestureDetector = null; in setGestureListener()
80 mGestureDetector = new GestureDetector(context, listener); in setGestureListener()
151 if (mGestureDetector != null) { in onTouchEvent()
152 return mGestureDetector.onTouchEvent(event); in onTouchEvent()
/development/samples/browseable/WatchViewStub/src/com.example.android.google.wearable.watchviewstub/
DMainActivity.java35 private GestureDetectorCompat mGestureDetector; field in MainActivity
53 mGestureDetector = new GestureDetectorCompat(this, new LongPressListener()); in onCreate()
76 return mGestureDetector.onTouchEvent(event) || super.dispatchTouchEvent(event); in dispatchTouchEvent()
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/
DMainActivity.java43 private GestureDetectorCompat mGestureDetector; field in MainActivity
54 mGestureDetector = new GestureDetectorCompat(this, new LongPressListener()); in onCreate()
59 return mGestureDetector.onTouchEvent(event) || super.dispatchTouchEvent(event); in dispatchTouchEvent()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/
DAttractionsActivity.java65 private GestureDetectorCompat mGestureDetector; field in AttractionsActivity
129 mGestureDetector = new GestureDetectorCompat(this, new LongPressListener()); in onCreate()
143 return mGestureDetector.onTouchEvent(event) || super.dispatchTouchEvent(event); in dispatchTouchEvent()
148 return mGestureDetector.onTouchEvent(event) || super.onTouchEvent(event); in onTouchEvent()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DCandidateView.java65 private GestureDetector mGestureDetector; field in CandidateView
98 mGestureDetector = new GestureDetector(new GestureDetector.SimpleOnGestureListener() { in CandidateView()
264 if (mGestureDetector.onTouchEvent(me)) { in onTouchEvent()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DOverlayDisplayWindow.java189 private GestureDetector mGestureDetector; field in OverlayDisplayWindow.JellybeanMr1Impl
299 mGestureDetector = new GestureDetector(mContext, mOnGestureListener); in createWindow()
425 mGestureDetector.onTouchEvent(event);
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java144 private GestureDetectorCompat mGestureDetector; field in InteractiveLineGraphView
228 mGestureDetector = new GestureDetectorCompat(context, mGestureListener); in InteractiveLineGraphView()
643 retVal = mGestureDetector.onTouchEvent(event) || retVal; in onTouchEvent()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv104306 …stureDetector.clear(), dispatch a MotionEvent.ACTION_CLEAR event to mGestureDetector to cancel the…