Home
last modified time | relevance | path

Searched refs:unitVectors (Results 1 – 2 of 2) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java1228 float[] unitVectors = new float[]{0, 1, 1, 0}; in getMatrixScale() local
1229 groupStackedMatrix.mapVectors(unitVectors); in getMatrixScale()
1230 float scaleX = MathUtils.mag(unitVectors[0], unitVectors[1]); in getMatrixScale()
1231 float scaleY = MathUtils.mag(unitVectors[2], unitVectors[3]); in getMatrixScale()
1232 float crossProduct = MathUtils.cross(unitVectors[0], unitVectors[1], in getMatrixScale()
1233 unitVectors[2], unitVectors[3]); in getMatrixScale()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java1272 float[] unitVectors = new float[]{0, 1, 1, 0}; in getMatrixScale() local
1273 groupStackedMatrix.mapVectors(unitVectors); in getMatrixScale()
1274 float scaleX = (float) Math.hypot(unitVectors[0], unitVectors[1]); in getMatrixScale()
1275 float scaleY = (float) Math.hypot(unitVectors[2], unitVectors[3]); in getMatrixScale()
1276 float crossProduct = cross(unitVectors[0], unitVectors[1], unitVectors[2], in getMatrixScale()
1277 unitVectors[3]); in getMatrixScale()