/packages/apps/Camera2/src/com/android/camera/data/ |
D | Location.java | 33 private Location(double latitude, double longitude) { in Location() argument 35 mLongitude = longitude; in Location() 94 public static Location from(double latitude, double longitude) { in from() argument 95 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()
|
D | VideoDataFactory.java | 69 double longitude = c.getDouble(VideoDataQuery.COL_LONGITUDE); in fromCursor() local 71 Location location = Location.from(latitude, longitude); in fromCursor()
|
D | PhotoDataFactory.java | 67 double longitude = c.getDouble(PhotoDataQuery.COL_LONGITUDE); in fromCursor() local 68 Location location = Location.from(latitude, longitude); in fromCursor()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/map/ |
D | MapView.kt | 114 var longitude = (location.longitude - average.second + 360) % 360 in <lambda>() variable 115 if (longitude > 180) longitude -= 360 in <lambda>() 116 Pair(latitude, longitude) in <lambda>() 158 x += cos(toRadians(location.latitude)) * cos(toRadians(location.longitude)) in <lambda>() 159 y += cos(toRadians(location.latitude)) * sin(toRadians(location.longitude)) in <lambda>()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalMediaItem.java | 41 public double longitude = INVALID_LATLNG; field in LocalMediaItem 67 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()
|
D | LocalImage.java | 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()
|
D | LocalVideo.java | 106 longitude = cursor.getDouble(INDEX_LONGITUDE); in loadFromCursor() 142 longitude = uh.update(longitude, cursor.getDouble(INDEX_LONGITUDE)); in updateFromCursor()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | Other.java | 100 public boolean setLatLong(double latitude, double longitude) { in setLatLong() argument 101 if (latitude == mLatitude || longitude == mLongitude) { in setLatLong() 105 mLongitude = longitude; in setLatLong()
|
D | VideoStore.java | 262 double longitude = cursor.getDouble(longitudeColumn); in loadData() local 263 updated |= other.setLatLong(latitude, longitude); in loadData()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | GalleryUtils.java | 266 public static boolean isValidLocation(double latitude, double longitude) { in isValidLocation() argument 268 return (latitude != MediaItem.INVALID_LATLNG || longitude != MediaItem.INVALID_LATLNG); in isValidLocation() 272 double longitude) { in formatLatitudeLongitude() argument 275 return String.format(Locale.ENGLISH, format, latitude, longitude); in formatLatitudeLongitude() 278 public static void showOnMap(Context context, double latitude, double longitude) { in showOnMap() argument 285 latitude, longitude); in showOnMap() 294 String url = formatLatitudeLongitude("geo:%f,%f", latitude, longitude); in showOnMap()
|
D | SaveVideoFileUtils.java | 125 double longitude = cursor.getDouble(2); in insertContent() 129 if ((latitude != 0f) || (longitude != 0f)) { in insertContent() 131 values.put(Video.Media.LONGITUDE, longitude); in insertContent()
|
D | ReverseGeocoder.java | 305 public Address lookupAddress(final double latitude, final double longitude, in lookupAddress() argument 309 + (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()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | ExerciseRoute.java | 171 @FloatRange(from = MIN_LONGITUDE, to = MAX_LONGITUDE) double longitude, in Location() 181 longitude, MIN_LONGITUDE, MAX_LONGITUDE, "Longitude"); in Location() 196 mLongitude = longitude; in Location() 334 @FloatRange(from = -180.0, to = 180.0) double longitude) { in Builder() 338 mLongitude = longitude; in Builder()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/data/ |
D | ExerciseRoutesTestData.kt | 12 val longitude: Double, constant in com.android.healthconnect.testapps.toolbox.data.ExerciseRoutesTestData.ExerciseRouteLocationData 133 locationsDatum.longitude) in generateExerciseRouteFromLocations()
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
D | GalleryProvider.java | 140 double longitude = PicasaSource.getLongitude(image); in queryPicasaItem() local 141 boolean isValidLatlong = GalleryUtils.isValidLocation(latitude, longitude); in queryPicasaItem() 160 columnValues[i] = isValidLatlong ? longitude : null; in queryPicasaItem()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | OtherDetailsActivity.java | 161 double longitude = mOther.getLongitude(); in updateViews() local 162 String latlong = String.format("%f %f", latitude, longitude); in updateViews()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | ExerciseRouteInternal.java | 152 @FloatRange(from = -180.0, to = 180.0) double longitude) { in setLongitude() 153 this.mLongitude = longitude; in setLongitude()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | TransactionTestUtils.java | 201 double longitude = 0.14; in createExerciseRoute() local 210 .setLongitude(longitude + 0.001 * i)) in createExerciseRoute()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | InspectorController.java | 254 float latitude, float longitude, @Nullable String label) { in createGeoIntent() argument 256 String data = "geo:0,0?q=" + latitude + " " + longitude + "(" + label + ")"; in createGeoIntent()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 1935 Rational[] longitude = getTagRationalValues(TAG_GPS_LONGITUDE); in getLatLongAsDoubles() local 1937 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() argument 1988 ExifTag longTag = buildTag(TAG_GPS_LONGITUDE, toExifLatLong(longitude)); in addGpsTags() 1993 longitude >= 0 ? ExifInterface.GpsLongitudeRef.EAST in addGpsTags()
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | ExifInterface.java | 1976 Rational[] longitude = getTagRationalValues(TAG_GPS_LONGITUDE); in getLatLongAsDoubles() local 1978 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() argument 2029 ExifTag longTag = buildTag(TAG_GPS_LONGITUDE, toExifLatLong(longitude)); in addGpsTags() 2034 longitude >= 0 ? GpsLongitudeRef.EAST in addGpsTags()
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifInterface.java | 1914 Rational[] longitude = getTagRationalValues(TAG_GPS_LONGITUDE); in getLatLongAsDoubles() local 1916 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() argument 1967 ExifTag longTag = buildTag(TAG_GPS_LONGITUDE, toExifLatLong(longitude)); in addGpsTags() 1972 longitude >= 0 ? ExifInterface.GpsLongitudeRef.EAST in addGpsTags()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | SaveImage.java | 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()
|
/packages/services/Car/car-lib/src/android/car/navigation/ |
D | navigation_state.proto | 603 // An object representing a latitude/longitude pair. This is expressed as a pair 604 // of doubles representing degrees latitude and degrees longitude. Unless 614 // The longitude in degrees. It must be in the range [-180.0, +180.0]. 615 double longitude = 2; field
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/ |
D | BundleHelper.java | 645 double longitude = longitudes[i]; in createExerciseSessionRecord() 652 time, latitude, longitude); in createExerciseSessionRecord()
|