Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java466 float scaleW = mNextAppTransitionStartWidth / (float) appWidth; in createScaleUpAnimationLocked() local
468 Animation scale = new ScaleAnimation(scaleW, 1, scaleH, 1, in createScaleUpAnimationLocked()
469 computePivot(mNextAppTransitionStartX, scaleW), in createScaleUpAnimationLocked()
661 float scaleW = deviceWidth / thumbWidth; in createThumbnailAspectScaleAnimationLocked() local
663 float unscaledHeight = thumbHeight * scaleW; in createThumbnailAspectScaleAnimationLocked()
667 Animation scale = new ScaleAnimation(1f, scaleW, 1f, scaleW, in createThumbnailAspectScaleAnimationLocked()
688 Animation scale = new ScaleAnimation(scaleW, 1f, scaleW, 1f, in createThumbnailAspectScaleAnimationLocked()
852 float scaleW = appWidth / thumbWidth; in createThumbnailScaleAnimationLocked() local
854 Animation scale = new ScaleAnimation(1, scaleW, 1, scaleH, in createThumbnailScaleAnimationLocked()
855 computePivot(mNextAppTransitionStartX, 1 / scaleW), in createThumbnailScaleAnimationLocked()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java804 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/
DPhotoViewController.java923 final float scaleW = (float) mAnimationStartWidth / totalWidth; in runEnterAnimation() local
925 final float scale = Math.max(scaleW, scaleY); in runEnterAnimation()
1005 final float scaleW = (float) mAnimationStartWidth / totalWidth; in runExitAnimation() local
1007 final float scale = Math.max(scaleW, scaleY); in runExitAnimation()