Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Images_MediaTest.java330 final float[] latLong = new float[2];
331 exif.getLatLong(latLong);
332 assertEquals(53.83451, latLong[0], 0.001);
333 assertEquals(10.69585, latLong[1], 0.001);
350 final float[] latLong = new float[2];
351 exif.getLatLong(latLong);
352 assertEquals(0, latLong[0], 0.001);
353 assertEquals(0, latLong[1], 0.001);
/cts/tests/tests/media/src/android/media/cts/
DExifInterfaceTest.java228 float[] latLong = new float[2]; in printExifTagsAndValues() local
229 if (exifInterface.getLatLong(latLong)) { in printExifTagsAndValues()
230 Log.v(TAG, fileName + " Latitude = " + latLong[0]); in printExifTagsAndValues()
231 Log.v(TAG, fileName + " Longitude = " + latLong[1]); in printExifTagsAndValues()
291 float[] latLong = new float[2]; in compareWithExpectedValue() local
292 assertEquals(expectedValue.hasLatLong, exifInterface.getLatLong(latLong)); in compareWithExpectedValue()
301 assertEquals(expectedValue.latitude, latLong[0], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
302 assertEquals(expectedValue.longitude, latLong[1], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java305 float[] latLong = new float[2]; in testImageCaptureWithoutLocation() local
306 Boolean hasLocation = exif.getLatLong(latLong); in testImageCaptureWithoutLocation()
307 assertTrue("Should not contain location information latitude: " + latLong[0] + in testImageCaptureWithoutLocation()
308 " longitude: " + latLong[1], !hasLocation); in testImageCaptureWithoutLocation()
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java291 float[] latLong = new float[2]; in testSingleImageThumbnail() local
292 assertTrue(exifInterface.getLatLong(latLong)); in testSingleImageThumbnail()
293 assertEquals(GPS_LATITUDE, latLong[0], GPS_DIFFERENCE_TOLERANCE); in testSingleImageThumbnail()
294 assertEquals(GPS_LONGITUDE, latLong[1], GPS_DIFFERENCE_TOLERANCE); in testSingleImageThumbnail()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1196 float[] latLong = new float[2]; in testGpsExifValues() local
1197 assertTrue(exif.getLatLong(latLong)); in testGpsExifValues()
1198 assertEquals((float)latitude, latLong[0], 0.0001f); in testGpsExifValues() local
1199 assertEquals((float)longitude, latLong[1], 0.0001f); in testGpsExifValues() local