Searched refs:scaleY (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
H A DUtils.java133 PropertyValuesHolder scaleY = PropertyValuesHolder.ofKeyframe("scaleY", k0, k1, k2, k3);
135 ObjectAnimator.ofPropertyValuesHolder(labelToAnimate, scaleX, scaleY);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java174 float scaleY = renderNode.getScaleY();
178 outMatrix.preScale(scaleX, scaleY, pivotX, pivotY);
311 /*package*/ static boolean nSetScaleY(long renderNode, float scaleY) { argument
313 if (delegate != null && delegate.mScaleY != scaleY) {
314 delegate.mScaleY = scaleY;
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifPatternDrawable.java166 float scaleY = height / VIEWBOX_HEIGHT;
169 canvas.scale(scaleX, scaleY);
170 if (scaleY > scaleX) {
173 canvas.scale(scaleY / scaleX, 1f, SCALE_FOCUS_X, 0f);
177 canvas.scale(1f, scaleX / scaleY, 0f, SCALE_FOCUS_Y);
/frameworks/base/libs/hwui/
H A DVectorDrawable.h105 float scaleX, float scaleY, bool useStagingData) = 0;
165 float scaleX, float scaleY, bool useStagingData) override;
418 float scaleY = 1; member in struct:android::uirenderer::VectorDrawable::Group::GroupProperties::PrimitiveFields
451 return mPrimitiveFields.scaleY;
453 void setScaleY(float scaleY) { argument
454 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(scaleY, scaleY);
469 float scaleX, float scaleY, float translateX, float translateY) {
474 mPrimitiveFields.scaleY = scaleY;
468 updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY) argument
489 scaleY, member in class:android::uirenderer::VectorDrawable::Group::GroupProperties::Property
[all...]
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);
84 float scaleY = hypotf(skVectors[1].fX, skVectors[1].fY); local
86 float maxScale = fmax(scaleX, scaleY);
321 float scaleY, bool useStagingData) {
337 child->draw(outCanvas, stackedMatrix, scaleX, scaleY, useStagingData);
409 case Property::scaleY:
437 case Property::scaleY:
558 float scaleY local
320 draw(SkCanvas* outCanvas, const SkMatrix& currentMatrix, float scaleX, float scaleY, bool useStagingData) argument
[all...]
H A DPathTessellator.h57 * Populates scaleX and scaleY with the 'tessellation scale' of the transform - the effective X
64 static void extractTessellationScales(const Matrix4& transform, float* scaleX, float* scaleY);
H A DTessellationCache.cpp40 , scaleY(1.0f)
55 PathTessellator::extractTessellationScales(transform, &scaleX, &scaleY);
63 if (scaleY != rhs.scaleY) return false;
85 hash = JenkinsHashMix(hash, android::hash_type(scaleY));
91 matrix->loadScale(scaleX, scaleY, 1.0f);
H A DPathTessellator.cpp68 float* scaleX, float* scaleY) {
71 *scaleY = 1.0f;
78 *scaleY = MathUtils::clampTessellationScale(sqrt(m10 * m10 + m11 * m11));
109 float scaleX, scaleY; local
110 PathTessellator::extractTessellationScales(transform, &scaleX, &scaleY);
112 inverseScaleY = 1.0f / scaleY;
67 extractTessellationScales(const Matrix4& transform, float* scaleX, float* scaleY) argument
/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);
/frameworks/support/design/ics/android/support/design/widget/
H A DFloatingActionButtonIcs.java64 .scaleY(0f)
111 .scaleY(1f)
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java271 float pivotY, float scaleX, float scaleY, float translateX, float translateY) {
278 group.setScaleY(scaleY);
357 static void nSetScaleY(long groupPtr, float scaleY) { argument
359 group.setScaleY(scaleY);
929 private void setScaleY(float scaleY) { argument
930 if (scaleY != mScaleY) {
931 mScaleY = scaleY;
1082 final float scaleY = h / mViewportHeight;
1083 final float minScale = Math.min(scaleX, scaleY);
1087 mFinalPathMatrix.postScale(scaleX, scaleY);
270 nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY) argument
[all...]
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DMediaStoreSaver.java124 float scaleY = height / source.getHeight();
126 matrix.setScale(scaleX, scaleY);
/frameworks/support/v4/ics/android/support/v4/view/
H A DViewPropertyAnimatorCompatICS.java93 public static void scaleY(View view, float value) { method in class:ViewPropertyAnimatorCompatICS
94 view.animate().scaleY(value);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DScaleFrameLayout.java57 public void setLayoutScaleY(float scaleY) { argument
58 if (scaleY != mLayoutScaleY) {
59 mLayoutScaleY = scaleY;
/frameworks/base/core/java/android/transition/
H A DChangeTransform.java412 float translationZ, float scaleX, float scaleY, float rotationX,
418 view.setScaleY(scaleY);
429 public final float scaleY; field in class:ChangeTransform.Transforms
439 scaleY = view.getScaleY();
446 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY,
460 thatTransform.scaleY == scaleY &&
411 setTransforms(View view, float translationX, float translationY, float translationZ, float scaleX, float scaleY, float rotationX, float rotationY, float rotationZ) argument
H A DChangeImageTransform.java109 float scaleY = ((float) bounds.height()) / drawableHeight;
111 matrix.setScale(scaleX, scaleY);
/frameworks/base/core/java/android/view/
H A DRenderNode.java583 * @param scaleY The scale value of the display list
588 public boolean setScaleY(float scaleY) { argument
589 return nSetScaleY(mNativeRenderNode, scaleY);
866 private static native boolean nSetScaleY(long renderNode, float scaleY); argument
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DAndroidResources.java36 android.R.attr.scaleX, android.R.attr.scaleY, android.R.attr.rotation,
H A DVectorDrawableCompat.java384 float scaleY = viewportHeight / intrinsicHeight;
385 return Math.min(scaleX, scaleY);
1000 final float scaleY = h / mViewportHeight;
1001 final float minScale = Math.min(scaleX, scaleY);
1005 mFinalPathMatrix.postScale(scaleX, scaleY);
1103 float scaleY = (float) Math.hypot(unitVectors[2], unitVectors[3]);
1106 float maxScale = Math.max(scaleX, scaleY);
1113 Log.d(LOGTAG, "Scale x " + scaleX + " y " + scaleY + " final " + matrixScale);
1220 mScaleY = TypedArrayUtils.getNamedFloat(a, parser, "scaleY",
1306 public void setScaleY(float scaleY) { argument
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicResize.cpp43 float scaleY; member in class:android::renderscript::RsdCpuScriptIntrinsicResize
327 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
394 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
461 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
528 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
568 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
608 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
687 scaleY = (float)srcHeight / aout->mHal.drvState.lod[0].dimY;
/frameworks/native/cmds/flatland/
H A DGLHelper.cpp240 float scaleY = float(info.h) / float(h); local
241 *scale = scaleX < scaleY ? scaleX : scaleY;
/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,
241 static void setScaleY(JNIEnv*, jobject, jlong groupPtr, jfloat scaleY) { argument
243 group->mutateStagingProperties()->setScaleY(scaleY);
171 updateGroupProperties(JNIEnv*, jobject, jlong groupPtr, jfloat rotate, jfloat pivotX, jfloat pivotY, jfloat scaleX, jfloat scaleY, jfloat translateX, jfloat translateY) argument
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPropertyAnimatorCompat.java56 public void scaleY(ViewPropertyAnimatorCompat vpa, View view, float value); method in interface:ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl
193 public void scaleY(ViewPropertyAnimatorCompat vpa, View view, float value) { method in class:ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl
453 public void scaleY(ViewPropertyAnimatorCompat vpa, View view, float value) { method in class:ViewPropertyAnimatorCompat.ICSViewPropertyAnimatorCompatImpl
454 ViewPropertyAnimatorCompatICS.scaleY(view, value);
1024 * This method will cause the View's <code>scaleY</code> property to be animated to the
1032 public ViewPropertyAnimatorCompat scaleY(float value) { method in class:ViewPropertyAnimatorCompat
1035 IMPL.scaleY(this, view, value);
1041 * This method will cause the View's <code>scaleY</code> property to be animated by the
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java1003 final float scaleY = (float) mAnimationStartHeight / totalHeight;
1004 final float scale = Math.max(scaleW, scaleY);
1031 ViewPropertyAnimator animator = mTemporaryImage.animate().scaleX(1f).scaleY(1f)
1093 final float scaleY = (float) mAnimationStartHeight / totalHeight;
1094 final float scale = Math.max(scaleW, scaleY);
1118 animator = mTemporaryImage.animate().scaleX(scale).scaleY(scale)
1122 animator = mViewPager.animate().scaleX(scale).scaleY(scale)
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java118 * <dt><code>android:scaleY</code></dt>
537 float scaleY = viewportHeight / intrinsicHeight;
538 return Math.min(scaleX, scaleY);
992 put("scaleY", SCALE_Y_INDEX);
1117 float scaleY = a.getFloat(R.styleable.VectorDrawableGroup_scaleY,
1129 nUpdateGroupProperties(mNativePtr, rotate, pivotX, pivotY, scaleX, scaleY,
1256 public void setScaleY(float scaleY) { argument
1258 nSetScaleY(mNativePtr, scaleY);
1825 float pivotY, float scaleX, float scaleY, float translateX, float translateY);
1846 private static native void nSetScaleY(long groupPtr, float scaleY); argument
1824 nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY) argument
[all...]

Completed in 1433 milliseconds

12