Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java525 final PointF finalPos = new PointF(targetPosition.exactCenterX(), in createScreenshotDropInAnimation() local
535 Log.d(TAG, "toCorner: finalPos=" + finalPos); in createScreenshotDropInAnimation()
573 float xCenter = MathUtils.lerp(startPos.x, finalPos.x, in createScreenshotDropInAnimation()
577 mScreenshotPreview.setX(finalPos.x - mScreenshotPreview.getWidth() / 2f); in createScreenshotDropInAnimation()
580 startPos.y, finalPos.y, mFastOutSlowIn.getInterpolation(t)); in createScreenshotDropInAnimation()
647 ? finalPos.x - dismissOffset + bounds.width() * cornerScale / 2f in createScreenshotDropInAnimation()
648 : finalPos.x - dismissOffset - bounds.width() * cornerScale / 2f; in createScreenshotDropInAnimation()
651 finalPos.y - dismissOffset - bounds.height() * cornerScale / 2f); in createScreenshotDropInAnimation()
654 mScreenshotPreview.setX(finalPos.x - mScreenshotPreview.getWidth() / 2f); in createScreenshotDropInAnimation()
655 mScreenshotPreview.setY(finalPos.y - mScreenshotPreview.getHeight() / 2f); in createScreenshotDropInAnimation()