Searched refs:latitude (Results 1 – 21 of 21) sorted by relevance
33 private Location(double latitude, double longitude) { in Location() argument34 mLatitude = latitude; in Location()94 public static Location from(double latitude, double longitude) { in from() argument95 if (Double.isNaN(latitude) || Double.isNaN(longitude) in from()96 || Double.isInfinite(latitude) || Double.isInfinite(longitude) in from()97 || (latitude == 0.0 && longitude == 0.0)) { in from()101 return new Location(latitude, longitude); in from()
68 double latitude = c.getDouble(VideoDataQuery.COL_LATITUDE); in fromCursor() local71 Location location = Location.from(latitude, longitude); in fromCursor()
66 double latitude = c.getDouble(PhotoDataQuery.COL_LATITUDE); in fromCursor() local68 Location location = Location.from(latitude, longitude); in fromCursor()
266 public static boolean isValidLocation(double latitude, double longitude) { in isValidLocation() argument268 return (latitude != MediaItem.INVALID_LATLNG || longitude != MediaItem.INVALID_LATLNG); in isValidLocation()271 public static String formatLatitudeLongitude(String format, double latitude, in formatLatitudeLongitude() argument275 return String.format(Locale.ENGLISH, format, latitude, longitude); in formatLatitudeLongitude()278 public static void showOnMap(Context context, double latitude, double longitude) { in showOnMap() argument285 latitude, longitude); in showOnMap()294 String url = formatLatitudeLongitude("geo:%f,%f", latitude, longitude); in showOnMap()
123 double latitude = cursor.getDouble(1); in insertContent()128 if ((latitude != 0f) || (longitude != 0f)) { in insertContent()129 values.put(Video.Media.LATITUDE, latitude); in insertContent()
305 public Address lookupAddress(final double latitude, final double longitude, in lookupAddress() argument308 long locationKey = (long) (((latitude + LAT_MAX) * 2 * LAT_MAX in lookupAddress()320 List<Address> addresses = mGeocoder.getFromLocation(latitude, longitude, 1); in lookupAddress()372 return lookupAddress(latitude, longitude, false); in lookupAddress()
40 public double latitude = INVALID_LATLNG; field in LocalMediaItem66 latLong[0] = latitude; in getLatLong()93 if (GalleryUtils.isValidLocation(latitude, longitude)) { in getDetails()94 details.addDetail(MediaDetails.INDEX_LOCATION, new double[] {latitude, longitude}); in getDetails()
137 latitude = cursor.getDouble(INDEX_LATITUDE); in loadFromCursor()156 latitude = uh.update(latitude, cursor.getDouble(INDEX_LATITUDE)); in updateFromCursor()249 if (GalleryUtils.isValidLocation(latitude, longitude)) { in getSupportedOperations()
105 latitude = cursor.getDouble(INDEX_LATITUDE); in loadFromCursor()137 latitude = uh.update(latitude, cursor.getDouble(INDEX_LATITUDE)); in updateFromCursor()
139 double latitude = PicasaSource.getLatitude(image); in queryPicasaItem() local141 boolean isValidLatlong = GalleryUtils.isValidLocation(latitude, longitude); in queryPicasaItem()158 columnValues[i] = isValidLatlong ? latitude : null; in queryPicasaItem()
1933 Rational[] latitude = getTagRationalValues(TAG_GPS_LATITUDE); in getLatLongAsDoubles() local1937 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null in getLatLongAsDoubles()1938 || latitude.length < 3 || longitude.length < 3) { in getLatLongAsDoubles()1942 latLon[0] = convertLatOrLongToDouble(latitude, latitudeRef); in getLatLongAsDoubles()1986 public boolean addGpsTags(double latitude, double longitude) { in addGpsTags() argument1987 ExifTag latTag = buildTag(TAG_GPS_LATITUDE, toExifLatLong(latitude)); in addGpsTags()1990 latitude >= 0 ? ExifInterface.GpsLatitudeRef.NORTH in addGpsTags()
1974 Rational[] latitude = getTagRationalValues(TAG_GPS_LATITUDE); in getLatLongAsDoubles() local1978 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null in getLatLongAsDoubles()1979 || latitude.length < 3 || longitude.length < 3) { in getLatLongAsDoubles()1983 latLon[0] = convertLatOrLongToDouble(latitude, latitudeRef); in getLatLongAsDoubles()2027 public boolean addGpsTags(double latitude, double longitude) { in addGpsTags() argument2028 ExifTag latTag = buildTag(TAG_GPS_LATITUDE, toExifLatLong(latitude)); in addGpsTags()2031 latitude >= 0 ? GpsLatitudeRef.NORTH in addGpsTags()
1912 Rational[] latitude = getTagRationalValues(TAG_GPS_LATITUDE); in getLatLongAsDoubles() local1916 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null in getLatLongAsDoubles()1917 || latitude.length < 3 || longitude.length < 3) { in getLatLongAsDoubles()1921 latLon[0] = convertLatOrLongToDouble(latitude, latitudeRef); in getLatLongAsDoubles()1965 public boolean addGpsTags(double latitude, double longitude) { in addGpsTags() argument1966 ExifTag latTag = buildTag(TAG_GPS_LATITUDE, toExifLatLong(latitude)); in addGpsTags()1969 latitude >= 0 ? ExifInterface.GpsLatitudeRef.NORTH in addGpsTags()
725 double latitude = cursor.getDouble(1); in getContentValues()729 if ((latitude != 0f) || (longitude != 0f)) { in getContentValues()730 values.put(Images.Media.LATITUDE, latitude); in getContentValues()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...