Searched defs:latitude (Results 1 - 8 of 8) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocalMediaItem.java40 public double latitude = INVALID_LATLNG; field in class:LocalMediaItem
66 latLong[0] = latitude;
93 if (GalleryUtils.isValidLocation(latitude, longitude)) {
94 details.addDetail(MediaDetails.INDEX_LOCATION, new double[] {latitude, longitude});
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DReverseGeocoder.java58 // The latitude and longitude of the min latitude point.
61 // The latitude and longitude of the max latitude point.
64 // The latitude and longitude of the min longitude point.
67 // The latitude and longitude of the max longitude point.
305 public Address lookupAddress(final double latitude, final double longitude, argument
308 long locationKey = (long) (((latitude + LAT_MAX) * 2 * LAT_MAX
320 List<Address> addresses = mGeocoder.getFromLocation(latitude, longitude, 1);
372 return lookupAddress(latitude, longitud
[all...]
H A DGalleryUtils.java261 public static boolean isValidLocation(double latitude, double longitude) { argument
263 return (latitude != MediaItem.INVALID_LATLNG || longitude != MediaItem.INVALID_LATLNG);
266 public static String formatLatitudeLongitude(String format, double latitude, argument
270 return String.format(Locale.ENGLISH, format, latitude, longitude);
273 public static void showOnMap(Context context, double latitude, double longitude) { argument
275 // We don't use "geo:latitude,longitude" because it only centers
280 latitude, longitude);
289 String url = formatLatitudeLongitude("geo:%f,%f", latitude, longitude);
/packages/apps/Camera2/src/com/android/camera/data/
H A DLocalMediaData.java85 int width, int height, long sizeInBytes, double latitude,
96 mLatitude = latitude;
341 long sizeInBytes, double latitude, double longitude) {
343 path, width, height, sizeInBytes, latitude, longitude);
384 double latitude = c.getDouble(COL_LATITUDE);
388 sizeInBytes, latitude, longitude);
622 double latitude, double longitude, long durationInSeconds) {
624 path, width, height, sizeInBytes, latitude, longitude);
675 double latitude = c.getDouble(COL_LATITUDE);
680 latitude, longitud
83 LocalMediaData(long contentId, String title, String mimeType, long dateTakenInSeconds, long dateModifiedInSeconds, String path, int width, int height, long sizeInBytes, double latitude, double longitude) argument
338 PhotoData(long id, String title, String mimeType, long dateTakenInSeconds, long dateModifiedInSeconds, String path, int orientation, int width, int height, long sizeInBytes, double latitude, double longitude) argument
619 VideoData(long id, String title, String mimeType, long dateTakenInSeconds, long dateModifiedInSeconds, String path, int width, int height, long sizeInBytes, double latitude, double longitude, long durationInSeconds) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifInterface.java1898 * Gets the double representation of the GPS latitude or longitude
1925 * Gets the GPS latitude and longitude as a pair of doubles from this
1928 * @return an array of 2 doubles containing the latitude, and longitude
1933 Rational[] latitude = getTagRationalValues(TAG_GPS_LATITUDE);
1937 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null
1938 || latitude.length < 3 || longitude.length < 3) {
1942 latLon[0] = convertLatOrLongToDouble(latitude, latitudeRef);
1980 * Creates and sets all to the GPS tags for a give latitude and longitude.
1982 * @param latitude a GPS latitude coordinat
1986 addGpsTags(double latitude, double longitude) argument
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifInterface.java1898 * Gets the double representation of the GPS latitude or longitude
1925 * Gets the GPS latitude and longitude as a pair of doubles from this
1928 * @return an array of 2 doubles containing the latitude, and longitude
1933 Rational[] latitude = getTagRationalValues(TAG_GPS_LATITUDE);
1937 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null
1938 || latitude.length < 3 || longitude.length < 3) {
1942 latLon[0] = convertLatOrLongToDouble(latitude, latitudeRef);
1980 * Creates and sets all to the GPS tags for a give latitude and longitude.
1982 * @param latitude a GPS latitude coordinat
1986 addGpsTags(double latitude, double longitude) argument
[all...]
/packages/apps/Launcher3/src/com/android/gallery3d/exif/
H A DExifInterface.java1898 * Gets the double representation of the GPS latitude or longitude
1925 * Gets the GPS latitude and longitude as a pair of doubles from this
1928 * @return an array of 2 doubles containing the latitude, and longitude
1933 Rational[] latitude = getTagRationalValues(TAG_GPS_LATITUDE);
1937 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null
1938 || latitude.length < 3 || longitude.length < 3) {
1942 latLon[0] = convertLatOrLongToDouble(latitude, latitudeRef);
1980 * Creates and sets all to the GPS tags for a give latitude and longitude.
1982 * @param latitude a GPS latitude coordinat
1986 addGpsTags(double latitude, double longitude) argument
[all...]
/packages/apps/Mms/src/com/android/mms/exif/
H A DExifInterface.java1898 * Gets the double representation of the GPS latitude or longitude
1925 * Gets the GPS latitude and longitude as a pair of doubles from this
1928 * @return an array of 2 doubles containing the latitude, and longitude
1933 Rational[] latitude = getTagRationalValues(TAG_GPS_LATITUDE);
1937 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null
1938 || latitude.length < 3 || longitude.length < 3) {
1942 latLon[0] = convertLatOrLongToDouble(latitude, latitudeRef);
1980 * Creates and sets all to the GPS tags for a give latitude and longitude.
1982 * @param latitude a GPS latitude coordinat
1986 addGpsTags(double latitude, double longitude) argument
[all...]

Completed in 475 milliseconds