Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DRecentsOrientedState.java406 public float getFullScreenScaleAndPivot(Rect taskView, DeviceProfile dp, PointF outPivot) { in getFullScreenScaleAndPivot() argument
407 getTaskDimension(mContext, dp, outPivot); in getFullScreenScaleAndPivot()
408 float scale = Math.min(outPivot.x / taskView.width(), outPivot.y / taskView.height()); in getFullScreenScaleAndPivot()
410 outPivot.set(taskView.centerX(), taskView.centerY()); in getFullScreenScaleAndPivot()
413 outPivot.set(taskView.left * factor, taskView.top * factor); in getFullScreenScaleAndPivot()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java375 public static void getPivotsForScalingRectToRect(Rect src, Rect dst, PointF outPivot) { in getPivotsForScalingRectToRect() argument
377 outPivot.x = dst.left + dst.width() * pivotXPct; in getPivotsForScalingRectToRect()
380 outPivot.y = dst.top + dst.height() * pivotYPct; in getPivotsForScalingRectToRect()