Home
last modified time | relevance | path

Searched refs:latDegrees (Results 1 – 5 of 5) sorted by relevance

/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/core/
DOfflineLocationTimeZoneDelegateTest.java84 double latDegrees = 1.0; in locationFoundImmediately() local
87 mTestGeoTimeZoneFinder.setTimeZonesForLocation(latDegrees, lngDegrees, timeZoneIds); in locationFoundImmediately()
116 .simulateLocationKnown(latDegrees, lngDegrees); in locationFoundImmediately()
274 FakeEnvironment simulateLocationKnown(double latDegrees, double lngDegrees) {
276 location.setLatitude(latDegrees);
472 FakeLocationToken(double latDegrees, double lngDegrees) {
473 mLatDegrees = latDegrees;
513 public LocationToken createLocationTokenForLatLng(double latDegrees, double lngDegrees)
516 return new FakeLocationToken(latDegrees, lngDegrees);
520 public List<String> findTimeZonesForLatLng(double latDegrees, double lngDegrees)
[all …]
/packages/modules/GeoTZ/geotz_lookup/src/main/java/com/android/timezone/location/lookup/
DS2RangeFileBasedGeoTimeZonesFinder.java60 public LocationToken createLocationTokenForLatLng(double latDegrees, double lngDegrees) { in createLocationTokenForLatLng() argument
61 return new LocationTokenImpl(getS2CellId(latDegrees, lngDegrees).id()); in createLocationTokenForLatLng()
66 public List<String> findTimeZonesForLatLng(double latDegrees, double lngDegrees) in findTimeZonesForLatLng() argument
68 S2CellId cellIdAtLevel = getS2CellId(latDegrees, lngDegrees); in findTimeZonesForLatLng()
93 private S2CellId getS2CellId(double latDegrees, double lngDegrees) { in getS2CellId() argument
94 S2CellId cellId = S2CellId.fromLatLng(S2LatLng.fromDegrees(latDegrees, lngDegrees)); in getS2CellId()
DGeoTimeZonesFinder.java50 public abstract LocationToken createLocationTokenForLatLng(double latDegrees, double lngDegrees) in createLocationTokenForLatLng() argument
66 public abstract List<String> findTimeZonesForLatLng(double latDegrees, double lngDegrees) in findTimeZonesForLatLng() argument
/packages/modules/GeoTZ/geotz_lookup/src/test/java/com/android/timezone/location/lookup/
DGeoTimeZonesFinderTest.java76 double latDegrees = latLngDegreess[i][0]; in sampleLookups() local
80 geoTimeZonesFinder.findTimeZonesForLatLng(latDegrees, lngDegrees)); in sampleLookups()
/packages/modules/GeoTZ/validation/geonames/src/main/java/com/android/timezone/location/validation/
DGeonamesComparison.java129 latLng.latDegrees(), latLng.lngDegrees()); in main()