Home
last modified time | relevance | path

Searched refs:getScaleX (Results 1 – 25 of 74) sorted by relevance

123

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
H A DViewGroupFocusHelper.java45 outRect.left += (1 - v.getScaleX()) * v.getWidth() / 2; in viewToRect()
48 outRect.right = outRect.left + (int) (v.getScaleX() * v.getWidth()); in viewToRect()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DDragPreviewProvider.java105 float scale = mView.getScaleX(); in createDrawable()
162 (preview.getIntrinsicWidth() - scale * mView.getWidth() * mView.getScaleX()) / 2); in getScaleAndPosition()
179 - (view.getWidth() - scale * mView.getWidth() * mView.getScaleX()) / 2); in getScaleAndPosition()
/aosp12/frameworks/base/libs/hwui/
H A DVectorDrawable.cpp297 mProperties.getTranslateY(), mProperties.getScaleX(), mProperties.getScaleY()); in dump()
321 outMatrix->postScale(properties.getScaleX(), properties.getScaleY()); in getLocalMatrix()
359 return getScaleX(); in getPropertyValue()
423 canvasScaleX = fabs(canvasMatrix.getScaleX()); in draw()
H A DRenderProperties.cpp202 transform->preScale(getScaleX(), getScaleY(), getPivotX(), getPivotY()); in updateMatrix()
206 transform->preScale(getScaleX(), getScaleY(), getPivotX(), getPivotY()); in updateMatrix()
H A DLayer.cpp66 if (MathUtils::isZero(matrix.getScaleX()) && MathUtils::isZero(matrix.getScaleY())) { in shouldFilterRect()
/aosp12/frameworks/base/core/java/android/text/style/
H A DScaleXSpan.java92 public float getScaleX() { in getScaleX() method in ScaleXSpan
/aosp12/frameworks/base/packages/Keyguard/
H A Dproguard.flags19 public float getScaleX();
/aosp12/frameworks/base/libs/hwui/tests/unit/
H A DVectorDrawableTests.cpp375 EXPECT_EQ(1.0f, properties->getScaleX()); in TEST()
377 EXPECT_EQ(0.0f, properties->getScaleX()); in TEST()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
H A DAnimatableScaleMatrix.java122 public float getScaleX() { in getScaleX() method in AnimatableScaleMatrix
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/
H A DBidiRenderer.java254 if (transform.getScaleX() >= SCALEX_WORKAROUND_LIMIT && in render()
266 if (transform.getScaleX() < SCALEX_WORKAROUND_LIMIT || in render()
/aosp12/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_drawable_VectorDrawable.cpp229 static jfloat getScaleX(JNIEnv*, jobject, jlong groupPtr) { in getScaleX() function
231 return group->stagingProperties()->getScaleX(); in getScaleX()
391 {"nGetScaleX", "(J)F", (void*)getScaleX},
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DTransformState.java183 setTransformationStartScaleX(otherContentWidth * otherView.getScaleX() in transformViewFrom()
350 setTransformationStartScaleX(transformedView.getScaleX()); in transformViewTo()
439 mOwnPosition[0] -= (1.0f - mTransformedView.getScaleX()) * mTransformedView.getPivotX(); in getLocationOnScreen()
/aosp12/frameworks/base/services/core/java/com/android/server/display/
H A DOverlayDisplayWindow.java179 pw.println("mTextureView.getScaleX()=" + mTextureView.getScaleX()); in dump()
280 mWindowScale = mTextureView.getScaleX(); in saveWindowParams()
/aosp12/packages/apps/Browser2/src/org/chromium/webview_shell/
H A DWebViewAnimationTestActivity.java133 if (mWebView.getScaleX() == 1f) { in runScale()
/aosp12/frameworks/native/libs/ui/include/ui/
H A DTransform.h81 float getScaleX() const;
/aosp12/frameworks/native/libs/ui/include_vndk/ui/
H A DTransform.h81 float getScaleX() const;
/aosp12/frameworks/native/include/ui/
H A DTransform.h81 float getScaleX() const;
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherAnimUtils.java57 return view.getScaleX();
/aosp12/packages/apps/Nfc/src/com/android/nfc/beam/
H A DSendUi.java429 float currentScale = mScreenshotView.getScaleX(); in showStartSend()
488 float currentScale = mScreenshotView.getScaleX(); in finish()
751 mBlackLayer.setScaleX(mScreenshotView.getScaleX()); in showSendHint()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DDragLayer.java244 float childScale = child.getScaleX(); in animateViewIntoPosition()
356 + (anchorView.getScaleX() * (startScroll - anchorView.getScrollX())); in animateView()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DDrawableHolder.java186 public float getScaleX() { in getScaleX() method in DrawableHolder
/aosp12/frameworks/base/libs/hwui/pipeline/skia/
H A DLayerDrawable.cpp46 if (MathUtils::isZero(matrix.getScaleX()) && MathUtils::isZero(matrix.getScaleY())) { in shouldFilterRect()
H A DReorderBarrierDrawables.cpp130 !casterProperties.getOutline().getPath() || casterProperties.getScaleX() == 0 || in drawShadow()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DViewState.java148 scaleX = view.getScaleX(); in initFrom()
189 } else if (view.getScaleX() != scaleX) { in applyToView()
317 if (child.getScaleX() != scaleX) { in animateTo()
/aosp12/frameworks/base/libs/hwui/hwui/
H A DMinikinUtils.cpp40 minikinPaint.scaleX = font.getScaleX(); in prepareMinikinPaint()

123