/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatchPeeker.cpp | 75 void NinePatchPeeker::scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight) { argument 88 if (!SkScalarNearlyEqual(scaleY, 1.0f)) { 89 mPatch->paddingTop = int(mPatch->paddingTop * scaleY + 0.5f); 90 mPatch->paddingBottom = int(mPatch->paddingBottom * scaleY + 0.5f); 91 scaleDivRange(mPatch->getYDivs(), mPatch->numYDivs, scaleY, scaledHeight - 1);
|
H A D | NinePatchPeeker.h | 47 void scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight);
|
/frameworks/support/transition/src/androidTest/java/androidx/transition/ |
H A D | ChangeImageTransformTest.java | 112 float scaleY = ((float) imageViewHeight) / imageHeight; 115 matrix.postScale(scaleX, scaleY); 126 float scaleY = ((float) imageViewHeight) / imageHeight; 128 float maxScale = Math.max(scaleX, scaleY); 148 float scaleY = ((float) imageViewHeight) / imageHeight; 150 float minScale = Math.min(scaleX, scaleY); 170 float scaleY = ((float) imageViewHeight) / imageHeight; 172 float minScale = Math.min(scaleX, scaleY); 186 float scaleY = ((float) imageViewHeight) / imageHeight; 188 float minScale = Math.min(scaleX, scaleY); [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
H A D | Utils.java | 136 PropertyValuesHolder scaleY = PropertyValuesHolder.ofKeyframe("scaleY", k0, k1, k2, k3); 138 ObjectAnimator.ofPropertyValuesHolder(labelToAnimate, scaleX, scaleY);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | GlifPatternDrawable.java | 152 float scaleY = drawableHeight / VIEWBOX_HEIGHT; 153 float scale = Math.max(scaleX, scaleY); 254 float scaleY = drawableBounds.height() / (float) bitmapHeight; 257 canvas.scale(scaleX, scaleY); 258 if (scaleY > scaleX) { 261 canvas.scale(scaleY / scaleX, 1f, SCALE_FOCUS_X * bitmapWidth, 0f); 262 } else if (scaleX > scaleY) { 265 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 | 56 * Populates scaleX and scaleY with the 'tessellation scale' of the transform - the effective X 63 static void extractTessellationScales(const Matrix4& transform, float* scaleX, float* scaleY);
|
H A D | VectorDrawable.h | 393 float scaleY = 1; member in struct:android::uirenderer::VectorDrawable::Group::GroupProperties::PrimitiveFields 409 float getScaleY() const { return mPrimitiveFields.scaleY; } 410 void setScaleY(float scaleY) { VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(scaleY, scaleY); } argument 419 void updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, argument 425 mPrimitiveFields.scaleY = scaleY; 441 scaleY, member in class:android::uirenderer::VectorDrawable::Group::GroupProperties::Property
|
H A D | TessellationCache.cpp | 39 , 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);
|
/frameworks/support/browser/src/main/java/androidx/browser/browseractions/ |
H A D | BrowserActionsFallbackMenuDialog.java | 77 .scaleY(to)
|
/frameworks/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/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/src/main/java/androidx/transition/ |
H A D | ViewUtilsBase.java | 112 final float scaleY = values[Matrix.MSCALE_Y] / cos; 121 view.setScaleY(scaleY);
|
H A D | ChangeImageTransform.java | 223 final float scaleY = ((float) imageViewHeight) / imageHeight; 225 final float maxScale = Math.max(scaleX, scaleY);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | ScaleFrameLayout.java | 62 public void setLayoutScaleY(float scaleY) { argument 63 if (scaleY != mLayoutScaleY) { 64 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/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | VectorDrawable_Delegate.java | 294 float pivotY, float scaleX, float scaleY, float translateX, float translateY) { 301 group.setScaleY(scaleY); 380 static void nSetScaleY(long groupPtr, float scaleY) { argument 382 group.setScaleY(scaleY); 943 private void setScaleY(float scaleY) { argument 944 if (scaleY != mScaleY) { 945 mScaleY = scaleY; 1129 final float scaleY = h / mViewportHeight; 1130 final float minScale = Math.min(scaleX, scaleY); 1134 mFinalPathMatrix.postScale(scaleX, scaleY); 293 nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY) argument [all...] |
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollState.java | 85 viewState.scaleY = view.getScaleY();
|
H A D | ViewState.java | 121 public float scaleY = 1.0f; field in class:ViewState 131 scaleY = viewState.scaleY; 142 scaleY = view.getScaleY(); 186 // apply scaleY 189 updateAnimation(view, SCALE_Y_PROPERTY, scaleY); 190 } else if (view.getScaleY() != scaleY) { 191 view.setScaleY(scaleY); 305 if (child.getScaleY() != scaleY) { 306 PropertyAnimator.startAnimation(child, SCALE_Y_PROPERTY, scaleY, animationPropertie [all...] |
/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/base/core/java/android/view/ |
H A D | RenderNode.java | 626 * @param scaleY The scale value of the display list 631 public boolean setScaleY(float scaleY) { argument 632 return nSetScaleY(mNativeRenderNode, scaleY); 974 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;
|