Searched refs:latLng (Results 1 – 1 of 1) sorted by relevance
187 .map(latLng -> convertAndScaleLatLng(latLng)) in Polygon()205 public boolean contains(@NonNull LatLng latLng) { in contains() argument209 Point p = convertAndScaleLatLng(latLng); in contains()254 private Point convertAndScaleLatLng(LatLng latLng) { in convertAndScaleLatLng() argument255 double x = latLng.lat - mOrigin.lat; in convertAndScaleLatLng()256 double y = latLng.lng - mOrigin.lng; in convertAndScaleLatLng()264 if (sign(mOrigin.lng) != 0 && sign(mOrigin.lng) != sign(latLng.lng)) { in convertAndScaleLatLng()265 double distCross0thMeridian = Math.abs(mOrigin.lng) + Math.abs(latLng.lng); in convertAndScaleLatLng()368 public boolean contains(@NonNull LatLng latLng) { in contains() argument369 return mCenter.distance(latLng) <= mRadiusMeter; in contains()[all …]