/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatchPeeker.cpp | 75 void NinePatchPeeker::scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight) { argument 82 if (!SkScalarNearlyEqual(scaleX, 1.0f)) { 83 mPatch->paddingLeft = int(mPatch->paddingLeft * scaleX + 0.5f); 84 mPatch->paddingRight = int(mPatch->paddingRight * scaleX + 0.5f); 85 scaleDivRange(mPatch->getXDivs(), mPatch->numXDivs, scaleX, scaledWidth - 1);
|
H A D | ImageDecoder.cpp | 394 float scaleX = (float) desiredWidth / decodeInfo.width(); local 396 canvas.scale(scaleX, scaleY);
|
H A D | BitmapFactory.cpp | 405 const float scaleX = scaledWidth / float(decodingBitmap.width()); local 411 peeker.scale(scaleX, scaleY, scaledWidth, scaledHeight); 471 canvas.scale(scaleX, scaleY);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ScaledPathsActivity.java | 84 private void drawPath(Canvas canvas, float scaleX, float scaleY) { argument 86 canvas.scale(scaleX, scaleY); 89 canvas.translate(mPathBounds.width() * scaleX, 0.0f);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | ScaleFrameLayout.java | 55 public void setLayoutScaleX(float scaleX) { argument 56 if (scaleX != mLayoutScaleX) { 57 mLayoutScaleX = scaleX;
|
/frameworks/base/libs/hwui/ |
H A D | TessellationCache.h | 61 float scaleX; member in struct:android::uirenderer::TessellationCache::Description
|
H A D | TextDropShadowCache.h | 44 , scaleX(0) 57 , scaleX(paint->getTextScaleX()) 87 float scaleX; member in struct:android::uirenderer::ShadowText
|
H A D | VectorDrawable.cpp | 291 ALOGD("Group translateX, Y : %f, %f, scaleX, Y: %f, %f", mProperties.getTranslateX(), 353 case Property::scaleX: 380 case Property::scaleX: 592 float scaleX = cacheWidth / viewportWidth; local 594 outCanvas.scale(scaleX, scaleY);
|
H A D | PathTessellator.cpp | 66 void PathTessellator::extractTessellationScales(const Matrix4& transform, float* scaleX, argument 69 *scaleX = 1.0f; 76 *scaleX = MathUtils::clampTessellationScale(sqrt(m00 * m00 + m01 * m01)); 111 float scaleX, scaleY; local 112 PathTessellator::extractTessellationScales(transform, &scaleX, &scaleY); 113 inverseScaleX = 1.0f / scaleX;
|
H A D | RenderProperties.h | 295 bool setScaleX(float scaleX) { return RP_SET_AND_DIRTY(mPrimitiveFields.mScaleX, scaleX); } argument
|
H A D | VectorDrawable.h | 392 float scaleX = 1; member in struct:android::uirenderer::VectorDrawable::Group::GroupProperties::PrimitiveFields 407 float getScaleX() const { return mPrimitiveFields.scaleX; } 408 void setScaleX(float scaleX) { VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(scaleX, scaleX); } argument 419 void updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, argument 424 mPrimitiveFields.scaleX = scaleX; 440 scaleX, member in class:android::uirenderer::VectorDrawable::Group::GroupProperties::Property
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | RenderNode_Delegate.java | 180 float scaleX = renderNode.getScaleX(); 185 outMatrix.preScale(scaleX, scaleY, pivotX, pivotY); 299 /*package*/ static boolean nSetScaleX(long renderNode, float scaleX) { argument 301 if (delegate != null && delegate.mScaleX != scaleX) { 302 delegate.mScaleX = scaleX;
|
/frameworks/minikin/include/minikin/ |
H A D | MinikinFont.h | 38 scaleX(0), 51 float scaleX; member in struct:minikin::MinikinPaint 68 return size == paint.size && scaleX == paint.scaleX && skewX == paint.skewX &&
|
/frameworks/native/cmds/flatland/ |
H A D | GLHelper.cpp | 238 float scaleX = float(info.w) / float(w); local 240 *scale = scaleX < scaleY ? scaleX : scaleY;
|
/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | ViewPropertyAnimatorCompat.java | 399 * This method will cause the View's <code>scaleX</code> property to be animated to the 405 public ViewPropertyAnimatorCompat scaleX(float value) { method in class:ViewPropertyAnimatorCompat 408 view.animate().scaleX(value); 414 * This method will cause the View's <code>scaleX</code> property to be animated by the
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeTransform.java | 414 float translationZ, float scaleX, float scaleY, float rotationX, 419 view.setScaleX(scaleX); 430 public final float scaleX; field in class:ChangeTransform.Transforms 440 scaleX = view.getScaleX(); 448 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY, 461 thatTransform.scaleX == scaleX && 413 setTransforms(View view, float translationX, float translationY, float translationZ, float scaleX, float scaleY, float rotationX, float rotationY, float rotationZ) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | ViewState.java | 120 public float scaleX = 1.0f; field in class:ViewState 130 scaleX = viewState.scaleX; 141 scaleX = view.getScaleX(); 178 // apply scaleX 181 updateAnimation(view, SCALE_X_PROPERTY, scaleX); 182 } else if (view.getScaleX() != scaleX) { 183 view.setScaleX(scaleX); 297 // start scaleX animation 298 if (child.getScaleX() != scaleX) { [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicResize.cpp | 39 float scaleX; member in class:android::renderscript::RsdCpuScriptIntrinsicResize 339 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { 340 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; 342 uint32_t xinc16 = rint(cp->scaleX * 0x10000); 366 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; 406 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { 407 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; 409 uint32_t xinc16 = rint(cp->scaleX * 0x10000); 433 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; 473 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4. [all...] |
/frameworks/support/transition/src/main/java/androidx/transition/ |
H A D | ChangeTransform.java | 440 float translationZ, float scaleX, float scaleY, float rotationX, 445 view.setScaleX(scaleX); 439 setTransforms(View view, float translationX, float translationY, float translationZ, float scaleX, float scaleY, float rotationX, float rotationY, float rotationZ) argument
|
/frameworks/base/core/java/android/view/ |
H A D | ViewPropertyAnimator.java | 676 * This method will cause the View's <code>scaleX</code> property to be animated to the 683 public ViewPropertyAnimator scaleX(float value) { method in class:ViewPropertyAnimator 689 * This method will cause the View's <code>scaleX</code> property to be animated by the
|
H A D | RenderNode.java | 605 * @param scaleX The scale value of the display list 610 public boolean setScaleX(float scaleX) { argument 611 return nSetScaleX(mNativeRenderNode, scaleX); 972 private static native boolean nSetScaleX(long renderNode, float scaleX); argument
|
/frameworks/base/core/jni/ |
H A D | android_graphics_drawable_VectorDrawable.cpp | 177 jfloat pivotY, jfloat scaleX, jfloat scaleY, jfloat translateX, jfloat translateY) { 179 group->mutateStagingProperties()->updateProperties(rotate, pivotX, pivotY, scaleX, scaleY, 236 static void setScaleX(JNIEnv*, jobject, jlong groupPtr, jfloat scaleX) { argument 238 group->mutateStagingProperties()->setScaleX(scaleX); 176 updateGroupProperties(JNIEnv*, jobject, jlong groupPtr, jfloat rotate, jfloat pivotX, jfloat pivotY, jfloat scaleX, jfloat scaleY, jfloat translateX, jfloat translateY) argument
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | Paint_Delegate.java | 536 /*package*/ static void nSetTextScaleX(long nativePaint, float scaleX) { argument 543 if (delegate.mTextScaleX != scaleX) { 544 delegate.mTextScaleX = scaleX;
|
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 602 double scaleX = paint.scaleX; local 627 hb_font_set_ppem(hbFont.get(), size * scaleX, size); 628 hb_font_set_scale(hbFont.get(), HBFloatToFixed(size * scaleX), HBFloatToFixed(size)); 655 letterSpace = paint.letterSpacing * size * scaleX;
|
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/ |
H A D | VectorDrawableCompat.java | 128 * <dt><code>android:scaleX</code></dt> 538 float scaleX = viewportWidth / intrinsicWidth; 540 return Math.min(scaleX, scaleY); 1163 final float scaleX = w / mViewportWidth; 1165 final float minScale = Math.min(scaleX, scaleY); 1169 mFinalPathMatrix.postScale(scaleX, scaleY); 1268 float scaleX = (float) Math.hypot(unitVectors[0], unitVectors[1]); 1272 float maxScale = Math.max(scaleX, scaleY); 1279 Log.d(LOGTAG, "Scale x " + scaleX + " y " + scaleY + " final " + matrixScale); 1382 mScaleX = TypedArrayUtils.getNamedFloat(a, parser, "scaleX", 1459 setScaleX(float scaleX) argument [all...] |