Home
last modified time | relevance | path

Searched refs:sinEta2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp140 double sinEta2 = sin(eta2); in arcToBezier() local
142 double e2x = cx + (a * cosTheta * cosEta2) - (b * sinTheta * sinEta2); in arcToBezier()
143 double e2y = cy + (a * sinTheta * cosEta2) + (b * cosTheta * sinEta2); in arcToBezier()
144 double ep2x = -a * cosTheta * sinEta2 - b * sinTheta * cosEta2; in arcToBezier()
145 double ep2y = -a * sinTheta * sinEta2 + b * cosTheta * cosEta2; in arcToBezier()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DPathParser.java707 double sinEta2 = Math.sin(eta2); in arcToBezier() local
709 double e2x = cx + (a * cosTheta * cosEta2) - (b * sinTheta * sinEta2); in arcToBezier()
710 double e2y = cy + (a * sinTheta * cosEta2) + (b * cosTheta * sinEta2); in arcToBezier()
711 double ep2x = -a * cosTheta * sinEta2 - b * sinTheta * cosEta2; in arcToBezier()
712 double ep2y = -a * sinTheta * sinEta2 + b * cosTheta * cosEta2; in arcToBezier()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java813 double sinEta2 = Math.sin(eta2); in arcToBezier() local
816 - (b * sinTheta * sinEta2); in arcToBezier()
818 + (b * cosTheta * sinEta2); in arcToBezier()
819 double ep2x = -a * cosTheta * sinEta2 - b * sinTheta * cosEta2; in arcToBezier()
820 double ep2y = -a * sinTheta * sinEta2 + b * cosTheta * cosEta2; in arcToBezier()