/frameworks/support/transition/tests/src/android/support/transition/ |
H A D | ChangeImageTransformTest.java | 111 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 D | Utils.java | 133 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 D | GlifPatternDrawable.java | 161 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 D | ScaledPathsActivity.java | 84 private void drawPath(Canvas canvas, float scaleX, float scaleY) { argument 86 canvas.scale(scaleX, scaleY);
|
/frameworks/base/libs/hwui/ |
H A D | PathTessellator.h | 57 * 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 D | VectorDrawable.h | 414 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 D | TessellationCache.cpp | 39 , 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 D | TessellationCache.h | 62 float scaleY; member in struct:android::uirenderer::TessellationCache::Description
|
H A D | VectorDrawable.cpp | 353 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 D | RenderNode_Delegate.java | 181 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 D | ViewState.java | 122 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 D | StackScrollState.java | 85 viewState.scaleY = view.getScaleY();
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | VectorDrawable_Delegate.java | 283 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 D | MediaStoreSaver.java | 124 float scaleY = height / source.getHeight(); 126 matrix.setScale(scaleX, scaleY);
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | MediaStoreSaver.java | 124 float scaleY = height / source.getHeight(); 126 matrix.setScale(scaleX, scaleY);
|
/frameworks/support/transition/api14/android/support/transition/ |
H A D | ViewUtilsApi14.java | 130 final float scaleY = values[Matrix.MSCALE_Y] / cos; 139 view.setScaleY(scaleY);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ScaleFrameLayout.java | 61 public void setLayoutScaleY(float scaleY) { argument 62 if (scaleY != mLayoutScaleY) { 63 mLayoutScaleY = scaleY;
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeTransform.java | 414 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 D | ChangeImageTransform.java | 109 float scaleY = ((float) bounds.height()) / drawableHeight; 111 matrix.setScale(scaleX, scaleY);
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
H A D | FrameSequenceDrawable.java | 412 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 D | rsCpuIntrinsicResize.cpp | 40 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 D | ChangeImageTransform.java | 222 final float scaleY = ((float) imageViewHeight) / imageHeight; 224 final float maxScale = Math.max(scaleX, scaleY);
|
/frameworks/base/core/java/android/view/ |
H A D | RenderNode.java | 606 * @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 D | GLHelper.cpp | 239 float scaleY = float(info.h) / float(h); local 240 *scale = scaleX < scaleY ? scaleX : scaleY;
|
/frameworks/base/core/jni/ |
H A D | android_graphics_drawable_VectorDrawable.cpp | 172 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
|