Searched refs:longitude (Results 1 – 17 of 17) sorted by relevance
33 private Location(double latitude, double longitude) { in Location() argument35 mLongitude = longitude; 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()
69 double longitude = c.getDouble(VideoDataQuery.COL_LONGITUDE); in fromCursor() local71 Location location = Location.from(latitude, longitude); in fromCursor()
67 double longitude = c.getDouble(PhotoDataQuery.COL_LONGITUDE); in fromCursor() local68 Location location = Location.from(latitude, longitude); in fromCursor()
41 public double longitude = INVALID_LATLNG; field in LocalMediaItem67 latLong[1] = longitude; in getLatLong()93 if (GalleryUtils.isValidLocation(latitude, longitude)) { in getDetails()94 details.addDetail(MediaDetails.INDEX_LOCATION, new double[] {latitude, longitude}); in getDetails()
138 longitude = cursor.getDouble(INDEX_LONGITUDE); in loadFromCursor()157 longitude = uh.update(longitude, cursor.getDouble(INDEX_LONGITUDE)); in updateFromCursor()249 if (GalleryUtils.isValidLocation(latitude, longitude)) { in getSupportedOperations()
106 longitude = cursor.getDouble(INDEX_LONGITUDE); in loadFromCursor()138 longitude = uh.update(longitude, cursor.getDouble(INDEX_LONGITUDE)); in updateFromCursor()
266 public static boolean isValidLocation(double latitude, double longitude) { in isValidLocation() argument268 return (latitude != MediaItem.INVALID_LATLNG || longitude != MediaItem.INVALID_LATLNG); in isValidLocation()272 double longitude) { 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()
124 double longitude = cursor.getDouble(2); in insertContent()128 if ((latitude != 0f) || (longitude != 0f)) { in insertContent()130 values.put(Video.Media.LONGITUDE, longitude); in insertContent()
305 public Address lookupAddress(final double latitude, final double longitude, in lookupAddress() argument309 + (longitude + LON_MAX)) * EARTH_RADIUS_METERS); in lookupAddress()320 List<Address> addresses = mGeocoder.getFromLocation(latitude, longitude, 1); in lookupAddress()372 return lookupAddress(latitude, longitude, false); in lookupAddress()
140 double longitude = PicasaSource.getLongitude(image); in queryPicasaItem() local141 boolean isValidLatlong = GalleryUtils.isValidLocation(latitude, longitude); in queryPicasaItem()160 columnValues[i] = isValidLatlong ? longitude : null; in queryPicasaItem()
1914 Rational[] longitude = getTagRationalValues(TAG_GPS_LONGITUDE); in getLatLongAsDoubles() local1916 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null in getLatLongAsDoubles()1917 || latitude.length < 3 || longitude.length < 3) { in getLatLongAsDoubles()1922 latLon[1] = convertLatOrLongToDouble(longitude, longitudeRef); in getLatLongAsDoubles()1965 public boolean addGpsTags(double latitude, double longitude) { in addGpsTags() argument1967 ExifTag longTag = buildTag(TAG_GPS_LONGITUDE, toExifLatLong(longitude)); in addGpsTags()1972 longitude >= 0 ? ExifInterface.GpsLongitudeRef.EAST in addGpsTags()
1935 Rational[] longitude = getTagRationalValues(TAG_GPS_LONGITUDE); in getLatLongAsDoubles() local1937 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null in getLatLongAsDoubles()1938 || latitude.length < 3 || longitude.length < 3) { in getLatLongAsDoubles()1943 latLon[1] = convertLatOrLongToDouble(longitude, longitudeRef); in getLatLongAsDoubles()1986 public boolean addGpsTags(double latitude, double longitude) { in addGpsTags() argument1988 ExifTag longTag = buildTag(TAG_GPS_LONGITUDE, toExifLatLong(longitude)); in addGpsTags()1993 longitude >= 0 ? ExifInterface.GpsLongitudeRef.EAST in addGpsTags()
1976 Rational[] longitude = getTagRationalValues(TAG_GPS_LONGITUDE); in getLatLongAsDoubles() local1978 if (latitude == null || longitude == null || latitudeRef == null || longitudeRef == null in getLatLongAsDoubles()1979 || latitude.length < 3 || longitude.length < 3) { in getLatLongAsDoubles()1984 latLon[1] = convertLatOrLongToDouble(longitude, longitudeRef); in getLatLongAsDoubles()2027 public boolean addGpsTags(double latitude, double longitude) { in addGpsTags() argument2029 ExifTag longTag = buildTag(TAG_GPS_LONGITUDE, toExifLatLong(longitude)); in addGpsTags()2034 longitude >= 0 ? GpsLongitudeRef.EAST in addGpsTags()
726 double longitude = cursor.getDouble(2); in getContentValues()729 if ((latitude != 0f) || (longitude != 0f)) { in getContentValues()731 values.put(Images.Media.LONGITUDE, longitude); in getContentValues()
1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...