Searched refs:scaleW (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTransition.java | 667 float scaleW = mTmpRect.width() / (float) appWidth; in createScaleUpAnimationLocked() local 669 Animation scale = new ScaleAnimation(scaleW, 1, scaleH, 1, in createScaleUpAnimationLocked() 670 computePivot(mTmpRect.left, scaleW), in createScaleUpAnimationLocked() 974 float scaleW = appWidth / thumbWidth; in createThumbnailAspectScaleAnimationLocked() local 988 toX = mTmpRect.width() / 2 * (scaleW - 1f) + appRect.left; in createThumbnailAspectScaleAnimationLocked() 989 toY = appRect.height() / 2 * (1 - 1 / scaleW) + appRect.top; in createThumbnailAspectScaleAnimationLocked() 991 pivotY = appRect.height() / 2 / scaleW; in createThumbnailAspectScaleAnimationLocked() 996 toY -= thumbHeightI * scaleW; in createThumbnailAspectScaleAnimationLocked() 1010 Animation scale = new ScaleAnimation(1f, scaleW, 1f, scaleW, pivotX, pivotY); in createThumbnailAspectScaleAnimationLocked() 1029 mTmpToClipRect.right = (int) (mTmpToClipRect.right / 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()
|