Home
last modified time | relevance | path

Searched refs:focusY (Results 1 – 7 of 7) 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
556 transY -= (focusY - getY()) * (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
502 focusY -= mViewH / 2; in beginScale()
507 mFocusY = (int) ((focusY - b.mCurrentY) / b.mCurrentScale + 0.5f); in beginScale()
515 public int scaleBy(float s, float focusX, float focusY) { in scaleBy() argument
517 focusY -= mViewH / 2; in scaleBy()
528 int y = mFilmMode ? b.mCurrentY : (int) (focusY - s * mFocusY + 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
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java3983 final float focusY = getAverageY(e2); in doScroll() local
3986 mGestureCenterHour = (mViewStartY + focusY - DAY_HEADER_HEIGHT - mAlldayHeight) in doScroll()
4029 - focusY + DAY_HEADER_HEIGHT + mAlldayHeight); in doScroll()
4054 mGestureCenterHour = (mViewStartY + focusY - DAY_HEADER_HEIGHT - mAlldayHeight) in doScroll()
4069 float focusY = 0; in getAverageY() local
4071 focusY += me.getY(i); in getAverageY()
4073 focusY /= count; in getAverageY()
4074 return focusY; in getAverageY()