Home
last modified time | relevance | path

Searched refs:mDetector (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java70 private ScaleGestureDetector mDetector; field in TransformTestActivity.TransformView
128 mDetector = new ScaleGestureDetector(context, new Listener()); in TransformView()
147 mDetector.onTouchEvent(event); in onTouchEvent()
150 if (!mDetector.isInProgress()) { in onTouchEvent()
/frameworks/support/v4/java/android/support/v4/view/
DGestureDetectorCompat.java461 private final GestureDetector mDetector; field in GestureDetectorCompat.GestureDetectorCompatImplJellybeanMr2
465 mDetector = new GestureDetector(context, listener, handler); in GestureDetectorCompatImplJellybeanMr2()
470 return mDetector.isLongpressEnabled(); in isLongpressEnabled()
475 return mDetector.onTouchEvent(ev); in onTouchEvent()
480 mDetector.setIsLongpressEnabled(enabled); in setIsLongpressEnabled()
485 mDetector.setOnDoubleTapListener(listener); in setOnDoubleTapListener()
/frameworks/base/docs/html/training/wearables/ui/
Dexit.jd82 private GestureDetector mDetector;
94 mDetector = new GestureDetector(this, new SimpleOnGestureListener() {
104 return mDetector.onTouchEvent(ev) || super.onTouchEvent(ev);
/frameworks/base/docs/html/training/gestures/
Ddetector.jd203 private GestureDetectorCompat mDetector;
213 mDetector = new GestureDetectorCompat(this,this);
216 mDetector.setOnDoubleTapListener(this);
221 this.mDetector.onTouchEvent(event);
313 private GestureDetectorCompat mDetector;
319 mDetector = new GestureDetectorCompat(this, new MyGestureListener());
324 this.mDetector.onTouchEvent(event);
/frameworks/base/docs/html/training/custom-views/
Dmaking-interactive.jd96 mDetector = new GestureDetector(PieChart.this.getContext(), new mListener());
122 boolean result = mDetector.onTouchEvent(event);