Searched refs:coordinate (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/location/java/android/location/
H A DLocation.java169 * Converts a coordinate to a String representation. The outputType
171 * The coordinate must be a valid double between -180.0 and 180.0.
173 * @throws IllegalArgumentException if coordinate is less than
178 public static String convert(double coordinate, int outputType) { argument
179 if (coordinate < -180.0 || coordinate > 180.0 ||
180 Double.isNaN(coordinate)) {
181 throw new IllegalArgumentException("coordinate=" + coordinate);
192 if (coordinate <
225 convert(String coordinate) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DAutoScrollHelper.java538 int direction, float coordinate, float srcSize, float dstSize) {
541 final float value = getEdgeValue(relativeEdge, srcSize, maximumEdge, coordinate);
852 * The distance traveled in the X-coordinate computed by the last call
860 * The distance traveled in the Y-coordinate computed by the last call
537 computeTargetVelocity( int direction, float coordinate, float srcSize, float dstSize) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DAutoScrollHelper.java537 int direction, float coordinate, float srcSize, float dstSize) {
540 final float value = getEdgeValue(relativeEdge, srcSize, maximumEdge, coordinate);
851 * The distance traveled in the X-coordinate computed by the last call
859 * The distance traveled in the Y-coordinate computed by the last call
536 computeTargetVelocity( int direction, float coordinate, float srcSize, float dstSize) argument
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java1899 * coordinate.
1901 * @param coordinate an array of 3 Rationals representing the degrees,
1906 * @return the GPS coordinate represented as degrees + minutes/60 +
1909 public static double convertLatOrLongToDouble(Rational[] coordinate, String reference) { argument
1911 double degrees = coordinate[0].toDouble();
1912 double minutes = coordinate[1].toDouble();
1913 double seconds = coordinate[2].toDouble();
1982 * @param latitude a GPS latitude coordinate.
1983 * @param longitude a GPS longitude coordinate.

Completed in 624 milliseconds