Searched refs:unitVectors (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 1191 float[] unitVectors = new float[]{0, 1, 1, 0}; in getMatrixScale() local 1192 groupStackedMatrix.mapVectors(unitVectors); in getMatrixScale() 1193 float scaleX = MathUtils.mag(unitVectors[0], unitVectors[1]); in getMatrixScale() 1194 float scaleY = MathUtils.mag(unitVectors[2], unitVectors[3]); in getMatrixScale() 1195 float crossProduct = MathUtils.cross(unitVectors[0], unitVectors[1], in getMatrixScale() 1196 unitVectors[2], unitVectors[3]); in getMatrixScale()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 1100 float[] unitVectors = new float[]{0, 1, 1, 0}; in getMatrixScale() local 1101 groupStackedMatrix.mapVectors(unitVectors); in getMatrixScale() 1102 float scaleX = (float) Math.hypot(unitVectors[0], unitVectors[1]); in getMatrixScale() 1103 float scaleY = (float) Math.hypot(unitVectors[2], unitVectors[3]); in getMatrixScale() 1104 float crossProduct = cross(unitVectors[0], unitVectors[1], unitVectors[2], in getMatrixScale() 1105 unitVectors[3]); in getMatrixScale()
|