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

123

/frameworks/support/transition/tests/src/android/support/transition/
H A DChangeImageTransformTest.java111 float scaleY = ((float) imageViewHeight) / imageHeight;
114 matrix.postScale(scaleX, scaleY);
125 float scaleY = ((float) imageViewHeight) / imageHeight;
127 float maxScale = Math.max(scaleX, scaleY);
147 float scaleY = ((float) imageViewHeight) / imageHeight;
149 float minScale = Math.min(scaleX, scaleY);
169 float scaleY = ((float) imageViewHeight) / imageHeight;
171 float minScale = Math.min(scaleX, scaleY);
185 float scaleY = ((float) imageViewHeight) / imageHeight;
187 float minScale = Math.min(scaleX, scaleY);
[all...]
/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/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifPatternDrawable.java161 float scaleY = drawableHeight / VIEWBOX_HEIGHT;
162 float scale = Math.max(scaleX, scaleY);
263 float scaleY = drawableBounds.height() / (float) bitmapHeight;
266 canvas.scale(scaleX, scaleY);
267 if (scaleY > scaleX) {
270 canvas.scale(scaleY / scaleX, 1f, SCALE_FOCUS_X * bitmapWidth, 0f);
271 } else if (scaleX > scaleY) {
274 canvas.scale(1f, scaleX / scaleY, 0f, SCALE_FOCUS_Y * bitmapHeight);
/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/base/libs/hwui/
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 DVectorDrawable.h414 float scaleY = 1; member in struct:android::uirenderer::VectorDrawable::Group::GroupProperties::PrimitiveFields
447 return mPrimitiveFields.scaleY;
449 void setScaleY(float scaleY) { argument
450 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(scaleY, scaleY);
465 float scaleX, float scaleY, float translateX, float translateY) {
470 mPrimitiveFields.scaleY = scaleY;
485 scaleY, member in class:android::uirenderer::VectorDrawable::Group::GroupProperties::Property
464 updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY) argument
H A DTessellationCache.cpp39 , scaleY(1.0f)
54 PathTessellator::extractTessellationScales(transform, &scaleX, &scaleY);
62 if (scaleY != rhs.scaleY) return false;
84 hash = JenkinsHashMix(hash, android::hash_type(scaleY));
90 matrix->loadScale(scaleX, scaleY, 1.0f);
H A DTessellationCache.h62 float scaleY; member in struct:android::uirenderer::TessellationCache::Description
H A DVectorDrawable.cpp353 case Property::scaleY:
381 case Property::scaleY:
504 float scaleY = outCache.height() / viewportHeight; local
505 outCanvas.scale(scaleX, scaleY);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java181 float scaleY = renderNode.getScaleY();
185 outMatrix.preScale(scaleX, scaleY, pivotX, pivotY);
318 /*package*/ static boolean nSetScaleY(long renderNode, float scaleY) { argument
320 if (delegate != null && delegate.mScaleY != scaleY) {
321 delegate.mScaleY = scaleY;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DViewState.java122 public float scaleY = 1.0f; field in class:ViewState
132 scaleY = viewState.scaleY;
143 scaleY = view.getScaleY();
187 // apply scaleY
190 updateAnimation(view, SCALE_Y_PROPERTY, scaleY);
191 } else if (view.getScaleY() != scaleY) {
192 view.setScaleY(scaleY);
306 if (child.getScaleY() != scaleY) {
307 PropertyAnimator.startAnimation(child, SCALE_Y_PROPERTY, scaleY, animationPropertie
[all...]
H A DStackScrollState.java85 viewState.scaleY = view.getScaleY();
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java283 float pivotY, float scaleX, float scaleY, float translateX, float translateY) {
290 group.setScaleY(scaleY);
369 static void nSetScaleY(long groupPtr, float scaleY) { argument
371 group.setScaleY(scaleY);
932 private void setScaleY(float scaleY) { argument
933 if (scaleY != mScaleY) {
934 mScaleY = scaleY;
1117 final float scaleY = h / mViewportHeight;
1118 final float minScale = Math.min(scaleX, scaleY);
1122 mFinalPathMatrix.postScale(scaleX, scaleY);
282 nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY) argument
[all...]
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DMediaStoreSaver.java124 float scaleY = height / source.getHeight();
126 matrix.setScale(scaleX, scaleY);
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DMediaStoreSaver.java124 float scaleY = height / source.getHeight();
126 matrix.setScale(scaleX, scaleY);
/frameworks/support/transition/api14/android/support/transition/
H A DViewUtilsApi14.java130 final float scaleY = values[Matrix.MSCALE_Y] / cos;
139 view.setScaleY(scaleY);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DScaleFrameLayout.java61 public void setLayoutScaleY(float scaleY) { argument
62 if (scaleY != mLayoutScaleY) {
63 mLayoutScaleY = scaleY;
/frameworks/base/core/java/android/transition/
H A DChangeTransform.java414 float translationZ, float scaleX, float scaleY, float rotationX,
420 view.setScaleY(scaleY);
431 public final float scaleY; field in class:ChangeTransform.Transforms
441 scaleY = view.getScaleY();
448 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY,
462 thatTransform.scaleY == scaleY &&
413 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/ex/framesequence/src/android/support/rastermill/
H A DFrameSequenceDrawable.java412 final float scaleY = 1.0f * bounds.height() / bitmapHeight;
418 canvas.scale(scaleX, scaleY);
422 final float scaledDiameterY = unscaledCircleDiameter / scaleY;
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicResize.cpp40 float scaleY; member in class:android::renderscript::RsdCpuScriptIntrinsicResize
320 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
387 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
454 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
521 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
561 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
601 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
679 scaleY = (float)srcHeight / aout->mHal.drvState.lod[0].dimY;
/frameworks/support/transition/src/android/support/transition/
H A DChangeImageTransform.java222 final float scaleY = ((float) imageViewHeight) / imageHeight;
224 final float maxScale = Math.max(scaleX, scaleY);
/frameworks/base/core/java/android/view/
H A DRenderNode.java606 * @param scaleY The scale value of the display list
611 public boolean setScaleY(float scaleY) { argument
612 return nSetScaleY(mNativeRenderNode, scaleY);
939 private static native boolean nSetScaleY(long renderNode, float scaleY); argument
/frameworks/native/cmds/flatland/
H A DGLHelper.cpp239 float scaleY = float(info.h) / float(h); local
240 *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

Completed in 577 milliseconds

123