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

/packages/apps/Camera/src/com/android/camera/
H A DPreviewGestures.java306 public boolean onScale(ScaleGestureDetector detector) { argument
307 return mZoom.onScale(detector);
311 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
317 return mZoom.onScaleBegin(detector);
324 public void onScaleEnd(ScaleGestureDetector detector) { argument
326 mZoom.onScaleEnd(detector);
/packages/apps/Camera/src/com/android/camera/ui/
H A DZoomRenderer.java127 public boolean onScale(ScaleGestureDetector detector) { argument
128 final float sf = detector.getScaleFactor();
141 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
151 public void onScaleEnd(ScaleGestureDetector detector) { argument
/packages/apps/Camera2/src/com/android/camera/ui/
H A DFilmstripGestureRecognizer.java118 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
120 detector.getFocusX(), detector.getFocusY());
124 public boolean onScale(ScaleGestureDetector detector) { argument
125 return mListener.onScale(detector.getFocusX(),
126 detector.getFocusY(), detector.getScaleFactor());
130 public void onScaleEnd(ScaleGestureDetector detector) { argument
H A DPreviewOverlay.java115 // Pass the touch events to scale detector and gesture detector
180 * Custom scale gesture detector that ignores touch events when no
300 public boolean onScale(ScaleGestureDetector detector) { argument
301 final float sf = detector.getScaleFactor();
328 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
342 public void onScaleEnd(ScaleGestureDetector detector) { argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGestureRecognizer.java104 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
106 detector.getFocusX(), detector.getFocusY());
110 public boolean onScale(ScaleGestureDetector detector) { argument
111 return mListener.onScale(detector.getFocusX(),
112 detector.getFocusY(), detector.getScaleFactor());
116 public void onScaleEnd(ScaleGestureDetector detector) { argument
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DCropView.java175 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
180 public boolean onScale(ScaleGestureDetector detector) { argument
183 mRenderer.scale *= detector.getScaleFactor();
190 public void onScaleEnd(ScaleGestureDetector detector) { argument
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageScrollView.java177 public boolean onScale(ScaleGestureDetector detector) { argument
182 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
189 public void onScaleEnd(ScaleGestureDetector detector) { argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageShow.java924 public boolean onScale(ScaleGestureDetector detector) { argument
928 scaleFactor = scaleFactor * detector.getScaleFactor();
937 float focusx = detector.getFocusX();
938 float focusy = detector.getFocusY();
950 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
955 mStartFocusX = detector.getFocusX();
956 mStartFocusY = detector.getFocusY();
962 public void onScaleEnd(ScaleGestureDetector detector) { argument
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java4164 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
4166 float gestureCenterInPixels = detector.getFocusY() - DAY_HEADER_HEIGHT - mAlldayHeight;
4169 mStartingSpanY = Math.max(MIN_Y_SPAN, Math.abs(detector.getCurrentSpanY()));
4176 + "\tmCellHeight:" + mCellHeight + " SpanY:" + detector.getCurrentSpanY());
4183 public boolean onScale(ScaleGestureDetector detector) { argument
4184 float spanY = Math.max(MIN_Y_SPAN, Math.abs(detector.getCurrentSpanY()));
4200 int gestureCenterInPixels = (int) detector.getFocusY() - DAY_HEADER_HEIGHT - mAlldayHeight;
4208 + mCellHeight + " SpanY:" + detector.getCurrentSpanY());
4228 public void onScaleEnd(ScaleGestureDetector detector) { argument

Completed in 382 milliseconds