Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java91 private int focusX; field in PieRenderer
594 focusX = x; in setFocus()
596 setCircle(focusX, focusY); in setFocus()
603 focusX = x; in alignFocus()
623 focusX = centerX; in layout()
625 setCircle(focusX, focusY); in layout()
646 canvas.drawCircle((float) focusX, (float) focusY, (float) circleSize, focusPaint); in drawFocus()
661 canvas.rotate(dialAngle, focusX, focusY); in drawFocus()
671 canvas.drawLine(point1.x + focusX, point1.y + focusY, point2.x + focusX, point2.y + focusY, p); in drawLine()
767 focusX = centerX; in run()
[all …]
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java429 public boolean onScaleBegin(float focusX, float focusY) { in onScaleBegin() argument
431 return mFilmstripGestureListener.onScaleBegin(focusX, focusY); in onScaleBegin()
437 public boolean onScale(float focusX, float focusY, float scale) { in onScale() argument
439 return mFilmstripGestureListener.onScale(focusX, focusY, scale); in onScale()
DFilmstripView.java543 void postScale(float focusX, float focusY, float postScale, int viewportWidth, in postScale() argument
549 transX -= (focusX - getX()) * (postScale - 1f); in postScale()
2074 private void zoomAt(final ViewItem current, final float focusX, final float focusY) { in zoomAt() argument
2108 current.postScale(focusX, focusY, endScale / mScale, mDrawArea.width(), in zoomAt()
2143 current.postScale(focusX, focusY, postScale, mDrawArea.width(), in zoomAt()
2919 public boolean onScaleBegin(float focusX, float focusY) {
2937 public boolean onScale(float focusX, float focusY, float scale) {
2995 curr.postScale(focusX, focusY, postScale, mDrawArea.width(), mDrawArea.height());
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGestureRecognizer.java36 boolean onScaleBegin(float focusX, float focusY); in onScaleBegin() argument
37 boolean onScale(float focusX, float focusY, float scale); in onScale() argument
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()
DPhotoView.java1143 public boolean onScaleBegin(float focusX, float focusY) {
1150 mPositionController.beginScale(focusX, focusY);
1160 public boolean onScale(float focusX, float focusY, float scale) {
1166 int outOfRange = mPositionController.scaleBy(scale, focusX, focusY);
/packages/apps/Camera2/src/com/android/camera/ui/
DFilmstripGestureRecognizer.java40 boolean onScaleBegin(float focusX, float focusY); in onScaleBegin() argument
41 boolean onScale(float focusX, float focusY, float scale); in onScale() argument