Home
last modified time | relevance | path

Searched refs:lat (Results 1 – 25 of 39) sorted by relevance

12

/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCbGeoUtils.java121 sb.append(latLng.lat); in encodeGeometryToString()
131 sb.append(circle.getCenter().lat); in encodeGeometryToString()
296 double x = new LatLng(latLng.lat, origin.lng).distance(new LatLng(origin.lat, origin.lng)); in convertToDistanceFromOrigin()
297 double y = new LatLng(origin.lat, latLng.lng).distance(new LatLng(origin.lat, origin.lng)); in convertToDistanceFromOrigin()
299 x = latLng.lat > origin.lat ? x : -x; in convertToDistanceFromOrigin()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocationClustering.java47 public Point(double lat, double lng) { in Point() argument
48 latRad = Math.toRadians(lat); in Point()
57 double lat, lng; field in LocationClustering.SmallItem
79 s.lat = latLong[0]; in run()
91 if (GalleryUtils.isValidLocation(s.lat, s.lng)) { in run()
93 points.add(new Point(s.lat, s.lng)); in run()
157 double itemLatitude = item.lat; in generateName()
DTimeClustering.java113 s.lat = latLng[0]; in run()
323 if (!GalleryUtils.isValidLocation(itemA.lat, itemA.lng) in isGeographicallySeparated()
324 || !GalleryUtils.isValidLocation(itemB.lat, itemB.lng)) { in isGeographicallySeparated()
329 Math.toRadians(itemA.lat), in isGeographicallySeparated()
331 Math.toRadians(itemB.lat), in isGeographicallySeparated()
345 double lat, lng; field in SmallItem
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCbGeoUtilsTest.java82 assertThat(mGooglePlex.lat).isEqualTo(east100m.lat); in testAddEast()
223 / Math.cos(Math.toRadians(latLng.lat)); in addEast()
224 return new LatLng(latLng.lat, latLng.lng + offset); in addEast()
229 return new LatLng(latLng.lat + scaleMeters(meters), in addSouth()
DGsmSmsCbMessageTest.java151 assertEquals(37.41462707519531, ((Circle) geometries.get(i * 2)).getCenter().lat); in testCreateMessageFromBinary()
154 ((Polygon) geometries.get(i * 2 + 1)).getVertices().get(0).lat); in testCreateMessageFromBinary()
158 ((Polygon) geometries.get(i * 2 + 1)).getVertices().get(1).lat); in testCreateMessageFromBinary()
162 ((Polygon) geometries.get(i * 2 + 1)).getVertices().get(2).lat); in testCreateMessageFromBinary()
DCbSendMessageCalculatorTest.java306 / Math.cos(Math.toRadians(latLng.lat)); in addEast()
307 return new LatLng(latLng.lat, latLng.lng + offset); in addEast()
312 return new LatLng(latLng.lat + scaleMeters(meters), in addSouth()
DGsmCellBroadcastHandlerTest.java682 assertEquals(acLatLng.getValue().lat, latLng.lat); in setMockCalculation()
695 doReturn(latLng.lat).when(location).getLatitude(); in createMockLocation()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DExerciseSessionRecordTest.java883 private static void assertRoute(ExerciseSessionRecord record, double lat, double lng) { in assertRoute() argument
892 .containsExactly(new Pair<>(lat, lng)); in assertRoute()
896 int recordCount, double lat, double lng) throws Exception { in insertAndReadRecords() argument
897 return insertAndReadRecords(recordCount, /* version= */ 0L, lat, lng); in insertAndReadRecords()
901 int recordCount, long version, double lat, double lng) throws Exception { in insertAndReadRecords() argument
908 Location location = new Location.Builder(startTime, lat, lng).build(); in insertAndReadRecords()
996 Instant startTime, Instant endTime, double lat, double lng) { in buildSession() argument
997 return buildSession(/* id= */ null, startTime, endTime, lat, lng); in buildSession()
1001 String id, Instant startTime, Instant endTime, double lat, double lng) { in buildSession() argument
1008 new Location.Builder(startTime, lat, lng).build()); in buildSession()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/map/
DMapView.kt121 val lat = point.first.toFloat() in <lambda>() constant
125 max(routeBounds.top, lat), in <lambda>()
127 min(routeBounds.bottom, lat)) in <lambda>()
/packages/modules/GeoTZ/validation/geonames/src/main/java/com/android/timezone/location/validation/
DCitiesFile.java98 String lat = fields[LATITUDE_INDEX]; in createCity() local
100 S2LatLng latLng = S2LatLng.fromDegrees(Double.parseDouble(lat), Double.parseDouble(lng)); in createCity()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DMetadataUtils.java73 String lat = exif.getString(ExifInterface.TAG_GPS_LATITUDE); in getExifGpsCoords() local
79 convertRationalLatLonToFloat(lat, latRef), convertRationalLatLonToFloat(lon, lonRef) in getExifGpsCoords()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DExerciseRoute.java129 double lat = source.readDouble();
131 Builder builder = new Builder(timestamp, lat, lon);
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java642 double lat = loc.getLatitude(); in setGpsParameters() local
644 boolean hasLatLon = (lat != 0.0d) || (lon != 0.0d); in setGpsParameters()
648 parameters.setGpsLatitude(lat); in setGpsParameters()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java775 double lat; in setGpsParameters() local
779 lat = loc.getLatitude(); in setGpsParameters()
781 hasLatLon = (lat != 0.0d) || (lon != 0.0d); in setGpsParameters()
/packages/services/Telephony/utils/satellite/
DREADME.md66 - Run the tool: `$satellite_location_lookup --input-file <...> --lat-degrees <...>
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java1034 double lat = 40.649723; in testCallComposerElements() local
1037 location.setLatitude(lat); in testCallComposerElements()
1052 assertEquals(lat, locationValues.getAsDouble(CallLog.Locations.LATITUDE), 0); in testCallComposerElements()
/packages/inputmethods/LatinIME/dictionaries/
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dcs_wordlist.combined.gz
Dsv_wordlist.combined.gz
Dfr_wordlist.combined.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/classifier/
Dprecomputed_test_app_list.csv6564 com.vpn.lat
/packages/modules/AdServices/adservices/apk/assets/classifier/
Dprecomputed_app_list.csv6564 com.vpn.lat

12