/external/grpc-grpc/examples/node/dynamic_codegen/route_guide/ |
D | route_guide_client.js | 57 feature.location.longitude/COORD_FACTOR); 61 feature.location.longitude/COORD_FACTOR); 67 longitude: -746188906 property 71 longitude: 0 property 87 longitude: -750000000 property 91 longitude: -730000000 property 99 feature.location.longitude/COORD_FACTOR); 150 longitude: lng property 159 rand_point.location.longitude); 176 note.location.latitude + ', ' + note.location.longitude); [all …]
|
D | route_guide_server.js | 63 feature.location.longitude === point.longitude) { 94 var left = _.min([lo.longitude, hi.longitude]); 95 var right = _.max([lo.longitude, hi.longitude]); 103 if (feature.location.longitude >= left && 104 feature.location.longitude <= right && 127 var lon1 = toRadians(start.longitude / COORD_FACTOR); 128 var lon2 = toRadians(end.longitude / 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 | 40 lon_a = to_radians.call(point_a.longitude / COORD_FACTOR) 41 lon_b = to_radians.call(point_b.longitude / COORD_FACTOR) 59 longs = [@bounds.lo.longitude, @bounds.hi.longitude] 97 'longitude' => point.longitude, 112 'longitude' => point.longitude, 146 'longitude' => n.location.longitude
|
/external/grpc-grpc/examples/cpp/route_guide/ |
D | route_guide_server.cc | 59 float lon_1 = start.longitude() / kCoordFactor; in GetDistance() 60 float lon_2 = end.longitude() / kCoordFactor; in GetDistance() 78 f.location().longitude() == point.longitude()) { in GetFeatureName() 103 long left = (std::min)(lo.longitude(), hi.longitude()); in ListFeatures() 104 long right = (std::max)(lo.longitude(), hi.longitude()); in ListFeatures() 108 if (f.location().longitude() >= left && in ListFeatures() 109 f.location().longitude() <= right && in ListFeatures() 155 n.location().longitude() == note.location().longitude()) { in RouteChat()
|
D | route_guide_client.cc | 47 Point MakePoint(long latitude, long longitude) { in MakePoint() argument 50 p.set_longitude(longitude); 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() 104 << feature.location().longitude()/kCoordFactor_ << std::endl; in ListFeatures() 133 << f.location().longitude()/kCoordFactor_ << std::endl; in RecordRoute() 169 << note.location().longitude() << std::endl; in RouteChat() 179 << server_note.location().longitude() << std::endl; 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 | 42 lon_1 = start.longitude / coord_factor 43 lon_2 = end.longitude / coord_factor 73 left = min(request.lo.longitude, request.hi.longitude) 74 right = max(request.lo.longitude, request.hi.longitude) 78 if (feature.location.longitude >= left and 79 feature.location.longitude <= right and
|
/external/grpc-grpc/examples/node/static_codegen/route_guide/ |
D | route_guide_client.js | 47 var longitude = feature.getLocation().getLongitude(); 50 latitude/COORD_FACTOR + ', ' + longitude/COORD_FACTOR); 53 latitude/COORD_FACTOR + ', ' + longitude/COORD_FACTOR); 114 location.setLongitude(value.location.longitude); 178 longitude: 0 property 184 longitude: 1 property 190 longitude: 0 property 196 longitude: 0 property 203 note.location.latitude + ', ' + note.location.longitude); 208 location.setLongitude(note.location.longitude);
|
/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 | 44 lon_1 = start.longitude / coord_factor 45 lon_2 = end.longitude / coord_factor 81 left = min(request.lo.longitude, request.hi.longitude) 82 right = max(request.lo.longitude, request.hi.longitude) 86 if (feature.location.longitude >= left and 87 feature.location.longitude <= right and
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/threegpp26244/ |
D | LocationInformationBox.java | 19 private double longitude; field in LocationInformationBox 54 return longitude; in getLongitude() 57 public void setLongitude(double longitude) { in setLongitude() argument 58 this.longitude = longitude; in setLongitude() 103 longitude = IsoTypeReader.readFixedPoint1616(content); in _parseDetails() 118 IsoTypeWriter.writeFixedPont1616(byteBuffer, longitude); in getContent()
|
/external/grpc-grpc/examples/objective-c/route_guide/ |
D | ViewControllers.m | 35 NSString *horizontalDirection = self.longitude >= 0 ? @"E" : @"W"; 38 abs(self.longitude) / 1E7f, horizontalDirection]; 46 longitude:(float)longitude; 52 longitude:(float)longitude { 56 note.location.longitude = (int32_t) longitude * 1E7; 98 point.longitude = -746188906; 142 rectangle.lo.longitude = -750E6; 144 rectangle.hi.longitude = -745E6; 202 location.longitude = [((NSNumber *) feature[@"location"][@"longitude"]) 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 38 -180 <= longitude && longitude <= 180, in getFromLocation() 40 longitude); in getFromLocation()
|
/external/icu/icu4c/source/i18n/ |
D | astro.h | 89 longitude = lon; 100 longitude = lon; in set() 128 double longitude; variable 317 CalendarAstronomer(double longitude, double latitude); 485 /*public*/ void getSunLongitude(double julianDay, double &longitude, double &meanAnomaly);
|
/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/grpc-grpc/examples/protos/ |
D | route_guide.proto | 55 // Points are represented as latitude-longitude pairs in the E7 representation 57 // Latitudes should be in the range +/- 90 degrees and longitude should be in 61 int32 longitude = 2; field 64 // A latitude-longitude rectangle, represented as two diagonally opposite
|
/external/libxcam/modules/ocl/ |
D | cl_fisheye_handler.cpp | 168 CLFisheyeHandler::set_dst_range (float longitude, float latitude) in set_dst_range() argument 170 _range_longitude = longitude; in set_dst_range() 175 CLFisheyeHandler::get_dst_range (float &longitude, float &latitude) const in get_dst_range() argument 177 longitude = _range_longitude; in get_dst_range() 359 float longitude, latitude; in generate_fisheye_table() local 360 get_dst_range (longitude, latitude); in generate_fisheye_table() 362 ERROR, longitude > 0.0f && latitude > 0.0f, in generate_fisheye_table() 421 radian_per_pixel[0] = degree2radian (longitude / table_width); in generate_fisheye_table()
|
/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 56 // Latitudes should be in the range +/- 90 degrees and longitude should be in 60 int32 longitude = 2; field 63 // 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 56 // Latitudes should be in the range +/- 90 degrees and longitude should be in 60 int32 longitude = 2; field 63 // A latitude-longitude rectangle, represented as two diagonally opposite
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CalendarAstronomer.java | 245 public CalendarAstronomer(double longitude, double latitude) { in CalendarAstronomer() argument 247 fLongitude = normPI(longitude * DEG_RAD); in CalendarAstronomer() 433 return eclipticToEquatorial(ecliptic.longitude, ecliptic.latitude); in eclipticToEquatorial() 1513 longitude = lon; 1522 return Double.toString(longitude*RAD_DEG) + "," + (latitude*RAD_DEG); 1544 public final double longitude;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CalendarAstronomer.java | 241 public CalendarAstronomer(double longitude, double latitude) { in CalendarAstronomer() argument 243 fLongitude = normPI(longitude * DEG_RAD); in CalendarAstronomer() 428 return eclipticToEquatorial(ecliptic.longitude, ecliptic.latitude); in eclipticToEquatorial() 1506 longitude = lon; 1515 return Double.toString(longitude*RAD_DEG) + "," + (latitude*RAD_DEG); 1537 public final double longitude;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | AstroTest.java | 55 double longitude = astro.getSunLongitude(); in TestSolarLongitude() local 56 if (longitude != tests[i][5]) { in TestSolarLongitude() 57 if ((float)longitude == (float)tests[i][5]) { in TestSolarLongitude() 58 logln("longitude(" + longitude + in TestSolarLongitude() 62 errln("FAIL: longitude(" + longitude + in TestSolarLongitude()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | AstroTest.java | 52 double longitude = astro.getSunLongitude(); in TestSolarLongitude() local 53 if (longitude != tests[i][5]) { in TestSolarLongitude() 54 if ((float)longitude == (float)tests[i][5]) { in TestSolarLongitude() 55 logln("longitude(" + longitude + in TestSolarLongitude() 59 errln("FAIL: longitude(" + longitude + in TestSolarLongitude()
|
/external/grpc-grpc/examples/cpp/ |
D | cpptutorial.md | 114 // Points are represented as latitude-longitude pairs in the E7 representation 116 // Latitudes should be in the range +/- 90 degrees and longitude should be in 120 int32 longitude = 2; 227 long left = std::min(lo.longitude(), hi.longitude()); 228 long right = std::max(lo.longitude(), hi.longitude()); 232 if (f.location().longitude() >= left && 233 f.location().longitude() <= right && 273 n.location().longitude() == note.location().longitude()) { 390 << feature->location().longitude()/kCoordFactor_ << std::endl; 408 << feature.location().longitude()/kCoordFactor_ << std::endl; [all …]
|