Searched refs:scaleW (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTransition.java | 603 float scaleW = mTmpRect.width() / (float) appWidth; in createScaleUpAnimationLocked() local 605 Animation scale = new ScaleAnimation(scaleW, 1, scaleH, 1, in createScaleUpAnimationLocked() 606 computePivot(mTmpRect.left, scaleW), in createScaleUpAnimationLocked() 910 float scaleW = appWidth / thumbWidth; in createThumbnailAspectScaleAnimationLocked() local 924 toX = mTmpRect.width() / 2 * (scaleW - 1f) + appRect.left; in createThumbnailAspectScaleAnimationLocked() 925 toY = appRect.height() / 2 * (1 - 1 / scaleW) + appRect.top; in createThumbnailAspectScaleAnimationLocked() 927 pivotY = appRect.height() / 2 / scaleW; in createThumbnailAspectScaleAnimationLocked() 940 Animation scale = new ScaleAnimation(1f, scaleW, 1f, scaleW, pivotX, pivotY); in createThumbnailAspectScaleAnimationLocked() 959 mTmpToClipRect.right = (int) (mTmpToClipRect.right / scaleW); in createThumbnailAspectScaleAnimationLocked() 960 mTmpToClipRect.bottom = (int) (mTmpToClipRect.bottom / scaleW); in createThumbnailAspectScaleAnimationLocked() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | ParameterUtils.java | 804 float scaleW = (NORMALIZED_RECTANGLE_MAX - NORMALIZED_RECTANGLE_MIN) * 1.0f / in convertMeteringRectangleToLegacy() local 814 transform.postScale(scaleW, scaleH); in convertMeteringRectangleToLegacy() 961 float scaleW = previewCrop.width() * 1.0f / in convertCameraAreaToActiveArrayRectangle() local 976 transform.postScale(scaleW, scaleH); in convertCameraAreaToActiveArrayRectangle()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewController.java | 1002 final float scaleW = (float) mAnimationStartWidth / totalWidth; in runEnterAnimation() local 1004 final float scale = Math.max(scaleW, scaleY); in runEnterAnimation() 1092 final float scaleW = (float) mAnimationStartWidth / totalWidth; in runExitAnimation() local 1094 final float scale = Math.max(scaleW, scaleY); in runExitAnimation()
|