Home
last modified time | relevance | path

Searched refs:getLatitude (Results 1 – 13 of 13) sorted by relevance

/external/grpc-grpc/examples/node/static_codegen/route_guide/
Droute_guide_server.js53 if (feature.getLocation().getLatitude() === point.getLatitude() &&
86 var top = _.max([lo.getLatitude(), hi.getLatitude()]);
87 var bottom = _.min([lo.getLatitude(), hi.getLatitude()]);
95 feature.getLocation().getLatitude() >= bottom &&
96 feature.getLocation().getLatitude() <= top) {
115 var lat1 = toRadians(start.getLatitude() / COORD_FACTOR);
116 var lat2 = toRadians(end.getLatitude() / COORD_FACTOR);
176 return point.getLatitude() + ' ' + point.getLongitude();
Droute_guide_client.js46 var latitude = feature.getLocation().getLatitude();
87 feature.getLocation().getLatitude()/COORD_FACTOR + ', ' +
143 console.log('Visiting point ' + location.getLatitude()/COORD_FACTOR +
169 note.getLocation().getLatitude() + ', ' +
Droute_guide_pb.js63 latitude: msg.getLatitude(),
147 f = this.getLatitude();
177 proto.routeguide.Point.prototype.getLatitude = function() { method in proto.routeguide.Point
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/routeguide/
DRouteGuideServer.java144 int top = max(request.getLo().getLatitude(), request.getHi().getLatitude()); in listFeatures()
145 int bottom = min(request.getLo().getLatitude(), request.getHi().getLatitude()); in listFeatures()
152 int lat = feature.getLocation().getLatitude(); in listFeatures()
259 if (feature.getLocation().getLatitude() == location.getLatitude()
279 double lat1 = toRadians(RouteGuideUtil.getLatitude(start));
280 double lat2 = toRadians(RouteGuideUtil.getLatitude(end));
DRouteGuideClient.java90 RouteGuideUtil.getLatitude(feature.getLocation()), in getFeature()
94 RouteGuideUtil.getLatitude(feature.getLocation()), in getFeature()
170 info("Visiting point {0}, {1}", RouteGuideUtil.getLatitude(point), in recordRoute()
207 .getLatitude(), note.getLocation().getLongitude()); in routeChat()
236 .getLatitude(), request.getLocation().getLongitude()); in routeChat()
DRouteGuideUtil.java37 public static double getLatitude(Point location) { in getLatitude() method in RouteGuideUtil
38 return location.getLatitude() / COORD_FACTOR; in getLatitude()
/external/grpc-grpc-java/examples/android/routeguide/app/src/main/java/io/grpc/routeguideexample/
DRouteGuideUtil.java25 public static double getLatitude(Point location) { in getLatitude() method in RouteGuideUtil
26 return location.getLatitude() / COORD_FACTOR; in getLatitude()
DRouteGuideActivity.java206 RouteGuideUtil.getLatitude(feature.getLocation()), in getFeature()
212 RouteGuideUtil.getLatitude(feature.getLocation()), in getFeature()
319 RouteGuideUtil.getLatitude(point), in recordRoute()
378 note.getLocation().getLatitude(), in routeChat()
408 request.getLocation().getLatitude(), in routeChat()
/external/grpc-grpc/examples/php/route_guide/
Droute_guide_client.php41 $feature->getLocation()->getLatitude() / COORD_FACTOR,
189 $route_note_reply->getLocation()->getLatitude(),
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLocationManager.java458 copy.setLatitude(location.getLatitude()); in copyOf()
472 double latDifference = Math.toRadians(location2.getLatitude() - location1.getLatitude()); in distanceBetween()
475 …Math.cos(Math.toRadians(location1.getLatitude())) * Math.cos(Math.toRadians(location2.getLatitude(… in distanceBetween()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/threegpp26244/
DLocationInformationBox.java61 public double getLatitude() { in getLatitude() method in LocationInformationBox
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLocationManagerTest.java447 assertThat(listener.location.getLatitude()).isEqualTo(1.0d); in simulateLocation_shouldNotNotifyListenerIfLessThanMinimumDistance()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java605 result.put("latitude", location.getLatitude()); in buildJsonLocation()
878 result.put("latitude", cellidentity.getLatitude()); in buildCellInfoCdma()