Home
last modified time | relevance | path

Searched refs:focusX (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java389 public boolean onScaleBegin(float focusX, float focusY) { in onScaleBegin() argument
391 return mFilmstripGestureListener.onScaleBegin(focusX, focusY); in onScaleBegin()
397 public boolean onScale(float focusX, float focusY, float scale) { in onScale() argument
399 return mFilmstripGestureListener.onScale(focusX, focusY, scale); in onScale()
DFilmstripView.java549 void postScale(float focusX, float focusY, float postScale, int viewportWidth, in postScale() argument
555 transX -= (focusX - getX()) * (postScale - 1f); in postScale()
2047 private void zoomAt(final ViewItem current, final float focusX, final float focusY) { in zoomAt() argument
2081 current.postScale(focusX, focusY, endScale / mScale, mDrawArea.width(), in zoomAt()
2116 current.postScale(focusX, focusY, postScale, mDrawArea.width(), in zoomAt()
2879 public boolean onScaleBegin(float focusX, float focusY) { in onScaleBegin() argument
2893 public boolean onScale(float focusX, float focusY, float scale) { in onScale() argument
2954 curr.postScale(focusX, focusY, postScale, mDrawArea.width(), mDrawArea.height()); in onScale()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java500 public void beginScale(float focusX, float focusY) { in beginScale() argument
501 focusX -= mViewW / 2; in beginScale()
506 mFocusX = (int) ((focusX - p.mCurrentX) / b.mCurrentScale + 0.5f); in beginScale()
515 public int scaleBy(float s, float focusX, float focusY) { in scaleBy() argument
516 focusX -= mViewW / 2; in scaleBy()
527 int x = mFilmMode ? p.mCurrentX : (int) (focusX - s * mFocusX + 0.5f); in scaleBy()
DGestureRecognizer.java36 boolean onScaleBegin(float focusX, float focusY); in onScaleBegin() argument
37 boolean onScale(float focusX, float focusY, float scale); in onScale() argument
DPhotoView.java1144 public boolean onScaleBegin(float focusX, float focusY) {
1151 mPositionController.beginScale(focusX, focusY);
1161 public boolean onScale(float focusX, float focusY, float scale) {
1167 int outOfRange = mPositionController.scaleBy(scale, focusX, focusY);
/packages/apps/Camera2/src/com/android/camera/ui/
DFilmstripGestureRecognizer.java37 boolean onScaleBegin(float focusX, float focusY); in onScaleBegin() argument
38 boolean onScale(float focusX, float focusY, float scale); in onScale() argument