Home
last modified time | relevance | path

Searched refs:latitude (Results 1 – 25 of 77) sorted by relevance

1234

/external/grpc-grpc/examples/node/dynamic_codegen/route_guide/
Droute_guide_client.js56 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 …]
Droute_guide_server.js62 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/
Droute_guide_client.rb32 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))
Droute_guide_server.rb38 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/
Droute_guide_server.cc57 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()
Droute_guide_client.cc47 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/
Droute_guide_client.py27 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))
Droute_guide_server.py40 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/
Dmultiplex_client.py30 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))
Dmultiplex_server.py42 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):
Droute_guide_resources.py34 latitude=item["location"]["latitude"],
/external/grpc-grpc/examples/node/static_codegen/route_guide/
Droute_guide_client.js46 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/
DLocationInformationBox.java20 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/
DViewControllers.m34 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/
DShadowGeocoder.java33 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/
Dastro.h88 latitude = lat;
99 latitude = lat; in set()
115 double latitude; variable
317 CalendarAstronomer(double longitude, double latitude);
/external/python/cpython3/Lib/
Dantigravity.py7 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/
DCalendarAstronomer.java241 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/
DCalendarAstronomer.java245 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/
DRouteGuideUtil.cs105 …= 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/
Dcpptutorial.md114 // 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/
Droute_guide.proto55 // 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/
Droute_guide.proto54 // 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/
Droute_guide.proto54 // 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/
DLocationFacade.java171 @RpcParameter(name = "latitude") Double latitude, in geocode()
175 return mGeocoder.getFromLocation(latitude, longitude, maxResults); in geocode()

1234