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.java538 final PointF finalPos = new PointF(targetPosition.exactCenterX(), in createScreenshotDropInAnimation() local
548 Log.d(TAG, "toCorner: finalPos=" + finalPos); in createScreenshotDropInAnimation()
586 float xCenter = MathUtils.lerp(startPos.x, finalPos.x, in createScreenshotDropInAnimation()
590 mScreenshotPreview.setX(finalPos.x - mScreenshotPreview.getWidth() / 2f); in createScreenshotDropInAnimation()
593 startPos.y, finalPos.y, mFastOutSlowIn.getInterpolation(t)); in createScreenshotDropInAnimation()
660 ? finalPos.x - dismissOffset + bounds.width() * cornerScale / 2f in createScreenshotDropInAnimation()
661 : finalPos.x - dismissOffset - bounds.width() * cornerScale / 2f; in createScreenshotDropInAnimation()
664 finalPos.y - dismissOffset - bounds.height() * cornerScale / 2f); in createScreenshotDropInAnimation()
667 mScreenshotPreview.setX(finalPos.x - mScreenshotPreview.getWidth() / 2f); in createScreenshotDropInAnimation()
668 mScreenshotPreview.setY(finalPos.y - mScreenshotPreview.getHeight() / 2f); in createScreenshotDropInAnimation()