Searched defs:scaleX (Results 1 - 22 of 22) sorted by relevance

/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/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DScaleFrameLayout.java47 public void setLayoutScaleX(float scaleX) { argument
48 if (scaleX != mLayoutScaleX) {
49 mLayoutScaleX = scaleX;
/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/libs/hwui/
H A DTessellationCache.h56 float scaleX; member in struct:android::uirenderer::TessellationCache::Description
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 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);
H A DOpenGLRenderer.cpp2178 float scaleX = (dstRight - dstLeft) / (srcRight - srcLeft); local
2181 bool scaled = scaleX != 1.0f || scaleY != 1.0f;
2207 scale(scaleX, scaleY);
/frameworks/native/cmds/flatland/
H A DGLHelper.cpp239 float scaleX = float(info.w) / float(w); local
241 *scale = scaleX < scaleY ? scaleX : scaleY;
/frameworks/base/core/java/android/transition/
H A DChangeTransform.java412 float translationZ, float scaleX, float scaleY, float rotationX,
417 view.setScaleX(scaleX);
428 public final float scaleX; field in class:ChangeTransform.Transforms
438 scaleX = view.getScaleX();
446 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY,
459 thatTransform.scaleX == scaleX &&
411 setTransforms(View view, float translationX, float translationY, float translationZ, float scaleX, float scaleY, float rotationX, float rotationY, float rotationZ) argument
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicResize.cpp42 float scaleX; member in class:android::renderscript::RsdCpuScriptIntrinsicResize
211 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
251 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
291 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
332 scaleX = (float)srcWidth / aout->mHal.drvState.lod[0].dimX;
/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
417 public void scaleX(ViewPropertyAnimatorCompat vpa, View view, float value) { method in class:ViewPropertyAnimatorCompat.ICSViewPropertyAnimatorCompatImpl
418 ViewPropertyAnimatorCompatICS.scaleX(view, value);
928 * This method will cause the View's <code>scaleX</code> property to be animated to the
936 public ViewPropertyAnimatorCompat scaleX(float value) { method in class:ViewPropertyAnimatorCompat
939 IMPL.scaleX(this, view, value);
945 * This method will cause the View's <code>scaleX</code> property to be animated by the
/frameworks/base/core/java/android/view/
H A DViewPropertyAnimator.java677 * This method will cause the View's <code>scaleX</code> property to be animated to the
684 public ViewPropertyAnimator scaleX(float value) { method in class:ViewPropertyAnimator
690 * This method will cause the View's <code>scaleX</code> property to be animated by the
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
H A DView.java10350 * @param scaleX The scaling factor.
10356 public void setScaleX(float scaleX) { argument
10357 if (scaleX != getScaleX()) {
10359 mRenderNode.setScaleX(scaleX);
11932 * alpha, translationX/Y, scrollX/Y, scaleX/Y, and rotation/X/Y. This method only
11947 * alpha, translationX/Y, scrollX/Y, scaleX/Y, and rotation/X/Y. This method will propagate
19659 * A Property wrapper around the <code>scaleX</code> functionality handled by the
19662 public static final Property<View, Float> SCALE_X = new FloatProperty<View>("scaleX") {
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp398 static void setTextScaleX(JNIEnv* env, jobject paint, jfloat scaleX) { argument
400 GraphicsJNI::getNativePaint(env, paint)->setTextScaleX(scaleX);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java103 * <dt><code>android:scaleX</code></dt>
410 float scaleX = viewportWidth / intrinsicWidth;
412 return Math.min(scaleX, scaleY);
940 final float scaleX = w / mViewportWidth;
942 final float minScale = Math.min(scaleX, scaleY);
945 mFinalPathMatrix.postScale(scaleX, scaleY);
1194 public void setScaleX(float scaleX) { argument
1195 if (scaleX != mScaleX) {
1196 mScaleX = scaleX;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java494 /*package*/ static void setTextScaleX(Paint thisPaint, float scaleX) { argument
501 delegate.mTextScaleX = 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/base/graphics/java/android/graphics/
H A DPaint.java1252 * @param scaleX set the paint's scale in X for drawing/measuring text.
1254 public native void setTextScaleX(float scaleX); argument
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DPagedView.java360 public void setScaleX(float scaleX) { argument
361 super.setScaleX(scaleX);
2195 ObjectAnimator.ofFloat(this, "scaleX", mMinScale),
2345 ObjectAnimator.ofFloat(this, "scaleX", 1f),
2622 ObjectAnimator.ofFloat(dragView, "scaleX", toScale),

Completed in 554 milliseconds