/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 | VectorDrawable.h | 105 float scaleX, float scaleY, bool useStagingData) = 0; 165 float scaleX, float scaleY, bool useStagingData) override; 417 float scaleX = 1; member in struct:android::uirenderer::VectorDrawable::Group::GroupProperties::PrimitiveFields 445 return mPrimitiveFields.scaleX; 447 void setScaleX(float scaleX) { argument 448 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(scaleX, scaleX); 469 float scaleX, float scaleY, float translateX, float translateY) { 473 mPrimitiveFields.scaleX = scaleX; 468 updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY) argument 488 scaleX, member in class:android::uirenderer::VectorDrawable::Group::GroupProperties::Property [all...] |
H A D | VectorDrawable.cpp | 36 void Path::draw(SkCanvas* outCanvas, const SkMatrix& groupStackedMatrix, float scaleX, float scaleY, argument 45 pathMatrix.postScale(scaleX, scaleY); 59 float minScale = fmin(scaleX, scaleY); 83 float scaleX = hypotf(skVectors[0].fX, skVectors[0].fY); local 86 float maxScale = fmax(scaleX, scaleY); 324 void Group::draw(SkCanvas* outCanvas, const SkMatrix& currentMatrix, float scaleX, argument 341 child->draw(outCanvas, stackedMatrix, scaleX, scaleY, useStagingData); 349 ALOGD("Group translateX, Y : %f, %f, scaleX, Y: %f, %f", mProperties.getTranslateX(), 411 case Property::scaleX: 438 case Property::scaleX 561 float scaleX = outCache->width() / viewportWidth; local [all...] |
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 | TessellationCache.cpp | 39 , scaleX(1.0f) 55 PathTessellator::extractTessellationScales(transform, &scaleX, &scaleY); 62 if (scaleX != rhs.scaleX) return false; 84 hash = JenkinsHashMix(hash, android::hash_type(scaleX)); 91 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/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 | 159 float scaleX = drawableWidth / VIEWBOX_WIDTH; 161 float scale = Math.max(scaleX, scaleY); 261 float scaleX = drawableBounds.width() / (float) bitmapWidth; 265 canvas.scale(scaleX, scaleY); 266 if (scaleY > scaleX) { 269 canvas.scale(scaleY / scaleX, 1f, SCALE_FOCUS_X * bitmapWidth, 0f); 270 } else if (scaleX > scaleY) { 273 canvas.scale(1f, scaleX / scaleY, 0f, SCALE_FOCUS_Y * bitmapHeight);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | RenderNode_Delegate.java | 173 float scaleX = renderNode.getScaleX(); 178 outMatrix.preScale(scaleX, scaleY, pivotX, pivotY); 292 /*package*/ static boolean nSetScaleX(long renderNode, float scaleX) { argument 294 if (delegate != null && delegate.mScaleX != scaleX) { 295 delegate.mScaleX = scaleX;
|
/frameworks/minikin/include/minikin/ |
H A D | MinikinFont.h | 48 MinikinPaint() : font(0), size(0), scaleX(0), skewX(0), letterSpacing(0), paintFlags(0), 57 float scaleX; member in struct:android::MinikinPaint
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicResize.cpp | 42 float scaleX; member in class:android::renderscript::RsdCpuScriptIntrinsicResize 346 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { 347 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; 349 uint32_t xinc16 = rint(cp->scaleX * 0x10000); 373 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; 413 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { 414 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; 416 uint32_t xinc16 = rint(cp->scaleX * 0x10000); 440 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; 480 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4. [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | VectorDrawable_Delegate.java | 271 float pivotY, float scaleX, float scaleY, float translateX, float translateY) { 277 group.setScaleX(scaleX); 345 static void nSetScaleX(long groupPtr, float scaleX) { argument 347 group.setScaleX(scaleX); 918 private void setScaleX(float scaleX) { argument 919 if (scaleX != mScaleX) { 920 mScaleX = scaleX; 1081 final float scaleX = w / mViewportWidth; 1083 final float minScale = Math.min(scaleX, scaleY); 1087 mFinalPathMatrix.postScale(scaleX, scale 270 nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY) argument [all...] |
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | MediaStoreSaver.java | 123 float scaleX = width / source.getWidth(); 126 matrix.setScale(scaleX, scaleY);
|
/frameworks/support/compat/ics/android/support/v4/view/ |
H A D | ViewPropertyAnimatorCompatICS.java | 85 public static void scaleX(View view, float value) { method in class:ViewPropertyAnimatorCompatICS 86 view.animate().scaleX(value);
|
/frameworks/support/design/ics/android/support/design/widget/ |
H A D | FloatingActionButtonIcs.java | 63 .scaleX(0f) 123 .scaleX(1f)
|
/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 | 412 float translationZ, float scaleX, float scaleY, float rotationX, 417 view.setScaleX(scaleX); 428 public final float scaleX; field in class:ChangeTransform.Transforms 438 scaleX = view.getScaleX(); 446 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY, 459 thatTransform.scaleX == scaleX && 411 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/base/core/java/android/view/ |
H A D | RenderNode.java | 562 * @param scaleX The scale value of the display list 567 public boolean setScaleX(float scaleX) { argument 568 return nSetScaleX(mNativeRenderNode, scaleX); 865 private static native boolean nSetScaleX(long renderNode, float scaleX); argument
|
/frameworks/base/libs/hwui/hwui/ |
H A D | MinikinUtils.cpp | 44 minikinPaint->scaleX = paint->getTextScaleX();
|
H A D | MinikinSkia.cpp | 38 skPaint->setTextScaleX(paint.scaleX);
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | AndroidResources.java | 36 android.R.attr.scaleX, android.R.attr.scaleY, android.R.attr.rotation,
|
/frameworks/native/cmds/flatland/ |
H A D | GLHelper.cpp | 239 float scaleX = float(info.w) / float(w); local 241 *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, 231 static void setScaleX(JNIEnv*, jobject, jlong groupPtr, jfloat scaleX) { argument 233 group->mutateStagingProperties()->setScaleX(scaleX); 171 updateGroupProperties(JNIEnv*, jobject, jlong groupPtr, jfloat rotate, jfloat pivotX, jfloat pivotY, jfloat scaleX, jfloat scaleY, jfloat translateX, jfloat translateY) argument
|