Home
last modified time | relevance | path

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

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialSelectorView.java201 double hypotenuse = Math.sqrt( in getDegreesFromCoords() local
210 int distanceToInnerNumber = (int) Math.abs(hypotenuse - innerNumberRadius); in getDegreesFromCoords()
212 int distanceToOuterNumber = (int) Math.abs(hypotenuse - outerNumberRadius); in getDegreesFromCoords()
226 if (hypotenuse >= minAllowedHypotenuseForInnerNumber && in getDegreesFromCoords()
227 hypotenuse <= halfwayHypotenusePoint) { in getDegreesFromCoords()
229 } else if (hypotenuse <= maxAllowedHypotenuseForOuterNumber && in getDegreesFromCoords()
230 hypotenuse >= halfwayHypotenusePoint) { in getDegreesFromCoords()
241 int distanceToNumber = (int) Math.abs(hypotenuse - mLineLength); in getDegreesFromCoords()
253 double radians = Math.asin(opposite / hypotenuse); in getDegreesFromCoords()
/frameworks/rs/script_api/
Drs_math.spec1190 Returns the hypotenuse, i.e. <code>sqrt(a * a + b * b)</code>.
2337 summary: Approximate hypotenuse
/frameworks/rs/script_api/include/
Drs_math.rsh2160 * Returns the hypotenuse, i.e. sqrt(a * a + b * b).
4652 * native_hypot: Approximate hypotenuse