Searched refs:scaleX (Results 26 - 50 of 53) sorted by relevance

123

/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java140 * <dt><code>android:scaleX</code></dt>
564 float scaleX = viewportWidth / intrinsicWidth;
566 return Math.min(scaleX, scaleY);
1194 final float scaleX = w / mViewportWidth;
1196 final float minScale = Math.min(scaleX, scaleY);
1200 mFinalPathMatrix.postScale(scaleX, scaleY);
1297 float scaleX = (float) Math.hypot(unitVectors[0], unitVectors[1]);
1301 float maxScale = Math.max(scaleX, scaleY);
1308 Log.d(LOGTAG, "Scale x " + scaleX + " y " + scaleY + " final " + matrixScale);
1411 mScaleX = TypedArrayUtils.getNamedFloat(a, parser, "scaleX",
1488 setScaleX(float scaleX) argument
[all...]
/frameworks/support/compat/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/libs/hwui/
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 DTessellationCache.h62 float scaleX; member in struct:android::uirenderer::TessellationCache::Description
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);
/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;
H A DLineBreaker.cpp134 hyphenPenalty = 0.5 * paint->size * paint->scaleX * mLineWidths.getLineWidth(0);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java132 * <dt><code>android:scaleX</code></dt>
597 float scaleX = viewportWidth / intrinsicWidth;
599 return Math.min(scaleX, scaleY);
1083 put("scaleX", SCALE_X_INDEX);
1128 new FloatProperty<VGroup> ("scaleX") {
1197 put("scaleX", SCALE_X);
1320 float scaleX = a.getFloat(R.styleable.VectorDrawableGroup_scaleX,
1334 nUpdateGroupProperties(mNativePtr, rotate, pivotX, pivotY, scaleX, scaleY,
1449 public void setScaleX(float scaleX) { argument
1451 nSetScaleX(mNativePtr, scaleX);
2183 nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY) argument
2203 nSetScaleX(long groupPtr, float scaleX) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DPlatLogoActivity.java176 im.animate().scaleX(1f).scaleY(1f).alpha(1f)
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java327 v.animate().withLayer().scaleX(s).scaleY(s).alpha(1f).setDuration(animationLen);
399 .scaleX(0.5f).scaleY(0.5f).alpha(0)
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileAdapter.java436 .scaleX(DRAG_SCALE)
449 .scaleX(1)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskView.java475 .scaleX(1f)
499 .scaleX(toScale)
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchOrbView.java252 mRootView.animate().scaleX(zoom).scaleY(zoom).setDuration(mScaleDurationMs).start();
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSurfaceTextureRenderer.java281 float scaleX = intermediate.width() / output.width();
288 Matrix.scaleM(mMVPMatrix, /*offset*/0, /*x*/scaleX, /*y*/scaleY, /*z*/1);
291 Log.d(TAG, "Scaling factors (S_x = " + scaleX + ",S_y = " + scaleY + ") used for " +
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java624 float scaleX = (float) mPreview.getWidth() / mImageWidth;
626 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX,
/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
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDividerView.java657 mBackground.animate().scaleX(1.4f);
683 .scaleX(1f)
731 .scaleX(minimized ? MINIMIZE_DOCK_SCALE : 1f);
/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/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java1031 ViewPropertyAnimator animator = mTemporaryImage.animate().scaleX(1f).scaleY(1f)
1118 animator = mTemporaryImage.animate().scaleX(scale).scaleY(scale)
1122 animator = mViewPager.animate().scaleX(scale).scaleY(scale)
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
H A DMLand.java784 .scaleX(1f)
819 .scaleX(1f)
1162 .scaleX(1.25f)
1176 .scaleX(1f)
/frameworks/base/core/java/android/provider/
H A DMediaStore.java914 float scaleX = width / source.getWidth();
917 matrix.setScale(scaleX, scaleY);
/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
/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/packages/SystemUI/src/com/android/systemui/statusbar/
H A DActivatableNotificationView.java530 .scaleX(1f)

Completed in 2654 milliseconds

123