/frameworks/support/transition/tests/src/android/support/transition/ |
D | ChangeImageTransformTest.java | 107 float scaleX = ((float) imageViewWidth) / imageWidth; in fitXYMatrix() local 114 matrix.postScale(scaleX, scaleY); in fitXYMatrix() 121 float scaleX = ((float) imageViewWidth) / imageWidth; in centerCropMatrix() local 127 float maxScale = Math.max(scaleX, scaleY); in centerCropMatrix() 143 float scaleX = ((float) imageViewWidth) / imageWidth; in fitCenterMatrix() local 149 float minScale = Math.min(scaleX, scaleY); in fitCenterMatrix() 165 float scaleX = ((float) imageViewWidth) / imageWidth; in fitStartMatrix() local 171 float minScale = Math.min(scaleX, scaleY); in fitStartMatrix() 181 float scaleX = ((float) imageViewWidth) / imageWidth; in fitEndMatrix() local 187 float minScale = Math.min(scaleX, scaleY); in fitEndMatrix()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | GlifPatternDrawable.java | 160 float scaleX = drawableWidth / VIEWBOX_WIDTH; in createBitmapCache() local 162 float scale = Math.max(scaleX, scaleY); in createBitmapCache() 262 float scaleX = drawableBounds.width() / (float) bitmapWidth; in scaleCanvasToBounds() local 266 canvas.scale(scaleX, scaleY); in scaleCanvasToBounds() 267 if (scaleY > scaleX) { in scaleCanvasToBounds() 270 canvas.scale(scaleY / scaleX, 1f, SCALE_FOCUS_X * bitmapWidth, 0f); in scaleCanvasToBounds() 271 } else if (scaleX > scaleY) { in scaleCanvasToBounds() 274 canvas.scale(1f, scaleX / scaleY, 0f, SCALE_FOCUS_Y * bitmapHeight); in scaleCanvasToBounds()
|
/frameworks/base/libs/hwui/ |
D | TextDropShadowCache.cpp | 39 hash = JenkinsHashMix(hash, android::hash_type(scaleX)); in hash() 71 if (lhs.scaleX < rhs.scaleX) return -1; in compare() 72 if (lhs.scaleX > rhs.scaleX) return +1; in compare()
|
D | TextDropShadowCache.h | 38 flags(0), italicStyle(0.0f), scaleX(0), glyphs(nullptr), positions(nullptr) { in ShadowText() 50 , scaleX(paint->getTextScaleX()) in ShadowText() 86 float scaleX; member
|
D | VectorDrawable.h | 413 float scaleX = 1; member 441 return mPrimitiveFields.scaleX; in getScaleX() 443 void setScaleX(float scaleX) { in setScaleX() argument 444 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(scaleX, scaleX); in setScaleX() 465 float scaleX, float scaleY, float translateX, float translateY) { in updateProperties() argument 469 mPrimitiveFields.scaleX = scaleX; in updateProperties() 484 scaleX, enumerator
|
D | TessellationCache.cpp | 38 , scaleX(1.0f) in Description() 54 PathTessellator::extractTessellationScales(transform, &scaleX, &scaleY); in Description() 61 if (scaleX != rhs.scaleX) return false; in operator ==() 83 hash = JenkinsHashMix(hash, android::hash_type(scaleX)); in hash() 90 matrix->loadScale(scaleX, scaleY, 1.0f); in setupMatrixAndPaint()
|
D | VectorDrawable.cpp | 351 case Property::scaleX: in getPropertyValue() 378 case Property::scaleX: in setPropertyValue() 503 float scaleX = outCache.width() / viewportWidth; in updateBitmapCache() local 505 outCanvas.scale(scaleX, scaleY); in updateBitmapCache()
|
D | PathTessellator.h | 64 static void extractTessellationScales(const Matrix4& transform, float* scaleX, float* scaleY);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ScaledPathsActivity.java | 84 private void drawPath(Canvas canvas, float scaleX, float scaleY) { in drawPath() argument 86 canvas.scale(scaleX, scaleY); in drawPath() 89 canvas.translate(mPathBounds.width() * scaleX, 0.0f); in drawPath()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 39 float scaleX; member in android::renderscript::RsdCpuScriptIntrinsicResize 339 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { in kernelU4() 340 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU4() 342 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU4() 366 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU4() 406 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { in kernelU2() 407 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU2() 409 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU2() 433 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU2() 473 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { in kernelU1() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | RenderNode_Delegate.java | 180 float scaleX = renderNode.getScaleX(); in getMatrix() local 185 outMatrix.preScale(scaleX, scaleY, pivotX, pivotY); in getMatrix() 299 /*package*/ static boolean nSetScaleX(long renderNode, float scaleX) { in nSetScaleX() argument 301 if (delegate != null && delegate.mScaleX != scaleX) { in nSetScaleX() 302 delegate.mScaleX = scaleX; in nSetScaleX()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeTransform.java | 414 float translationZ, float scaleX, float scaleY, float rotationX, in setTransforms() argument 419 view.setScaleX(scaleX); in setTransforms() 430 public final float scaleX; field in ChangeTransform.Transforms 440 scaleX = view.getScaleX(); in Transforms() 448 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY, in restore() 461 thatTransform.scaleX == scaleX && in equals()
|
D | ChangeImageTransform.java | 108 float scaleX = ((float) bounds.width()) / drawableWidth; in captureValues() local 111 matrix.setScale(scaleX, scaleY); in captureValues()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 283 float pivotY, float scaleX, float scaleY, float translateX, float translateY) { in nUpdateGroupProperties() argument 289 group.setScaleX(scaleX); in nUpdateGroupProperties() 357 static void nSetScaleX(long groupPtr, float scaleX) { in nSetScaleX() argument 359 group.setScaleX(scaleX); in nSetScaleX() 921 private void setScaleX(float scaleX) { in setScaleX() argument 922 if (scaleX != mScaleX) { in setScaleX() 923 mScaleX = scaleX; in setScaleX() 1116 final float scaleX = w / mViewportWidth; in drawPath() local 1118 final float minScale = Math.min(scaleX, scaleY); in drawPath() 1122 mFinalPathMatrix.postScale(scaleX, scaleY); in drawPath() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | ViewState.java | 121 public float scaleX = 1.0f; field in ViewState 131 scaleX = viewState.scaleX; in copyFrom() 142 scaleX = view.getScaleX(); in initFrom() 182 updateAnimation(view, SCALE_X_PROPERTY, scaleX); in applyToView() 183 } else if (view.getScaleX() != scaleX) { in applyToView() 184 view.setScaleX(scaleX); in applyToView() 299 if (child.getScaleX() != scaleX) { in animateTo() 300 PropertyAnimator.startAnimation(child, SCALE_X_PROPERTY, scaleX, animationProperties); in animateTo()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
D | Utils.java | 132 PropertyValuesHolder scaleX = PropertyValuesHolder.ofKeyframe("scaleX", k0, k1, k2, k3); in getPulseAnimator() local 135 ObjectAnimator.ofPropertyValuesHolder(labelToAnimate, scaleX, scaleY); in getPulseAnimator()
|
/frameworks/minikin/include/minikin/ |
D | MinikinFont.h | 36 MinikinPaint() : font(nullptr), size(0), scaleX(0), skewX(0), letterSpacing(0), wordSpacing(0), in MinikinPaint() 45 float scaleX; member
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ScaleFrameLayout.java | 54 public void setLayoutScaleX(float scaleX) { in setLayoutScaleX() argument 55 if (scaleX != mLayoutScaleX) { in setLayoutScaleX() 56 mLayoutScaleX = scaleX; in setLayoutScaleX()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | MediaStoreSaver.java | 123 float scaleX = width / source.getWidth(); in storeThumbnail() local 126 matrix.setScale(scaleX, scaleY); in storeThumbnail()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MediaStoreSaver.java | 123 float scaleX = width / source.getWidth(); in storeThumbnail() local 126 matrix.setScale(scaleX, scaleY); in storeThumbnail()
|
/frameworks/support/transition/api14/android/support/transition/ |
D | ViewUtilsApi14.java | 129 final float scaleX = values[Matrix.MSCALE_X] / cos; in setAnimationMatrix() local 138 view.setScaleX(scaleX); in setAnimationMatrix()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 532 float scaleX = viewportWidth / intrinsicWidth; in getPixelSize() local 534 return Math.min(scaleX, scaleY); in getPixelSize() 1167 final float scaleX = w / mViewportWidth; in drawPath() local 1169 final float minScale = Math.min(scaleX, scaleY); in drawPath() 1173 mFinalPathMatrix.postScale(scaleX, scaleY); in drawPath() 1272 float scaleX = (float) Math.hypot(unitVectors[0], unitVectors[1]); in getMatrixScale() local 1276 float maxScale = Math.max(scaleX, scaleY); in getMatrixScale() 1283 Log.d(LOGTAG, "Scale x " + scaleX + " y " + scaleY + " final " + matrixScale); in getMatrixScale() 1463 public void setScaleX(float scaleX) { in setScaleX() argument 1464 if (scaleX != mScaleX) { in setScaleX() [all …]
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
D | FrameSequenceDrawable.java | 411 final float scaleX = 1.0f * bounds.width() / bitmapWidth; in draw() local 418 canvas.scale(scaleX, scaleY); in draw() 421 final float scaledDiameterX = unscaledCircleDiameter / scaleX; in draw()
|
/frameworks/base/core/java/android/view/ |
D | RenderNode.java | 590 public boolean setScaleX(float scaleX) { in setScaleX() argument 591 return nSetScaleX(mNativeRenderNode, scaleX); in setScaleX() 937 private static native boolean nSetScaleX(long renderNode, float scaleX); in nSetScaleX() argument
|
/frameworks/support/transition/src/android/support/transition/ |
D | ChangeImageTransform.java | 218 final float scaleX = ((float) imageViewWidth) / imageWidth; in centerCropMatrix() local 224 final float maxScale = Math.max(scaleX, scaleY); in centerCropMatrix()
|