Home
last modified time | relevance | path

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

1234

/external/smack/src/org/xbill/DNS/
DGPOSRecord.java17 private byte [] latitude, longitude, altitude; field in GPOSRecord
27 validate(double longitude, double latitude) throws IllegalArgumentException in validate() argument
33 if (latitude < -180.0 || latitude > 180.0) { in validate()
35 latitude); in validate()
47 GPOSRecord(Name name, int dclass, long ttl, double longitude, double latitude, in GPOSRecord() argument
51 validate(longitude, latitude); in GPOSRecord()
53 this.latitude = Double.toString(latitude).getBytes(); in GPOSRecord()
65 GPOSRecord(Name name, int dclass, long ttl, String longitude, String latitude, in GPOSRecord() argument
71 this.latitude = byteArrayFromString(latitude); in GPOSRecord()
83 latitude = in.readCountedString(); in rrFromWire()
[all …]
DLOCRecord.java21 private long latitude, longitude, altitude; field in LOCRecord
48 LOCRecord(Name name, int dclass, long ttl, double latitude, double longitude, in LOCRecord() argument
52 this.latitude = (long)(latitude * 3600 * 1000 + (1L << 31)); in LOCRecord()
71 latitude = in.readU32(); in rrFromWire()
162 latitude = parsePosition(st, "latitude"); in rdataFromString()
220 sb.append(positionToString(latitude, 'N', 'S')); in rrToString()
249 return ((double)(latitude - (1L << 31))) / (3600 * 1000); in getLatitude()
288 out.writeU32(latitude); in rrToWire()
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/
DGeolocationPosition.h37 …uble timestamp, double latitude, double longitude, double accuracy) { return adoptRef(new Geolocat… in create() argument
39latitude, double longitude, double accuracy, bool providesAltitude, double altitude, bool provides… in create() argument
43 double latitude() const { return m_latitude; } in latitude() function
57 GeolocationPosition(double timestamp, double latitude, double longitude, double accuracy) in GeolocationPosition() argument
59 , m_latitude(latitude) in GeolocationPosition()
73 …GeolocationPosition(double timestamp, double latitude, double longitude, double accuracy, bool pro… in GeolocationPosition() argument
75 , m_latitude(latitude) in GeolocationPosition()
DCoordinates.h37latitude, double longitude, bool providesAltitude, double altitude, double accuracy, bool provides… in create() argument
44 double latitude() const { return m_latitude; } in latitude() function
53 …Coordinates(double latitude, double longitude, bool providesAltitude, double altitude, double accu… in Coordinates() argument
54 : m_latitude(latitude) in Coordinates()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLocation.java20 private double latitude; field in ShadowLocation
57 latitude = l.getLatitude(); in set()
159 return latitude; in getLatitude()
163 public void setLatitude(double latitude) { in setLatitude() argument
164 this.latitude = latitude; in setLatitude()
209 if (Double.compare(that.latitude, latitude) != 0) return false; in equals()
223 temp = latitude != +0.0d ? Double.doubleToLongBits(latitude) : 0L; in hashCode()
237 ", latitude=" + latitude + in toString()
384 if (latitude != mLat1 || longitude != mLon1 || in distanceTo()
386 computeDistanceAndBearing(latitude, longitude, in distanceTo()
[all …]
DShadowAddress.java17 private double latitude; field in ShadowAddress
23 return latitude; in getLatitude()
27 public void setLatitude(double latitude) { in setLatitude() argument
28 this.latitude = latitude; in setLatitude()
DShadowGeocoder.java39 …public List<Address> getFromLocation(double latitude, double longitude, int maxResults) throws IOE… in getFromLocation() argument
41 this.lastLatitude = latitude; in getFromLocation()
/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/chromium_org/content/browser/geolocation/
Dlocation_arbitrator_impl_unittest.cc23 last_position_.latitude = 100; in InvalidateLastPosition()
46 double latitude, in SetPositionFix() argument
51 position.latitude = latitude; in SetPositionFix()
124 void CheckLastPositionInfo(double latitude, in CheckLastPositionInfo() argument
129 EXPECT_DOUBLE_EQ(latitude, geoposition.latitude); in CheckLastPositionInfo()
196 EXPECT_EQ(cell()->position_.latitude, in TEST_F()
197 observer_->last_position_.latitude); in TEST_F()
Dlocation_api_adapter_android.cc20 jdouble latitude, in NewLocationAvailable() argument
27 AndroidLocationApiAdapter::OnNewLocationAvailable(latitude, longitude, in NewLocationAvailable()
104 double latitude, double longitude, double time_stamp, in OnNewLocationAvailable() argument
110 position.latitude = latitude; in OnNewLocationAvailable()
Dgeolocation_provider_unittest.cc83 return actual.latitude == expected_.latitude && in MatchAndExplain()
189 first_position.latitude = 12; in TEST_F()
206 second_position.latitude = 13; in TEST_F()
Dnetwork_location_provider_unittest.cc191 pos.latitude = id; in CreateReferencePosition()
417 EXPECT_EQ(51.0, position.latitude); in TEST_F()
436 EXPECT_EQ(51.0, position.latitude); in TEST_F()
465 EXPECT_EQ(51.0, position.latitude); in TEST_F()
552 EXPECT_EQ(pos.latitude, item->latitude) << i; in TEST_F()
Dnetwork_location_request.cc412 double latitude, longitude; in ParseServerResponse() local
413 if (!GetAsDouble(*location_object, kLatitudeString, &latitude) || in ParseServerResponse()
419 position->latitude = latitude; in ParseServerResponse()
/external/chromium_org/content/public/common/
Dgeoposition.cc22 : latitude(kBadLatitudeLongitude), in Geoposition()
33 return latitude >= -90. && latitude <= 90. && in Validate()
/external/chromium_org/chrome/test/chromedriver/chrome/
Dgeolocation_override_manager_unittest.cc59 double latitude, longitude, accuracy; in AssertGeolocationCommand() local
60 ASSERT_TRUE(command.params.GetDouble("latitude", &latitude)); in AssertGeolocationCommand()
63 ASSERT_EQ(geoposition.latitude, latitude); in AssertGeolocationCommand()
79 geoposition.latitude = 5; in TEST()
Dgeoposition.h9 double latitude; member
/external/chromium_org/third_party/WebKit/public/web/
DWebGeolocationPosition.h43 …WebGeolocationPosition(double timestamp, double latitude, double longitude, double accuracy, bool … in WebGeolocationPosition() argument
45 …assign(timestamp, latitude, longitude, accuracy, providesAltitude, altitude, providesAltitudeAccur… in WebGeolocationPosition()
50 …BLINK_EXPORT void assign(double timestamp, double latitude, double longitude, double accuracy, boo…
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DLocationProviderAdapter.java79 public static void newLocationAvailable(double latitude, double longitude, double timestamp, in newLocationAvailable() argument
84 nativeNewLocationAvailable(latitude, longitude, timestamp, hasAltitude, altitude, in newLocationAvailable()
94 double latitude, double longitude, double timeStamp, in nativeNewLocationAvailable() argument
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DOverridesSupport.js240 WebInspector.OverridesSupport.GeolocationPosition = function(latitude, longitude, error) argument
242 this.latitude = latitude;
253 …return (typeof this.latitude === "number" && typeof this.longitude === "number" && typeof this.err…
294 var latitude = isLatitudeValid ? parseFloat(latitudeString) : -1;
297 …return new WebInspector.OverridesSupport.GeolocationPosition(latitude, longitude, errorStatus ? "P…
477 PageAgent.setGeolocationOverride(geolocation.latitude, geolocation.longitude, 150);
/external/icu4c/i18n/
Dastro.h86 latitude = lat;
97 latitude = lat; in set()
113 double latitude; variable
315 CalendarAstronomer(double longitude, double latitude);
/external/chromium_org/third_party/icu/source/i18n/
Dastro.h86 latitude = lat;
97 latitude = lat; in set()
113 double latitude; variable
315 CalendarAstronomer(double longitude, double latitude);
/external/chromium_org/third_party/WebKit/Source/web/
DWebGeolocationPosition.cpp35 void WebGeolocationPosition::assign(double timestamp, double latitude, double longitude, double acc… in assign() argument
37 …m_private = GeolocationPosition::create(timestamp, latitude, longitude, accuracy, providesAltitude… in assign()
DWebGeolocationClientMock.cpp55 void WebGeolocationClientMock::setPosition(double latitude, double longitude, double accuracy) in setPosition() argument
57 WebGeolocationPosition webPosition(currentTime(), latitude, longitude, accuracy, in setPosition()
/external/chromium_org/chrome/browser/geolocation/
Dgeolocation_browsertest.cc281 void CheckGeoposition(double latitude, double longitude);
298 void NotifyGeoposition(double latitude, double longitude);
384 void GeolocationBrowserTest::CheckGeoposition(double latitude, in CheckGeoposition() argument
388 CheckStringValueFromJavascript(base::DoubleToString(latitude), in CheckGeoposition()
448 void GeolocationBrowserTest::NotifyGeoposition(double latitude, in NotifyGeoposition() argument
450 fake_latitude_ = latitude; in NotifyGeoposition()
452 ui_test_utils::OverrideGeolocation(latitude, longitude); in NotifyGeoposition()
/external/chromium_org/chrome/browser/extensions/api/location/
Dlocation_manager.cc64 Distance(position.latitude, in ShouldSendUpdate()
66 last_updated_position_.latitude, in ShouldSendUpdate()
352 coordinates->latitude = position.latitude; in GeopositionToApiCoordinates()

1234