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

12

/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/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DScaleFrameLayout.java50 public void setLayoutScaleX(float scaleX) { argument
51 if (scaleX != mLayoutScaleX) {
52 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.h62 float scaleX; member in struct:android::uirenderer::TessellationCache::Description
H A DTextDropShadowCache.h38 flags(0), italicStyle(0.0f), scaleX(0), glyphs(nullptr), positions(nullptr) {
50 , scaleX(paint->getTextScaleX())
86 float scaleX; member in struct:android::uirenderer::ShadowText
H A DVectorDrawable.cpp36 void Path::draw(SkCanvas* outCanvas, const SkMatrix& groupStackedMatrix, float scaleX, float scaleY, argument
45 pathMatrix.postScale(scaleX, scaleY);
59 float minScale = fmin(scaleX, scaleY);
83 float scaleX = hypotf(skVectors[0].fX, skVectors[0].fY); local
86 float maxScale = fmax(scaleX, scaleY);
320 void Group::draw(SkCanvas* outCanvas, const SkMatrix& currentMatrix, float scaleX, argument
337 child->draw(outCanvas, stackedMatrix, scaleX, scaleY, useStagingData);
345 ALOGD("Group translateX, Y : %f, %f, scaleX, Y: %f, %f", mProperties.getTranslateX(),
407 case Property::scaleX:
434 case Property::scaleX
557 float scaleX = outCache->width() / viewportWidth; local
[all...]
H A DDisplayListCanvas.cpp283 float scaleX = (dstRight - dstLeft) / (srcRight - srcLeft); local
285 if (!MathUtils::areEqual(scaleX, 1.0f) || !MathUtils::areEqual(scaleY, 1.0f)) {
291 scale(scaleX, scaleY);
H A DPathTessellator.cpp68 float* scaleX, float* scaleY) {
70 *scaleX = 1.0f;
77 *scaleX = MathUtils::clampTessellationScale(sqrt(m00 * m00 + m01 * m01));
109 float scaleX, scaleY; local
110 PathTessellator::extractTessellationScales(transform, &scaleX, &scaleY);
111 inverseScaleX = 1.0f / scaleX;
67 extractTessellationScales(const Matrix4& transform, float* scaleX, float* scaleY) argument
H A DRenderProperties.h344 bool setScaleX(float scaleX) { argument
345 return RP_SET_AND_DIRTY(mPrimitiveFields.mScaleX, scaleX);
H A DVectorDrawable.h105 float scaleX, float scaleY, bool useStagingData) = 0;
165 float scaleX, float scaleY, bool useStagingData) override;
417 float scaleX = 1; member in struct:android::uirenderer::VectorDrawable::Group::GroupProperties::PrimitiveFields
445 return mPrimitiveFields.scaleX;
447 void setScaleX(float scaleX) { argument
448 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(scaleX, scaleX);
469 float scaleX, float scaleY, float translateX, float translateY) {
473 mPrimitiveFields.scaleX = scaleX;
468 updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY) argument
488 scaleX, member in class:android::uirenderer::VectorDrawable::Group::GroupProperties::Property
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java173 float scaleX = renderNode.getScaleX();
178 outMatrix.preScale(scaleX, scaleY, pivotX, pivotY);
292 /*package*/ static boolean nSetScaleX(long renderNode, float scaleX) { argument
294 if (delegate != null && delegate.mScaleX != scaleX) {
295 delegate.mScaleX = scaleX;
/frameworks/minikin/include/minikin/
H A DMinikinFont.h48 MinikinPaint() : font(0), size(0), scaleX(0), skewX(0), letterSpacing(0), paintFlags(0),
57 float scaleX; member in struct:android::MinikinPaint
/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
346 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) {
347 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
349 uint32_t xinc16 = rint(cp->scaleX * 0x10000);
373 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
413 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) {
414 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
416 uint32_t xinc16 = rint(cp->scaleX * 0x10000);
440 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
480 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.
[all...]
/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
181 public void scaleX(ViewPropertyAnimatorCompat vpa, View view, float value) { method in class:ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl
443 public void scaleX(ViewPropertyAnimatorCompat vpa, View view, float value) { method in class:ViewPropertyAnimatorCompat.ICSViewPropertyAnimatorCompatImpl
444 ViewPropertyAnimatorCompatICS.scaleX(view, value);
990 * This method will cause the View's <code>scaleX</code> property to be animated to the
998 public ViewPropertyAnimatorCompat scaleX(float value) { method in class:ViewPropertyAnimatorCompat
1001 IMPL.scaleX(this, view, value);
1007 * 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.java675 * This method will cause the View's <code>scaleX</code> property to be animated to the
682 public ViewPropertyAnimator scaleX(float value) { method in class:ViewPropertyAnimator
688 * This method will cause the View's <code>scaleX</code> property to be animated by the
H A DRenderNode.java562 * @param scaleX The scale value of the display list
567 public boolean setScaleX(float scaleX) { argument
568 return nSetScaleX(mNativeRenderNode, scaleX);
865 private static native boolean nSetScaleX(long renderNode, float scaleX); argument
/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_VectorDrawable.cpp172 jfloat pivotY, jfloat scaleX, jfloat scaleY, jfloat translateX, jfloat translateY) {
174 group->mutateStagingProperties()->updateProperties(rotate, pivotX, pivotY, scaleX, scaleY,
231 static void setScaleX(JNIEnv*, jobject, jlong groupPtr, jfloat scaleX) { argument
233 group->mutateStagingProperties()->setScaleX(scaleX);
171 updateGroupProperties(JNIEnv*, jobject, jlong groupPtr, jfloat rotate, jfloat pivotX, jfloat pivotY, jfloat scaleX, jfloat scaleY, jfloat translateX, jfloat translateY) argument
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp355 static void setTextScaleX(JNIEnv* env, jobject, jlong paintHandle, jfloat scaleX) { argument
356 reinterpret_cast<Paint*>(paintHandle)->setTextScaleX(scaleX);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java513 /*package*/ static void nSetTextScaleX(Paint thisPaint, long nativePaint, float scaleX) { argument
520 if (delegate.mTextScaleX != scaleX) {
521 delegate.mTextScaleX = scaleX;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java271 float pivotY, float scaleX, float scaleY, float translateX, float translateY) {
277 group.setScaleX(scaleX);
345 static void nSetScaleX(long groupPtr, float scaleX) { argument
347 group.setScaleX(scaleX);
918 private void setScaleX(float scaleX) { argument
919 if (scaleX != mScaleX) {
920 mScaleX = scaleX;
1081 final float scaleX = w / mViewportWidth;
1083 final float minScale = Math.min(scaleX, scaleY);
1087 mFinalPathMatrix.postScale(scaleX, scale
270 nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY) argument
[all...]
/frameworks/minikin/libs/minikin/
H A DLayout.cpp116 mSize(paint.size), mScaleX(paint.scaleX), mSkewX(paint.skewX),
730 double scaleX = ctx->paint.scaleX; local
748 hb_font_set_ppem(hbFont, size * scaleX, size);
749 hb_font_set_scale(hbFont, HBFloatToFixed(size * scaleX), HBFloatToFixed(size));
764 letterSpace = ctx->paint.letterSpacing * size * scaleX;
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java383 float scaleX = viewportWidth / intrinsicWidth;
385 return Math.min(scaleX, scaleY);
999 final float scaleX = w / mViewportWidth;
1001 final float minScale = Math.min(scaleX, scaleY);
1005 mFinalPathMatrix.postScale(scaleX, scaleY);
1102 float scaleX = (float) Math.hypot(unitVectors[0], unitVectors[1]);
1106 float maxScale = Math.max(scaleX, scaleY);
1113 Log.d(LOGTAG, "Scale x " + scaleX + " y " + scaleY + " final " + matrixScale);
1216 mScaleX = TypedArrayUtils.getNamedFloat(a, parser, "scaleX",
1293 public void setScaleX(float scaleX) { argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1443 * @param scaleX set the paint's scale in X for drawing/measuring text.
1445 public void setTextScaleX(float scaleX) { argument
1446 nSetTextScaleX(mNativePaint, scaleX);
1449 private native void nSetTextScaleX(long paintPtr, float scaleX); argument

Completed in 562 milliseconds

12