Home
last modified time | relevance | path

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

/packages/modules/Uwb/service/java/com/android/server/uwb/util/
DUwbUtil.java88 public static float degreeToRadian(float angleInDegrees) { in degreeToRadian() argument
89 return (float) ((angleInDegrees) * Math.PI / 180.0); in degreeToRadian()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DEdgeBackGesturePanel.java414 private float polarToCartX(float angleInDegrees) { in polarToCartX() argument
415 return (float) Math.cos(Math.toRadians(angleInDegrees)); in polarToCartX()
418 private float polarToCartY(float angleInDegrees) { in polarToCartY() argument
419 return (float) Math.sin(Math.toRadians(angleInDegrees)); in polarToCartY()