Home
last modified time | relevance | path

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

12

/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCbGeoUtils.java120 sb.append(latLng.lat); in encodeGeometryToString()
130 sb.append(circle.getCenter().lat); in encodeGeometryToString()
295 double x = new LatLng(latLng.lat, origin.lng).distance(new LatLng(origin.lat, origin.lng)); in convertToDistanceFromOrigin()
296 double y = new LatLng(origin.lat, latLng.lng).distance(new LatLng(origin.lat, origin.lng)); in convertToDistanceFromOrigin()
298 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.java523 assertEquals(acLatLng.getValue().lat, latLng.lat); in setMockCalculation()
536 doReturn(latLng.lat).when(location).getLatitude(); in createMockLocation()
/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/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/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java842 double lat = 40.649723; in testCallComposerElements() local
845 location.setLatitude(lat); in testCallComposerElements()
860 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.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dsv_wordlist.combined.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dro_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dde_wordlist.combined.gz
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dsl_wordlist.combined.gz
Des_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...

12