Searched defs:detector (Results 1 - 4 of 4) sorted by relevance

/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DPreviewSurfaceView.java44 * @param detector The gesture detector
46 public void setGestureListener(GestureDetector detector) { argument
47 mSimpleGestureDetector = detector;
52 // Let the gesture detector inspect all events.
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DKenBurnsActivity.java118 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
123 public boolean onScale(ScaleGestureDetector detector) { argument
124 final float relativeScaleFactor = detector.getScaleFactor();
130 mImageView.zoomTo(newAbsoluteScale, detector.getFocusX(), detector.getFocusY());
135 public void onScaleEnd(ScaleGestureDetector detector) { argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPhotoView.java532 public boolean onScale(ScaleGestureDetector detector) { argument
533 float scale = detector.getScaleFactor();
537 detector.getFocusX(), detector.getFocusY());
542 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
545 detector.getFocusX(), detector.getFocusY());
550 public void onScaleEnd(ScaleGestureDetector detector) { argument
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java3975 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
3977 float gestureCenterInPixels = detector.getFocusY() - DAY_HEADER_HEIGHT - mAlldayHeight;
3980 mStartingSpanY = Math.max(MIN_Y_SPAN, Math.abs(detector.getCurrentSpanY()));
3987 + "\tmCellHeight:" + mCellHeight + " SpanY:" + detector.getCurrentSpanY());
3994 public boolean onScale(ScaleGestureDetector detector) { argument
3995 float spanY = Math.max(MIN_Y_SPAN, Math.abs(detector.getCurrentSpanY()));
4011 int gestureCenterInPixels = (int) detector.getFocusY() - DAY_HEADER_HEIGHT - mAlldayHeight;
4019 + mCellHeight + " SpanY:" + detector.getCurrentSpanY());
4039 public void onScaleEnd(ScaleGestureDetector detector) { argument

Completed in 115 milliseconds