/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | LocalMediaItem.java | 41 public double longitude = INVALID_LATLNG; field in class:LocalMediaItem 67 latLong[1] = longitude; 93 if (GalleryUtils.isValidLocation(latitude, longitude)) { 94 details.addDetail(MediaDetails.INDEX_LOCATION, new double[] {latitude, longitude});
|
H A D | LocalVideo.java | 106 longitude = cursor.getDouble(INDEX_LONGITUDE); 138 longitude = uh.update(longitude, cursor.getDouble(INDEX_LONGITUDE));
|
H A D | LocalImage.java | 138 longitude = cursor.getDouble(INDEX_LONGITUDE); 157 longitude = uh.update(longitude, cursor.getDouble(INDEX_LONGITUDE)); 249 if (GalleryUtils.isValidLocation(latitude, longitude)) {
|
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | RotationTask.java | 130 double longitude = 0; 133 longitude = latLong[1]; 139 imageData.getHeight(), data.getSizeInBytes(), latitude, longitude);
|
H A D | LocalMediaData.java | 87 double longitude) { 98 mLongitude = longitude; 378 long sizeInBytes, double latitude, double longitude) { 380 path, width, height, sizeInBytes, latitude, longitude); 428 double longitude = c.getDouble(COL_LONGITUDE); 431 sizeInBytes, latitude, longitude); 661 double latitude, double longitude, long durationInSeconds) { 663 path, width, height, sizeInBytes, latitude, longitude); 742 double longitude = c.getDouble(COL_LONGITUDE); 746 latitude, longitude, durationInSecond 84 LocalMediaData(long contentId, String title, String mimeType, long dateTakenInMilliSeconds, long dateModifiedInSeconds, String path, int width, int height, long sizeInBytes, double latitude, double longitude) argument 375 PhotoData(long id, String title, String mimeType, long dateTakenInMilliSeconds, long dateModifiedInSeconds, String path, int orientation, int width, int height, long sizeInBytes, double latitude, double longitude) argument 658 VideoData(long id, String title, String mimeType, long dateTakenInMilliSeconds, long dateModifiedInSeconds, String path, int width, int height, long sizeInBytes, double latitude, double longitude, long durationInSeconds) argument [all...] |
/packages/apps/FMRadio/src/com/android/fmradio/ |
H A D | FmUtils.java | 210 * @return the list of latitude and longitude 218 double longitude = Double.valueOf(strLongitude); 219 return new double[] { latitude, longitude }; 225 public static void setLastSearchedLocation(Context context, double latitude, double longitude) { argument 229 String strLongitude = Double.valueOf(longitude).toString();
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | GalleryUtils.java | 266 public static boolean isValidLocation(double latitude, double longitude) { argument 268 return (latitude != MediaItem.INVALID_LATLNG || longitude != MediaItem.INVALID_LATLNG); 272 double longitude) { 275 return String.format(Locale.ENGLISH, format, latitude, longitude); 278 public static void showOnMap(Context context, double latitude, double longitude) { argument 280 // We don't use "geo:latitude,longitude" because it only centers 285 latitude, longitude); 294 String url = formatLatitudeLongitude("geo:%f,%f", latitude, longitude); 271 formatLatitudeLongitude(String format, double latitude, double longitude) argument
|
H A D | SaveVideoFileUtils.java | 124 double longitude = cursor.getDouble(2); 128 if ((latitude != 0f) || (longitude != 0f)) { 130 values.put(Video.Media.LONGITUDE, longitude);
|
H A D | ReverseGeocoder.java | 58 // 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 309 + (longitude + LON_MAX)) * EARTH_RADIUS_METERS); 320 List<Address> addresses = mGeocoder.getFromLocation(latitude, longitude, 1); 372 return lookupAddress(latitude, longitude, fals [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
H A D | GalleryProvider.java | 140 double longitude = PicasaSource.getLongitude(image); 141 boolean isValidLatlong = GalleryUtils.isValidLocation(latitude, longitude); 160 columnValues[i] = isValidLatlong ? longitude : null;
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | ExifInterface.java | 1898 * 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 1935 Rational[] longitude = getTagRationalValues(TAG_GPS_LONGITUDE); 1937 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null 1938 || latitude.length < 3 || longitude.length < 3) { 1943 latLon[1] = convertLatOrLongToDouble(longitude, longitudeRef); 1980 * Creates and sets all to the GPS tags for a give latitude and longitude. 1983 * @param longitude a GPS longitude coordinat 1986 addGpsTags(double latitude, double longitude) argument [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 1898 * 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 1935 Rational[] longitude = getTagRationalValues(TAG_GPS_LONGITUDE); 1937 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null 1938 || latitude.length < 3 || longitude.length < 3) { 1943 latLon[1] = convertLatOrLongToDouble(longitude, longitudeRef); 1980 * Creates and sets all to the GPS tags for a give latitude and longitude. 1983 * @param longitude a GPS longitude coordinat 1986 addGpsTags(double latitude, double longitude) argument [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 1898 * 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 1935 Rational[] longitude = getTagRationalValues(TAG_GPS_LONGITUDE); 1937 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null 1938 || latitude.length < 3 || longitude.length < 3) { 1943 latLon[1] = convertLatOrLongToDouble(longitude, longitudeRef); 1980 * Creates and sets all to the GPS tags for a give latitude and longitude. 1983 * @param longitude a GPS longitude coordinat 1986 addGpsTags(double latitude, double longitude) argument [all...] |
/packages/apps/Mms/src/com/android/mms/exif/ |
H A D | ExifInterface.java | 1898 * 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 1935 Rational[] longitude = getTagRationalValues(TAG_GPS_LONGITUDE); 1937 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null 1938 || latitude.length < 3 || longitude.length < 3) { 1943 latLon[1] = convertLatOrLongToDouble(longitude, longitudeRef); 1980 * Creates and sets all to the GPS tags for a give latitude and longitude. 1983 * @param longitude a GPS longitude coordinat 1986 addGpsTags(double latitude, double longitude) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
H A D | SaveImage.java | 726 double longitude = cursor.getDouble(2); 729 if ((latitude != 0f) || (longitude != 0f)) { 731 values.put(Images.Media.LONGITUDE, longitude);
|