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

12

/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/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.h343 bool setScaleX(float scaleX) { argument
344 return RP_SET_AND_DIRTY(mPrimitiveFields.mScaleX, scaleX);
H A DDisplayListCanvas.cpp293 float scaleX = (dstRight - dstLeft) / (srcRight - srcLeft); local
295 if (!MathUtils::areEqual(scaleX, 1.0f) || !MathUtils::areEqual(scaleY, 1.0f)) {
301 scale(scaleX, scaleY);
/frameworks/minikin/libs/minikin/
H A DLayout.cpp111 mSize(paint.size), mScaleX(paint.scaleX), mSkewX(paint.skewX),
706 double scaleX = ctx->paint.scaleX; local
725 hb_font_set_ppem(hbFont, size * scaleX, size);
726 hb_font_set_scale(hbFont, HBFloatToFixed(size * scaleX), HBFloatToFixed(size));
741 letterSpace = ctx->paint.letterSpacing * size * scaleX;
H A DLineBreaker.cpp146 hyphenPenalty = 0.5 * paint->size * paint->scaleX * mLineWidths.getLineWidth(0);
/frameworks/base/core/java/com/android/internal/app/
H A DPlatLogoActivity.java197 im.animate().scaleX(1f).scaleY(1f).alpha(1f)
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java320 v.animate().withLayer().scaleX(s).scaleY(s).alpha(1f).setDuration(animationLen);
392 .scaleX(0.5f).scaleY(0.5f).alpha(0)
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchOrbView.java250 mRootView.animate().scaleX(zoom).scaleY(zoom).setDuration(mScaleDurationMs).start();
/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/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java949 ViewPropertyAnimator animator = mTemporaryImage.animate().scaleX(1f).scaleY(1f)
1029 animator = mTemporaryImage.animate().scaleX(scale).scaleY(scale)
1033 animator = mViewPager.animate().scaleX(scale).scaleY(scale)
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
H A DMLand.java785 .scaleX(1f)
820 .scaleX(1f)
1163 .scaleX(1.25f)
1177 .scaleX(1f)
/frameworks/support/design/src/android/support/design/widget/
H A DFloatingActionButton.java358 .scaleX(1f)
/frameworks/base/core/java/android/provider/
H A DMediaStore.java908 float scaleX = width / source.getWidth();
911 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
H A DView.java11236 * @param scaleX The scaling factor.
11242 public void setScaleX(float scaleX) { argument
11243 if (scaleX != getScaleX()) {
11245 mRenderNode.setScaleX(scaleX);
12844 * alpha, translationX/Y, scrollX/Y, scaleX/Y, and rotation/X/Y. This method only
12859 * alpha, translationX/Y, scrollX/Y, scaleX/Y, and rotation/X/Y. This method will propagate
20926 * A Property wrapper around the <code>scaleX</code> functionality handled by the
20929 public static final Property<View, Float> SCALE_X = new FloatProperty<View>("scaleX") {
22487 stream.addProperty("drawing:scaleX", getScaleX());
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskView.java411 .scaleX(toScale)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DActivatableNotificationView.java402 .scaleX(1f)
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java499 /*package*/ static void setTextScaleX(Paint thisPaint, float scaleX) { argument
506 delegate.mTextScaleX = scaleX;
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp446 static void setTextScaleX(JNIEnv* env, jobject paint, jfloat scaleX) { argument
448 getNativePaint(env, paint)->setTextScaleX(scaleX);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1263 * @param scaleX set the paint's scale in X for drawing/measuring text.
1265 public native void setTextScaleX(float scaleX); argument

Completed in 3074 milliseconds

12