Searched refs:scaleX (Results 1 - 25 of 62) sorted by relevance

123

/frameworks/support/transition/tests/src/android/support/transition/
H A DChangeImageTransformTest.java107 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 DTextDropShadowCache.h38 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 DTextDropShadowCache.cpp39 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 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.h415 float scaleX = 1; member in struct:android::uirenderer::VectorDrawable::Group::GroupProperties::PrimitiveFields
443 return mPrimitiveFields.scaleX;
445 void setScaleX(float scaleX) { argument
446 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(scaleX, scaleX);
467 float scaleX, float scaleY, float translateX, float translateY) {
471 mPrimitiveFields.scaleX = scaleX;
486 scaleX, member in class:android::uirenderer::VectorDrawable::Group::GroupProperties::Property
466 updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY) argument
H A DTessellationCache.cpp38 , 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);
H A DVectorDrawable.cpp290 ALOGD("Group translateX, Y : %f, %f, scaleX, Y: %f, %f", mProperties.getTranslateX(),
352 case Property::scaleX:
379 case Property::scaleX:
523 float scaleX = dst.width() / mProperties.getViewportWidth(); local
529 canvas->scale(scaleX, scaleY);
606 float scaleX = cacheWidth / viewportWidth; local
608 outCanvas.scale(scaleX, scaleY);
/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);
89 canvas.translate(mPathBounds.width() * scaleX, 0.0f);
/frameworks/minikin/include/minikin/
H A DMinikinFont.h36 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 DUtils.java132 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 DGlifPatternDrawable.java160 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 DrsCpuIntrinsicResize.cpp39 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/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java180 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 DViewState.java121 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 DStackScrollState.java84 viewState.scaleX = view.getScaleX();
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java283 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 DMediaStoreSaver.java123 float scaleX = width / source.getWidth();
126 matrix.setScale(scaleX, scaleY);
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DMediaStoreSaver.java123 float scaleX = width / source.getWidth();
126 matrix.setScale(scaleX, scaleY);
/frameworks/support/transition/api14/android/support/transition/
H A DViewUtilsApi14.java129 final float scaleX = values[Matrix.MSCALE_X] / cos;
138 view.setScaleX(scaleX);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DScaleFrameLayout.java54 public void setLayoutScaleX(float scaleX) { argument
55 if (scaleX != mLayoutScaleX) {
56 mLayoutScaleX = scaleX;
/frameworks/base/core/java/android/transition/
H A DChangeTransform.java414 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 DChangeImageTransform.java108 float scaleX = ((float) bounds.width()) / drawableWidth;
111 matrix.setScale(scaleX, scaleY);
/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequenceDrawable.java411 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 DChangeImageTransform.java218 final float scaleX = ((float) imageViewWidth) / imageWidth;
224 final float maxScale = Math.max(scaleX, scaleY);
/frameworks/base/core/java/android/view/
H A DRenderNode.java585 * @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

Completed in 550 milliseconds

123