Home
last modified time | relevance | path

Searched refs:latLng (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DCbGeoUtils.java187 .map(latLng -> convertAndScaleLatLng(latLng)) in Polygon()
205 public boolean contains(@NonNull LatLng latLng) { in contains() argument
209 Point p = convertAndScaleLatLng(latLng); in contains()
254 private Point convertAndScaleLatLng(LatLng latLng) { in convertAndScaleLatLng() argument
255 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() argument
369 return mCenter.distance(latLng) <= mRadiusMeter; in contains()
[all …]