HomeSort by relevance Sort by last modified time
    Searched full:latlng (Results 1 - 25 of 40) sorted by null

1 2

  /developers/build/prebuilts/gradle/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/
Attraction.java 22 import com.google.android.gms.maps.model.LatLng;
34 public LatLng location;
44 Uri secondaryImageUrl, LatLng location, String city) {
Utils.java 33 import com.google.android.gms.maps.model.LatLng;
69 * Calculate distance between two LatLng points and format it nicely for
73 public static String formatDistanceBetween(LatLng point1, LatLng point2) {
93 public static void storeLocation(Context context, LatLng location) {
104 public static LatLng getLocation(Context context) {
115 return new LatLng(latDbl, lngDbl);
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/
Attraction.java 22 import com.google.android.gms.maps.model.LatLng;
34 public LatLng location;
44 Uri secondaryImageUrl, LatLng location, String city) {
Utils.java 33 import com.google.android.gms.maps.model.LatLng;
69 * Calculate distance between two LatLng points and format it nicely for
73 public static String formatDistanceBetween(LatLng point1, LatLng point2) {
93 public static void storeLocation(Context context, LatLng location) {
104 public static LatLng getLocation(Context context) {
115 return new LatLng(latDbl, lngDbl);
  /development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
Attraction.java 22 import com.google.android.gms.maps.model.LatLng;
34 public LatLng location;
44 Uri secondaryImageUrl, LatLng location, String city) {
Utils.java 33 import com.google.android.gms.maps.model.LatLng;
69 * Calculate distance between two LatLng points and format it nicely for
73 public static String formatDistanceBetween(LatLng point1, LatLng point2) {
93 public static void storeLocation(Context context, LatLng location) {
104 public static LatLng getLocation(Context context) {
115 return new LatLng(latDbl, lngDbl);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
DetailsAddressResolver.java 42 protected AddressLookupJob(double[] latlng) {
43 mLatlng = latlng;
62 public String resolveAddress(double[] latlng, AddressResolvingListener listener) {
65 new AddressLookupJob(latlng),
80 return GalleryUtils.formatLatitudeLongitude("(%f,%f)", latlng[0], latlng[1]);
MenuExecutor.java 398 double latlng[] = new double[2]; local
399 item.getLatLong(latlng);
400 if (GalleryUtils.isValidLocation(latlng[0], latlng[1])) {
401 GalleryUtils.showOnMap(mActivity, latlng[0], latlng[1]);
  /packages/apps/Gallery/src/com/android/camera/
ReverseGeocoderTask.java 40 public ReverseGeocoderTask(Geocoder geocoder, float[] latlng,
43 mLat = latlng[0];
44 mLng = latlng[1];
MenuHelper.java 177 float latlng[] = new float[2]; local
178 return exif.getLatLong(latlng);
221 float[] latlng = new float[2]; local
222 if (exif.getLatLong(latlng)) {
223 setDetailsValue(d, String.valueOf(latlng[0]),
225 setDetailsValue(d, String.valueOf(latlng[1]),
228 if (latlng[0] == INVALID_LATLNG || latlng[1] == INVALID_LATLNG) {
238 new ReverseGeocoderTask(geocoder, latlng, cb).execute();
271 float latlng[] = null
    [all...]
  /developers/build/prebuilts/gradle/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/
PhoneMainActivity.java 22 import com.google.android.gms.maps.model.LatLng;
98 private List<LatLng> coordinates;
107 coordinates = new ArrayList<LatLng>();
110 LatLng latLng = new LatLng(entry.latitude, entry.longitude);
111 builder.include(latLng);
112 coordinates.add(latLng);
  /developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/
PhoneMainActivity.java 22 import com.google.android.gms.maps.model.LatLng;
98 private List<LatLng> coordinates;
107 coordinates = new ArrayList<LatLng>();
110 LatLng latLng = new LatLng(entry.latitude, entry.longitude);
111 builder.include(latLng);
112 coordinates.add(latLng);
  /development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
PhoneMainActivity.java 22 import com.google.android.gms.maps.model.LatLng;
98 private List<LatLng> coordinates;
107 coordinates = new ArrayList<LatLng>();
110 LatLng latLng = new LatLng(entry.latitude, entry.longitude);
111 builder.include(latLng);
112 coordinates.add(latLng);
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/provider/
TouristAttractions.java 23 import com.google.android.gms.maps.model.LatLng;
45 public static final Map<String, LatLng> CITY_LOCATIONS = new HashMap<String, LatLng>() {{
46 put(CITY_SYDNEY, new LatLng(-33.873651, 151.2068896));
62 new LatLng(-33.858667, 151.214028),
72 new LatLng(-33.852222, 151.210556),
82 new LatLng(-33.8723, 151.19896),
92 new LatLng(-33.89102, 151.277726),
102 new LatLng(-33.843333, 151.241111),
115 LatLng cityLatLng = CITY_LOCATIONS.get(city)
    [all...]
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/provider/
TouristAttractions.java 23 import com.google.android.gms.maps.model.LatLng;
45 public static final Map<String, LatLng> CITY_LOCATIONS = new HashMap<String, LatLng>() {{
46 put(CITY_SYDNEY, new LatLng(-33.873651, 151.2068896));
62 new LatLng(-33.858667, 151.214028),
72 new LatLng(-33.852222, 151.210556),
82 new LatLng(-33.8723, 151.19896),
92 new LatLng(-33.89102, 151.277726),
102 new LatLng(-33.843333, 151.241111),
115 LatLng cityLatLng = CITY_LOCATIONS.get(city)
    [all...]
  /development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/provider/
TouristAttractions.java 23 import com.google.android.gms.maps.model.LatLng;
45 public static final Map<String, LatLng> CITY_LOCATIONS = new HashMap<String, LatLng>() {{
46 put(CITY_SYDNEY, new LatLng(-33.873651, 151.2068896));
62 new LatLng(-33.858667, 151.214028),
72 new LatLng(-33.852222, 151.210556),
82 new LatLng(-33.8723, 151.19896),
92 new LatLng(-33.89102, 151.277726),
102 new LatLng(-33.843333, 151.241111),
115 LatLng cityLatLng = CITY_LOCATIONS.get(city)
    [all...]
  /development/samples/training/location-aware/res/layout/
main.xml 44 android:text="@string/latlng" />
45 <TextView android:id="@+id/latlng"
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionListFragment.java 43 import com.google.android.gms.maps.model.LatLng;
60 private LatLng mLatestLocation;
107 mLatestLocation = new LatLng(location.getLatitude(), location.getLongitude());
114 private static List<Attraction> loadAttractionsFromLocation(final LatLng curLatLng) {
DetailFragment.java 41 import com.google.android.gms.maps.model.LatLng;
87 LatLng location = Utils.getLocation(getActivity());
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionListFragment.java 43 import com.google.android.gms.maps.model.LatLng;
60 private LatLng mLatestLocation;
107 mLatestLocation = new LatLng(location.getLatitude(), location.getLongitude());
114 private static List<Attraction> loadAttractionsFromLocation(final LatLng curLatLng) {
DetailFragment.java 41 import com.google.android.gms.maps.model.LatLng;
87 LatLng location = Utils.getLocation(getActivity());
  /development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
AttractionListFragment.java 43 import com.google.android.gms.maps.model.LatLng;
60 private LatLng mLatestLocation;
107 mLatestLocation = new LatLng(location.getLatitude(), location.getLongitude());
114 private static List<Attraction> loadAttractionsFromLocation(final LatLng curLatLng) {
DetailFragment.java 41 import com.google.android.gms.maps.model.LatLng;
87 LatLng location = Utils.getLocation(getActivity());
  /development/samples/training/location-aware/res/values/
strings.xml 22 <string name="latlng">Lat/Long:</string>
  /external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/bench/
markermanager.js 215 * Gets the tile coordinate for a given latlng point.
217 * @param {LatLng} latlng The geographical point.
225 MarkerManager.prototype.getTilePoint_ = function (latlng, zoom, padding) {
227 var pixelPoint = this.projectionHelper_.LatLngToPixel(latlng, zoom);
304 * @param {LatLng} oldPoint The old position of the marker.
305 * @param {LatLng} newPoint The new position of the marker.
442 var mPoint = new google.maps.LatLng(lat, lng);
954 * @param {LatLng} latlng google.maps.LatLng objec
    [all...]

Completed in 656 milliseconds

1 2