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.java402 float scaleW = mNextAppTransitionStartWidth / (float) appWidth; in createScaleUpAnimationLocked() local
404 Animation scale = new ScaleAnimation(scaleW, 1, scaleH, 1, in createScaleUpAnimationLocked()
405 computePivot(mNextAppTransitionStartX, scaleW), in createScaleUpAnimationLocked()
516 float scaleW = deviceWidth / thumbWidth; in createThumbnailAspectScaleAnimationLocked() local
518 float unscaledHeight = thumbHeight * scaleW; in createThumbnailAspectScaleAnimationLocked()
522 Animation scale = new ScaleAnimation(1f, scaleW, 1f, scaleW, in createThumbnailAspectScaleAnimationLocked()
543 Animation scale = new ScaleAnimation(scaleW, 1f, scaleW, 1f, in createThumbnailAspectScaleAnimationLocked()
717 float scaleW = appWidth / thumbWidth; in createThumbnailScaleAnimationLocked() local
719 Animation scale = new ScaleAnimation(1, scaleW, 1, scaleH, in createThumbnailScaleAnimationLocked()
720 computePivot(mNextAppTransitionStartX, 1 / scaleW), in createThumbnailScaleAnimationLocked()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java801 float scaleW = (NORMALIZED_RECTANGLE_MAX - NORMALIZED_RECTANGLE_MIN) * 1.0f / in convertMeteringRectangleToLegacy() local
811 transform.postScale(scaleW, scaleH); in convertMeteringRectangleToLegacy()
958 float scaleW = previewCrop.width() * 1.0f / in convertCameraAreaToActiveArrayRectangle() local
973 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()