Searched refs:scaleX (Results 1 - 25 of 42) sorted by relevance

12

/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h37 flags(0), italicStyle(0.0f), scaleX(0), text(NULL), positions(NULL) {
56 scaleX = paint->getTextScaleX();
91 float scaleX; member in struct:android::uirenderer::ShadowText
H A DTextDropShadowCache.cpp41 hash = JenkinsHashMix(hash, android::hash_type(scaleX));
72 if (lhs.scaleX < rhs.scaleX) return -1;
73 if (lhs.scaleX > rhs.scaleX) return +1;
H A DPathTessellator.h33 * Populates scaleX and scaleY with the 'tessellation scale' of the transform - the effective X
40 static void extractTessellationScales(const Matrix4& transform, float* scaleX, float* scaleY);
H A DTessellationCache.cpp39 , scaleX(1.0f)
54 PathTessellator::extractTessellationScales(transform, &scaleX, &scaleY);
64 hash = JenkinsHashMix(hash, android::hash_type(scaleX));
71 matrix->loadScale(scaleX, scaleY, 1.0f);
H A DTessellationCache.h56 float scaleX; member in struct:android::uirenderer::TessellationCache::Description
H A DPathTessellator.cpp66 float* scaleX, float* scaleY) {
68 *scaleX = 1.0f;
75 *scaleX = MathUtils::clampTessellationScale(sqrt(m00 * m00 + m01 * m01));
107 float scaleX, scaleY; local
108 PathTessellator::extractTessellationScales(transform, &scaleX, &scaleY);
109 inverseScaleX = 1.0f / scaleX;
65 extractTessellationScales(const Matrix4& transform, float* scaleX, float* scaleY) argument
H A DRenderProperties.h315 bool setScaleX(float scaleX) { argument
316 return RP_SET_AND_DIRTY(mPrimitiveFields.mScaleX, scaleX);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DScaledPathsActivity.java84 private void drawPath(Canvas canvas, float scaleX, float scaleY) { argument
86 canvas.scale(scaleX, scaleY);
89 canvas.translate(mPathBounds.width() * scaleX, 0.0f);
/frameworks/minikin/include/minikin/
H A DMinikinFont.h35 MinikinPaint() : font(0), size(0), scaleX(0), skewX(0), letterSpacing(0), paintFlags(0),
44 float scaleX; member in struct:android::MinikinPaint
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
H A DUtils.java132 PropertyValuesHolder scaleX = PropertyValuesHolder.ofKeyframe("scaleX", k0, k1, k2, k3);
135 ObjectAnimator.ofPropertyValuesHolder(labelToAnimate, scaleX, scaleY);
/frameworks/base/core/java/android/transition/
H A DChangeTransform.java376 float translationZ, float scaleX, float scaleY, float rotationX,
381 view.setScaleX(scaleX);
392 public final float scaleX; field in class:ChangeTransform.Transforms
402 scaleX = view.getScaleX();
410 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY,
423 thatTransform.scaleX == scaleX &&
375 setTransforms(View view, float translationX, float translationY, float translationZ, float scaleX, float scaleY, float rotationX, float rotationY, float rotationZ) argument
H A DChangeImageTransform.java108 float scaleX = ((float) bounds.width()) / drawableWidth;
111 matrix.setScale(scaleX, scaleY);
/frameworks/support/v4/ics/android/support/v4/view/
H A DViewPropertyAnimatorCompatICS.java85 public static void scaleX(View view, float value) { method in class:ViewPropertyAnimatorCompatICS
86 view.animate().scaleX(value);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DSpeedBumpView.java98 .scaleX(endValue)
/frameworks/base/core/java/android/view/
H A DRenderNode.java603 * @param scaleX The scale value of the display list
608 public boolean setScaleX(float scaleX) { argument
609 return nSetScaleX(mNativeRenderNode, scaleX);
882 private static native boolean nSetScaleX(long renderNode, float scaleX); argument
/frameworks/base/core/jni/android/graphics/
H A DMinikinUtils.cpp57 minikinPaint.scaleX = paint->getTextScaleX();
H A DMinikinSkia.cpp48 skPaint->setTextScaleX(paint.scaleX);
/frameworks/base/core/java/com/android/internal/app/
H A DPlatLogoActivity.java150 .scaleX(1)
232 im.animate().scaleX(0.3f).scaleY(0.3f)
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicResize.cpp42 float scaleX; member in class:android::renderscript::RsdCpuScriptIntrinsicResize
211 float xf = x1 * cp->scaleX;
251 float xf = x1 * cp->scaleX;
291 float xf = x1 * cp->scaleX;
332 scaleX = (float)srcWidth / aout->mHal.drvState.lod[0].dimX;
/frameworks/native/cmds/flatland/
H A DGLHelper.cpp239 float scaleX = float(info.w) / float(w); local
241 *scale = scaleX < scaleY ? scaleX : scaleY;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewTransform.java95 anim.scaleX(scale)
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java102 * <dt><code>android:scaleX</code></dt>
408 float scaleX = viewportWidth / intrinsicWidth;
410 return Math.min(scaleX, scaleY);
943 final float scaleX = w / mViewportWidth;
945 final float minScale = Math.min(scaleX, scaleY);
948 mFinalPathMatrix.postScale(scaleX, scaleY);
1197 public void setScaleX(float scaleX) { argument
1198 if (scaleX != mScaleX) {
1199 mScaleX = scaleX;
/frameworks/minikin/libs/minikin/
H A DLayout.cpp79 mSize(paint.size), mScaleX(paint.scaleX), mSkewX(paint.skewX),
677 double scaleX = ctx->paint.scaleX; local
678 double letterSpace = ctx->paint.letterSpacing * size * scaleX;
705 hb_font_set_ppem(hbFont, size * scaleX, size);
706 hb_font_set_scale(hbFont, HBFloatToFixed(size * scaleX), HBFloatToFixed(size));
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPropertyAnimatorCompat.java54 public void scaleX(ViewPropertyAnimatorCompat vpa, View view, float value); method in interface:ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl
177 public void scaleX(ViewPropertyAnimatorCompat vpa, View view, float value) { method in class:ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl
414 public void scaleX(ViewPropertyAnimatorCompat vpa, View view, float value) { method in class:ViewPropertyAnimatorCompat.ICSViewPropertyAnimatorCompatImpl
415 ViewPropertyAnimatorCompatICS.scaleX(view, value);
925 * This method will cause the View's <code>scaleX</code> property to be animated to the
933 public ViewPropertyAnimatorCompat scaleX(float value) { method in class:ViewPropertyAnimatorCompat
936 IMPL.scaleX(this, view, value);
942 * This method will cause the View's <code>scaleX</code> property to be animated by the
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSurfaceTextureRenderer.java242 float scaleX = intermediate.width() / output.width();
247 Matrix.scaleM(mMVPMatrix, /*offset*/0, /*x*/scaleY, /*y*/scaleX, /*z*/1);
250 Log.d(TAG, "Scaling factors (S_x = " + scaleX + ",S_y = " + scaleY + ") used for " +

Completed in 470 milliseconds

12