Home
last modified time | relevance | path

Searched refs:matrixScale (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
DVectorDrawable.cpp38 float matrixScale = getMatrixScale(groupStackedMatrix); in draw() local
39 if (matrixScale == 0) { in draw()
60 float strokeScale = minScale * matrixScale; in draw()
88 float matrixScale = 0; in getMatrixScale() local
90 matrixScale = fabs(crossProduct) / maxScale; in getMatrixScale()
92 return matrixScale; in getMatrixScale()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp350 TEST(VectorDrawable, matrixScale) { in TEST() argument
353 float matrixScale; in TEST() member
391 EXPECT_EQ(matrixAndScale.matrixScale, actualMatrixScale); in TEST()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java1089 final float matrixScale = getMatrixScale(groupStackedMatrix); in drawPath() local
1090 if (matrixScale == 0) { in drawPath()
1171 final float finalStrokeScale = minScale * matrixScale; in drawPath()
1199 float matrixScale = 0; in getMatrixScale() local
1201 matrixScale = MathUtils.abs(crossProduct) / maxScale; in getMatrixScale()
1204 Log.d(LOGTAG, "Scale x " + scaleX + " y " + scaleY + " final " + matrixScale); in getMatrixScale()
1206 return matrixScale; in getMatrixScale()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java1171 final float matrixScale = getMatrixScale(groupStackedMatrix); in drawPath() local
1172 if (matrixScale == 0) { in drawPath()
1241 final float finalStrokeScale = minScale * matrixScale; in drawPath()
1271 float matrixScale = 0; in getMatrixScale() local
1273 matrixScale = Math.abs(crossProduct) / maxScale; in getMatrixScale()
1276 Log.d(LOGTAG, "Scale x " + scaleX + " y " + scaleY + " final " + matrixScale); in getMatrixScale()
1278 return matrixScale; in getMatrixScale()