Searched refs:longitude (Results 1 - 11 of 11) sorted by relevance
/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 | 136 longitude = cursor.getDouble(INDEX_LONGITUDE); 155 longitude = uh.update(longitude, cursor.getDouble(INDEX_LONGITUDE)); 249 if (GalleryUtils.isValidLocation(latitude, longitude)) {
|
/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 | 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/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifData.java | 140 * given latitude and longitude. 142 public void addGpsTags(double latitude, double longitude) { argument 157 longTag.setValue(toExifLatLong(longitude)); 161 longRefTag.setValue(longitude >= 0
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
H A D | SaveCopyTask.java | 322 double longitude = cursor.getDouble(2); 325 if ((latitude != 0f) || (longitude != 0f)) { 327 values.put(Images.Media.LONGITUDE, longitude);
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
H A D | GalleryProvider.java | 167 double longitude = PicasaSource.getLongitude(image); 168 boolean isValidLatlong = GalleryUtils.isValidLocation(latitude, longitude); 187 columnValues[i] = isValidLatlong ? longitude : null;
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | TrimVideo.java | 373 double longitude = cursor.getDouble(2); 376 if ((latitude != 0f) || (longitude != 0f)) { 378 values.put(Video.Media.LONGITUDE, longitude);
|
H A D | CropImage.java | 467 double longitude = PicasaSource.getLongitude(mMediaItem); 468 if (GalleryUtils.isValidLocation(latitude, longitude)) { 470 values.put(Images.Media.LONGITUDE, longitude); 511 if (GalleryUtils.isValidLocation(localImage.latitude, localImage.longitude)) { 513 values.put(Images.Media.LONGITUDE, localImage.longitude);
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
H A D | LocalDataTest.java | 123 assertEquals(34.0, item.longitude); 243 "longitude DOUBLE," + 258 db.execSQL("INSERT INTO images (title, mime_type, latitude, longitude, " 301 assertEquals(22.0, item.longitude); 367 "longitude DOUBLE," + 381 db.execSQL("INSERT INTO video (title, mime_type, latitude, longitude, "
|
Completed in 291 milliseconds