Home
last modified time | relevance | path

Searched refs:toRadians (Results 1 – 9 of 9) sorted by relevance

/external/grpc-grpc/examples/node/static_codegen/route_guide/
Droute_guide_server.js111 function toRadians(num) { function
115 var lat1 = toRadians(start.getLatitude() / COORD_FACTOR);
116 var lat2 = toRadians(end.getLatitude() / COORD_FACTOR);
117 var lon1 = toRadians(start.getLongitude() / COORD_FACTOR);
118 var lon2 = toRadians(end.getLongitude() / COORD_FACTOR);
/external/grpc-grpc/examples/node/dynamic_codegen/route_guide/
Droute_guide_server.js121 function toRadians(num) { function
125 var lat1 = toRadians(start.latitude / COORD_FACTOR);
126 var lat2 = toRadians(end.latitude / COORD_FACTOR);
127 var lon1 = toRadians(start.longitude / COORD_FACTOR);
128 var lon2 = toRadians(end.longitude / COORD_FACTOR);
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/routeguide/
DRouteGuideServer.java25 import static java.lang.Math.toRadians;
279 double lat1 = toRadians(RouteGuideUtil.getLatitude(start));
280 double lat2 = toRadians(RouteGuideUtil.getLatitude(end));
281 double lon1 = toRadians(RouteGuideUtil.getLongitude(start));
282 double lon2 = toRadians(RouteGuideUtil.getLongitude(end));
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLocationManager.java472 double latDifference = Math.toRadians(location2.getLatitude() - location1.getLatitude()); in distanceBetween()
473 double lonDifference = Math.toRadians(location2.getLongitude() - location1.getLongitude()); in distanceBetween()
475 …Math.cos(Math.toRadians(location1.getLatitude())) * Math.cos(Math.toRadians(location2.getLatitude(… in distanceBetween()
DShadowMatrix.java478 final double radians = Math.toRadians(degrees); in rotate()
485 final double radians = Math.toRadians(degrees); in rotate()
DShadowPathParser.java451 double thetaD = Math.toRadians(theta); in drawArc()
/external/proguard/src/proguard/gui/
Ddefault.pro55 public static double toRadians(double);
Dboilerplate.pro116 public static double toRadians(double);
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DFastMath.java3306 public static double toRadians(double x) in toRadians() method in FastMath