Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java733 float scaleW = mTmpRect.width() / (float) appWidth; in createScaleUpAnimationLocked() local
735 Animation scale = new ScaleAnimation(scaleW, 1, scaleH, 1, in createScaleUpAnimationLocked()
736 computePivot(mTmpRect.left, scaleW), in createScaleUpAnimationLocked()
1074 float scaleW = appWidth / thumbWidth; in createThumbnailAspectScaleAnimationLocked() local
1088 toX = mTmpRect.width() / 2 * (scaleW - 1f) + appRect.left; in createThumbnailAspectScaleAnimationLocked()
1089 toY = appRect.height() / 2 * (1 - 1 / scaleW) + appRect.top; in createThumbnailAspectScaleAnimationLocked()
1091 pivotY = appRect.height() / 2 / scaleW; in createThumbnailAspectScaleAnimationLocked()
1096 toY -= thumbHeightI * scaleW; in createThumbnailAspectScaleAnimationLocked()
1110 Animation scale = new ScaleAnimation(1f, scaleW, 1f, scaleW, pivotX, pivotY); in createThumbnailAspectScaleAnimationLocked()
1129 mTmpToClipRect.right = (int) (mTmpToClipRect.right / scaleW); in createThumbnailAspectScaleAnimationLocked()
[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.java1002 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()
/frameworks/ml/nn/common/operations/
DGenerateProposals.cpp1443 float scaleX, float scaleH, float scaleW, bool useRegularNms, int32_t maxNumDetections, in detectionPostprocessFloat32() argument
1473 float wHalf = anchorBase[3] * std::exp(deltaBase[3] / scaleW) * 0.5f; in detectionPostprocessFloat32()
1548 float scaleX, float scaleH, float scaleW, bool useRegularNms, int32_t maxNumDetections, in detectionPostprocessFloat16() argument
1563 anchor_float32.data(), anchorShape, scaleY, scaleX, scaleH, scaleW, useRegularNms, in detectionPostprocessFloat16()