Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp141 double cosEta2 = cos(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/compat/java/android/support/v4/graphics/
DPathParser.java730 double cosEta2 = Math.cos(eta2); in arcToBezier() local
731 double e2x = cx + (a * cosTheta * cosEta2) - (b * sinTheta * sinEta2); in arcToBezier()
732 double e2y = cy + (a * sinTheta * cosEta2) + (b * cosTheta * sinEta2); in arcToBezier()
733 double ep2x = -a * cosTheta * sinEta2 - b * sinTheta * cosEta2; in arcToBezier()
734 double ep2y = -a * sinTheta * sinEta2 + b * cosTheta * cosEta2; in arcToBezier()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java815 double cosEta2 = Math.cos(eta2); in arcToBezier() local
816 double e2x = cx + (a * cosTheta * cosEta2) in arcToBezier()
818 double e2y = cy + (a * sinTheta * cosEta2) in arcToBezier()
820 double ep2x = -a * cosTheta * sinEta2 - b * sinTheta * cosEta2; in arcToBezier()
821 double ep2y = -a * sinTheta * sinEta2 + b * cosTheta * cosEta2; in arcToBezier()