/frameworks/support/transition/tests/src/android/support/transition/ |
H A D | ChangeImageTransformTest.java | 107 float scaleX = ((float) imageViewWidth) / imageWidth; 114 matrix.postScale(scaleX, scaleY); 121 float scaleX = ((float) imageViewWidth) / imageWidth; 127 float maxScale = Math.max(scaleX, scaleY); 143 float scaleX = ((float) imageViewWidth) / imageWidth; 149 float minScale = Math.min(scaleX, scaleY); 165 float scaleX = ((float) imageViewWidth) / imageWidth; 171 float minScale = Math.min(scaleX, scaleY); 181 float scaleX = ((float) imageViewWidth) / imageWidth; 187 float minScale = Math.min(scaleX, scale [all...] |
/frameworks/base/libs/hwui/ |
H A D | TextDropShadowCache.h | 38 flags(0), italicStyle(0.0f), scaleX(0), glyphs(nullptr), positions(nullptr) { 50 , scaleX(paint->getTextScaleX()) 86 float scaleX; member in struct:android::uirenderer::ShadowText
|
H A D | TextDropShadowCache.cpp | 39 hash = JenkinsHashMix(hash, android::hash_type(scaleX)); 71 if (lhs.scaleX < rhs.scaleX) return -1; 72 if (lhs.scaleX > rhs.scaleX) return +1;
|
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 | 413 float scaleX = 1; member in struct:android::uirenderer::VectorDrawable::Group::GroupProperties::PrimitiveFields 441 return mPrimitiveFields.scaleX; 443 void setScaleX(float scaleX) { argument 444 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(scaleX, scaleX); 465 float scaleX, float scaleY, float translateX, float translateY) { 469 mPrimitiveFields.scaleX = scaleX; 484 scaleX, 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 | 38 , scaleX(1.0f) 54 PathTessellator::extractTessellationScales(transform, &scaleX, &scaleY); 61 if (scaleX != rhs.scaleX) return false; 83 hash = JenkinsHashMix(hash, android::hash_type(scaleX)); 90 matrix->loadScale(scaleX, scaleY, 1.0f);
|
/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); 89 canvas.translate(mPathBounds.width() * scaleX, 0.0f);
|
/frameworks/minikin/include/minikin/ |
H A D | MinikinFont.h | 36 MinikinPaint() : font(nullptr), size(0), scaleX(0), skewX(0), letterSpacing(0), wordSpacing(0), 45 float scaleX; member in struct:minikin::MinikinPaint
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
H A D | Utils.java | 132 PropertyValuesHolder scaleX = PropertyValuesHolder.ofKeyframe("scaleX", k0, k1, k2, k3); 135 ObjectAnimator.ofPropertyValuesHolder(labelToAnimate, scaleX, scaleY);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | GlifPatternDrawable.java | 160 float scaleX = drawableWidth / VIEWBOX_WIDTH; 162 float scale = Math.max(scaleX, scaleY); 262 float scaleX = drawableBounds.width() / (float) bitmapWidth; 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/rs/cpu_ref/ |
H A D | rsCpuIntrinsicResize.cpp | 39 float scaleX; member in class:android::renderscript::RsdCpuScriptIntrinsicResize 339 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { 340 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; 342 uint32_t xinc16 = rint(cp->scaleX * 0x10000); 366 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; 406 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { 407 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; 409 uint32_t xinc16 = rint(cp->scaleX * 0x10000); 433 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; 473 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4. [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | RenderNode_Delegate.java | 180 float scaleX = renderNode.getScaleX(); 185 outMatrix.preScale(scaleX, scaleY, pivotX, pivotY); 299 /*package*/ static boolean nSetScaleX(long renderNode, float scaleX) { argument 301 if (delegate != null && delegate.mScaleX != scaleX) { 302 delegate.mScaleX = scaleX;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | ViewState.java | 121 public float scaleX = 1.0f; field in class:ViewState 131 scaleX = viewState.scaleX; 142 scaleX = view.getScaleX(); 179 // apply scaleX 182 updateAnimation(view, SCALE_X_PROPERTY, scaleX); 183 } else if (view.getScaleX() != scaleX) { 184 view.setScaleX(scaleX); 298 // start scaleX animation 299 if (child.getScaleX() != scaleX) { [all...] |
H A D | StackScrollState.java | 84 viewState.scaleX = view.getScaleX();
|
/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) { 289 group.setScaleX(scaleX); 357 static void nSetScaleX(long groupPtr, float scaleX) { argument 359 group.setScaleX(scaleX); 921 private void setScaleX(float scaleX) { argument 922 if (scaleX != mScaleX) { 923 mScaleX = scaleX; 1116 final float scaleX = w / mViewportWidth; 1118 final float minScale = Math.min(scaleX, scaleY); 1122 mFinalPathMatrix.postScale(scaleX, scale 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 | 123 float scaleX = width / source.getWidth(); 126 matrix.setScale(scaleX, scaleY);
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | MediaStoreSaver.java | 123 float scaleX = width / source.getWidth(); 126 matrix.setScale(scaleX, scaleY);
|
/frameworks/support/transition/api14/android/support/transition/ |
H A D | ViewUtilsApi14.java | 129 final float scaleX = values[Matrix.MSCALE_X] / cos; 138 view.setScaleX(scaleX);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ScaleFrameLayout.java | 54 public void setLayoutScaleX(float scaleX) { argument 55 if (scaleX != mLayoutScaleX) { 56 mLayoutScaleX = scaleX;
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeTransform.java | 414 float translationZ, float scaleX, float scaleY, float rotationX, 419 view.setScaleX(scaleX); 430 public final float scaleX; field in class:ChangeTransform.Transforms 440 scaleX = view.getScaleX(); 448 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY, 461 thatTransform.scaleX == scaleX && 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 | 108 float scaleX = ((float) bounds.width()) / drawableWidth; 111 matrix.setScale(scaleX, scaleY);
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
H A D | FrameSequenceDrawable.java | 411 final float scaleX = 1.0f * bounds.width() / bitmapWidth; 418 canvas.scale(scaleX, scaleY); 421 final float scaledDiameterX = unscaledCircleDiameter / scaleX;
|
/frameworks/support/transition/src/android/support/transition/ |
H A D | ChangeImageTransform.java | 218 final float scaleX = ((float) imageViewWidth) / imageWidth; 224 final float maxScale = Math.max(scaleX, scaleY);
|
/frameworks/base/core/java/android/view/ |
H A D | RenderNode.java | 585 * @param scaleX The scale value of the display list 590 public boolean setScaleX(float scaleX) { argument 591 return nSetScaleX(mNativeRenderNode, scaleX); 937 private static native boolean nSetScaleX(long renderNode, float scaleX); argument
|
/frameworks/native/cmds/flatland/ |
H A D | GLHelper.cpp | 238 float scaleX = float(info.w) / float(w); local 240 *scale = scaleX < scaleY ? scaleX : scaleY;
|