/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | NinePatchPeeker.cpp | 75 void NinePatchPeeker::scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight) { in scale() argument 82 if (!SkScalarNearlyEqual(scaleX, 1.0f)) { in scale() 83 mPatch->paddingLeft = int(mPatch->paddingLeft * scaleX + 0.5f); in scale() 84 mPatch->paddingRight = int(mPatch->paddingRight * scaleX + 0.5f); in scale() 85 scaleDivRange(mPatch->getXDivs(), mPatch->numXDivs, scaleX, scaledWidth - 1); in scale()
|
H A D | BitmapRegionDecoder.cpp | 138 const float scaleX = ((float)mGainmapBRD->width()) / mMainImageBRD->width(); in calculateGainmapRegion() local 140 *inOutWidth *= scaleX; in calculateGainmapRegion() 143 return SkIRect::MakeLTRB(mainImageRegion.left() * scaleX, mainImageRegion.top() * scaleY, in calculateGainmapRegion() 144 mainImageRegion.right() * scaleX, in calculateGainmapRegion()
|
H A D | NinePatchPeeker.h | 47 void scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight);
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
H A D | DebugRoundedCornerDelegate.kt | 165 val scaleX: Float, 175 scaleX, 189 val scaleX: Float = 1f, 196 if (scaleX != 1f || scaleY != 1f) { 197 canvas.scale(scaleX, scaleY)
|
H A D | ScreenDecorCommand.kt | 133 val scaleX: Float 154 scaleX = scaleX,
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
H A D | ViewStateTest.kt | 48 viewState.scaleX = 0.5f 70 viewState.scaleX = Float.POSITIVE_INFINITY + Float.NEGATIVE_INFINITY 72 Assert.assertEquals(viewState.scaleX, 0.5f)
|
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ScaledPathsActivity.java | 84 private void drawPath(Canvas canvas, float scaleX, float scaleY) { in drawPath() argument 86 canvas.scale(scaleX, scaleY); in drawPath() 89 canvas.translate(mPathBounds.width() * scaleX, 0.0f); in drawPath()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
H A D | UserAspectRatioSettingsLayout.java | 150 final ObjectAnimator scaleX = in showItem() local 152 scaleX.setDuration(SCALE_ANIMATION_DURATION_MS); in showItem() 153 scaleX.setInterpolator(PATH_INTERPOLATOR); in showItem() 162 animatorSet.playTogether(fadeIn, scaleY, scaleX); in showItem()
|
/aosp14/frameworks/base/core/java/android/transition/ |
H A D | ChangeTransform.java | 415 float translationZ, float scaleX, float scaleY, float rotationX, in setTransforms() argument 420 view.setScaleX(scaleX); in setTransforms() 431 public final float scaleX; field in ChangeTransform.Transforms 441 scaleX = view.getScaleX(); in Transforms() 449 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY, in restore() 462 thatTransform.scaleX == scaleX && in equals()
|
H A D | ChangeImageTransform.java | 103 float scaleX = ((float) bounds.width()) / drawableWidth; in captureValues() local 106 matrix.setScale(scaleX, scaleY); in captureValues()
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | VectorDrawable.h | 391 float scaleX = 1; member 406 float getScaleX() const { return mPrimitiveFields.scaleX; } in getScaleX() 407 void setScaleX(float scaleX) { VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(scaleX, scaleX); } in setScaleX() argument 418 void updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, in updateProperties() argument 423 mPrimitiveFields.scaleX = scaleX; in updateProperties() 439 scaleX, enumerator
|
H A D | VectorDrawable.cpp | 359 case Property::scaleX: in getPropertyValue() 386 case Property::scaleX: in setPropertyValue() 531 float scaleX = cacheWidth / viewportWidth; in updateBitmapCache() local 533 outCanvas.scale(scaleX, scaleY); in updateBitmapCache()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
H A D | AnimatableScaleMatrix.java | 102 public void setScaleX(float scaleX) { in setScaleX() argument 103 mScaleX = scaleX; in setScaleX()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/ |
H A D | BackTransformationTest.kt | 36 verify(targetView).scaleX = 1f 67 verify(targetView).scaleX = 3f
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
H A D | ExitDesktopTaskTransitionHandler.java | 152 final float scaleX = (float) startBounds.width() / screenWidth; in startChangeTransition() local 157 float currentScaleX = scaleX + ((1 - scaleX) * fraction); in startChangeTransition()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
H A D | KeyguardQuickAffordanceOnTouchListener.kt | 62 .scaleX(PRESSED_SCALE) 140 view.animate().scaleX(1f).scaleY(1f)
|
H A D | UdfpsBackgroundViewBinder.kt | 47 view.scaleX = it.scale
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/ |
H A D | QrCamera.java | 346 float scaleX = 1.0f; in setTransformationMatrix() local 349 scaleY = scaleX / ratioPreview; in setTransformationMatrix() 351 scaleX = scaleY / ratioPreview; in setTransformationMatrix() 356 matrix.setScale(scaleX, scaleY); in setTransformationMatrix()
|
/aosp14/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
H A D | AdaptiveOutlineDrawable.java | 128 final float scaleX = (bounds.right - bounds.left) / pathSize; in draw() local 132 canvas.scale(scaleX, scaleY); in draw()
|
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/ |
H A D | BackTransformation.kt | 36 targetView.scaleX = scale
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/ |
H A D | ActivityEmbeddingAnimationSpec.java | 156 float scaleX = ((float) startBounds.width()) / endBounds.width(); in createChangeBoundsChangeAnimations() local 160 float startScaleX = 1.f / scaleX; in createChangeBoundsChangeAnimations() 182 final Animation endScale = new ScaleAnimation(scaleX, 1, scaleY, 1); in createChangeBoundsChangeAnimations()
|
/aosp14/frameworks/base/core/java/android/window/ |
H A D | SnapshotDrawerUtils.java | 266 final float scaleX = (float) snapshot.getWidth() / mSnapshot.getTaskSize().x; in calculateSnapshotCrop() local 272 rect.inset((int) (insets.left * scaleX), in calculateSnapshotCrop() 274 (int) (insets.right * scaleX), in calculateSnapshotCrop() 286 final float scaleX = (float) snapshot.getWidth() / mSnapshot.getTaskSize().x; in calculateSnapshotFrame() local 291 (int) (crop.width() / scaleX + 0.5f), in calculateSnapshotFrame()
|
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
H A D | TaskFragmentAnimationSpec.java | 153 float scaleX = ((float) startBounds.width()) / endBounds.width(); in createChangeBoundsChangeAnimations() local 157 float startScaleX = 1.f / scaleX; in createChangeBoundsChangeAnimations() 179 final Animation endScale = new ScaleAnimation(scaleX, 1, scaleY, 1); in createChangeBoundsChangeAnimations()
|
/aosp14/frameworks/base/libs/hwui/hwui/ |
H A D | ImageDecoder.cpp | 440 float scaleX = (float) targetWidth / mDecodeSize.width(); in decode() local 442 outputMatrix.preScale(scaleX, scaleY); in decode() 531 float scaleX = (float)mTargetSize.width() / width(); in extractGainmap() local 533 decoder.setTargetSize(decoder.width() * scaleX, decoder.height() * scaleY); in extractGainmap()
|
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
H A D | GhostedViewLaunchAnimatorController.kt | 163 return radius * ghostedView.scaleX 173 return radius * ghostedView.scaleX 197 ghostedViewLocation[0] + (ghostedView.width * ghostedView.scaleX).roundToInt() -
|