/external/grpc-grpc/examples/node/dynamic_codegen/route_guide/ |
D | route_guide_client.js | 56 feature.location.latitude/COORD_FACTOR + ', ' + 60 feature.location.latitude/COORD_FACTOR + ', ' + 66 latitude: 409146138, property 70 latitude: 0, property 86 latitude: 400000000, property 90 latitude: 420000000, property 98 feature.location.latitude/COORD_FACTOR + ', ' + 149 latitude: lat, property 158 point_senders[i] = pointSender(rand_point.location.latitude, 176 note.location.latitude + ', ' + note.location.longitude); [all …]
|
D | route_guide_server.js | 62 if (feature.location.latitude === point.latitude && 96 var top = _.max([lo.latitude, hi.latitude]); 97 var bottom = _.min([lo.latitude, hi.latitude]); 105 feature.location.latitude >= bottom && 106 feature.location.latitude <= top) { 125 var lat1 = toRadians(start.latitude / COORD_FACTOR); 126 var lat2 = toRadians(end.latitude / COORD_FACTOR); 186 return point.latitude + ' ' + point.longitude;
|
/external/grpc-grpc/examples/ruby/route_guide/ |
D | route_guide_client.rb | 32 Point.new(latitude: 409_146_138, longitude: -746_188_906), 33 Point.new(latitude: 0, longitude: 0) 54 lo: Point.new(latitude: 400_000_000, longitude: -750_000_000), 55 hi: Point.new(latitude: 420_000_000, longitude: -730_000_000)) 111 location: Point.new(latitude: 0, longitude: 0)), 113 location: Point.new(latitude: 0, longitude: 1)), 115 location: Point.new(latitude: 1, longitude: 0)), 117 location: Point.new(latitude: 1, longitude: 1)), 119 location: Point.new(latitude: 0, longitude: 1))
|
D | route_guide_server.rb | 38 lat_a = to_radians.call(point_a.latitude / COORD_FACTOR) 39 lat_b = to_radians.call(point_b.latitude / COORD_FACTOR) 58 lats = [@bounds.lo.latitude, @bounds.hi.latitude] 98 'latitude' => point.latitude }] || '' 113 'latitude' => point.latitude }] || '' 145 'latitude' => n.location.latitude,
|
/external/grpc-grpc/examples/cpp/route_guide/ |
D | route_guide_server.cc | 57 float lat_1 = start.latitude() / kCoordFactor; in GetDistance() 58 float lat_2 = end.latitude() / kCoordFactor; in GetDistance() 77 if (f.location().latitude() == point.latitude() && in GetFeatureName() 105 long top = (std::max)(lo.latitude(), hi.latitude()); in ListFeatures() 106 long bottom = (std::min)(lo.latitude(), hi.latitude()); in ListFeatures() 110 f.location().latitude() >= bottom && in ListFeatures() 111 f.location().latitude() <= top) { in ListFeatures() 154 if (n.location().latitude() == note.location().latitude() && in RouteChat()
|
D | route_guide_client.cc | 47 Point MakePoint(long latitude, long longitude) { in MakePoint() argument 49 p.set_latitude(latitude); in MakePoint() 55 long latitude, long longitude) { in MakeFeature() argument 58 f.mutable_location()->CopyFrom(MakePoint(latitude, longitude)); in MakeFeature() 63 long latitude, long longitude) { in MakeRouteNote() argument 66 n.mutable_location()->CopyFrom(MakePoint(latitude, longitude)); in MakeRouteNote() 103 << feature.location().latitude()/kCoordFactor_ << ", " in ListFeatures() 132 << f.location().latitude()/kCoordFactor_ << ", " in RecordRoute() 168 << " at " << note.location().latitude() << ", " in RouteChat() 178 << " at " << server_note.location().latitude() << ", " in RouteChat() [all …]
|
/external/grpc-grpc/examples/python/route_guide/ |
D | route_guide_client.py | 27 def make_route_note(message, latitude, longitude): argument 30 location=route_guide_pb2.Point(latitude=latitude, longitude=longitude)) 48 latitude=409146138, longitude=-746188906)) 49 guide_get_one_feature(stub, route_guide_pb2.Point(latitude=0, longitude=0)) 54 lo=route_guide_pb2.Point(latitude=400000000, longitude=-750000000), 55 hi=route_guide_pb2.Point(latitude=420000000, longitude=-730000000))
|
D | route_guide_server.py | 40 lat_1 = start.latitude / coord_factor 41 lat_2 = end.latitude / coord_factor 75 top = max(request.lo.latitude, request.hi.latitude) 76 bottom = min(request.lo.latitude, request.hi.latitude) 80 feature.location.latitude >= bottom and 81 feature.location.latitude <= top):
|
/external/grpc-grpc/examples/python/multiplex/ |
D | multiplex_client.py | 30 def make_route_note(message, latitude, longitude): argument 33 location=route_guide_pb2.Point(latitude=latitude, longitude=longitude)) 51 latitude=409146138, longitude=-746188906)) 53 route_guide_pb2.Point(latitude=0, longitude=0)) 58 lo=route_guide_pb2.Point(latitude=400000000, longitude=-750000000), 59 hi=route_guide_pb2.Point(latitude=420000000, longitude=-730000000))
|
D | multiplex_server.py | 42 lat_1 = start.latitude / coord_factor 43 lat_2 = end.latitude / coord_factor 83 top = max(request.lo.latitude, request.hi.latitude) 84 bottom = min(request.lo.latitude, request.hi.latitude) 88 feature.location.latitude >= bottom and 89 feature.location.latitude <= top):
|
D | route_guide_resources.py | 34 latitude=item["location"]["latitude"],
|
/external/grpc-grpc/examples/node/static_codegen/route_guide/ |
D | route_guide_client.js | 46 var latitude = feature.getLocation().getLatitude(); 50 latitude/COORD_FACTOR + ', ' + longitude/COORD_FACTOR); 53 latitude/COORD_FACTOR + ', ' + longitude/COORD_FACTOR); 113 location.setLatitude(value.location.latitude); 177 latitude: 0, property 183 latitude: 0, property 189 latitude: 1, property 195 latitude: 0, property 203 note.location.latitude + ', ' + note.location.longitude); 207 location.setLatitude(note.location.latitude);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/threegpp26244/ |
D | LocationInformationBox.java | 20 private double latitude; field in LocationInformationBox 62 return latitude; in getLatitude() 65 public void setLatitude(double latitude) { in setLatitude() argument 66 this.latitude = latitude; in setLatitude() 104 latitude = IsoTypeReader.readFixedPoint1616(content); in _parseDetails() 119 IsoTypeWriter.writeFixedPont1616(byteBuffer, latitude); in getContent()
|
/external/grpc-grpc/examples/objective-c/route_guide/ |
D | ViewControllers.m | 34 NSString *verticalDirection = self.latitude >= 0 ? @"N" : @"S"; 37 abs(self.latitude) / 1E7f, verticalDirection, 45 latitude:(float)latitude 51 latitude:(float)latitude 55 note.location.latitude = (int32_t) latitude * 1E7; 97 point.latitude = 409146138; 141 rectangle.lo.latitude = 405E6; 143 rectangle.hi.latitude = 410E6; 203 location.latitude = [((NSNumber *) feature[@"location"][@"latitude"]) intValue]; 264 NSArray *notes = @[[RTGRouteNote noteWithMessage:@"First message" latitude:0 longitude:0], [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowGeocoder.java | 33 protected List<Address> getFromLocation(double latitude, double longitude, int maxResults) in getFromLocation() argument 36 -90 <= latitude && latitude <= 90, "Latitude must be between -90 and 90, got %s", latitude); in getFromLocation()
|
/external/icu/icu4c/source/i18n/ |
D | astro.h | 88 latitude = lat; 99 latitude = lat; in set() 115 double latitude; variable 317 CalendarAstronomer(double longitude, double latitude);
|
/external/python/cpython3/Lib/ |
D | antigravity.py | 7 def geohash(latitude, longitude, datedow): argument 17 print('%d%s %d%s' % (latitude, p[1:], longitude, q[1:]))
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CalendarAstronomer.java | 241 public CalendarAstronomer(double longitude, double latitude) { in CalendarAstronomer() argument 244 fLatitude = normPI(latitude * DEG_RAD); in CalendarAstronomer() 428 return eclipticToEquatorial(ecliptic.longitude, ecliptic.latitude); in eclipticToEquatorial() 1505 latitude = lat; 1515 return Double.toString(longitude*RAD_DEG) + "," + (latitude*RAD_DEG); 1524 public final double latitude;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CalendarAstronomer.java | 245 public CalendarAstronomer(double longitude, double latitude) { in CalendarAstronomer() argument 248 fLatitude = normPI(latitude * DEG_RAD); in CalendarAstronomer() 433 return eclipticToEquatorial(ecliptic.longitude, ecliptic.latitude); in eclipticToEquatorial() 1512 latitude = lat; 1522 return Double.toString(longitude*RAD_DEG) + "," + (latitude*RAD_DEG); 1531 public final double latitude;
|
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuide/ |
D | RouteGuideUtil.cs | 105 …= new Point { Longitude = jsonFeature.location.longitude, Latitude = jsonFeature.location.latitude} in ParseFeatures() 120 public int latitude; field in Routeguide.RouteGuideUtil.JsonLocation
|
/external/grpc-grpc/examples/cpp/ |
D | cpptutorial.md | 114 // Points are represented as latitude-longitude pairs in the E7 representation 119 int32 latitude = 1; 229 long top = std::max(lo.latitude(), hi.latitude()); 230 long bottom = std::min(lo.latitude(), hi.latitude()); 234 f.location().latitude() >= bottom && 235 f.location().latitude() <= top) { 272 if (n.location().latitude() == note.location().latitude() && 389 << feature->location().latitude()/kCoordFactor_ << ", " 407 << feature.location().latitude()/kCoordFactor_ << ", " 432 << f.location().latitude()/kCoordFactor_ << ", "
|
/external/grpc-grpc/examples/protos/ |
D | route_guide.proto | 55 // Points are represented as latitude-longitude pairs in the E7 representation 60 int32 latitude = 1; field 64 // A latitude-longitude rectangle, represented as two diagonally opposite
|
/external/grpc-grpc-java/examples/src/main/proto/ |
D | route_guide.proto | 54 // Points are represented as latitude-longitude pairs in the E7 representation 59 int32 latitude = 1; field 63 // A latitude-longitude rectangle, represented as two diagonally opposite
|
/external/grpc-grpc-java/examples/android/routeguide/app/src/main/proto/ |
D | route_guide.proto | 54 // Points are represented as latitude-longitude pairs in the E7 representation 59 int32 latitude = 1; field 63 // A latitude-longitude rectangle, represented as two diagonally opposite
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | LocationFacade.java | 171 @RpcParameter(name = "latitude") Double latitude, in geocode() 175 return mGeocoder.getFromLocation(latitude, longitude, maxResults); in geocode()
|