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

/frameworks/base/location/java/android/location/
H A DLocation.java154 * Converts a coordinate to a String representation. The outputType
156 * The coordinate must be a valid double between -180.0 and 180.0.
158 * @throws IllegalArgumentException if coordinate is less than
163 public static String convert(double coordinate, int outputType) { argument
164 if (coordinate < -180.0 || coordinate > 180.0 ||
165 Double.isNaN(coordinate)) {
166 throw new IllegalArgumentException("coordinate=" + coordinate);
177 if (coordinate <
210 convert(String coordinate) argument
[all...]

Completed in 308 milliseconds