Searched refs:CbGeoUtils (Results 1 – 4 of 4) sorted by relevance
21 import android.telephony.CbGeoUtils;22 import android.telephony.CbGeoUtils.Circle;23 import android.telephony.CbGeoUtils.Geometry;24 import android.telephony.CbGeoUtils.LatLng;25 import android.telephony.CbGeoUtils.Polygon;43 LatLng latlng = CbGeoUtils.parseLatLngFromString("-80.1234, 179.5678"); in testParseLatLngFromString()44 assertThat(latlng.lat).isWithin(CbGeoUtils.EPS).of(-80.1234); in testParseLatLngFromString()45 assertThat(latlng.lng).isWithin(CbGeoUtils.EPS).of(179.5678); in testParseLatLngFromString()58 String encodedStr = CbGeoUtils.encodeGeometriesToString(geo); in testEncodeGeometries()61 List<Geometry> decodedGeo = CbGeoUtils.parseGeometriesFromString(encodedStr); in testEncodeGeometries()[all …]
28 import android.telephony.CbGeoUtils.Geometry;293 mGeometries = geoStr != null ? CbGeoUtils.parseGeometriesFromString(geoStr) : null; in SmsCbMessage()330 mGeometries != null ? CbGeoUtils.encodeGeometriesToString(mGeometries) : null); in writeToParcel()555 ? CbGeoUtils.encodeGeometriesToString(mGeometries) : "null") in toString()613 cv.put(CellBroadcasts.GEOMETRIES, CbGeoUtils.encodeGeometriesToString(mGeometries)); in getContentValues()732 geoStr != null ? CbGeoUtils.parseGeometriesFromString(geoStr) : null; in createFromCursor()
43 public class CbGeoUtils { class49 private CbGeoUtils() {} in CbGeoUtils() method in CbGeoUtils
14444 public class CbGeoUtils {14447 public static class CbGeoUtils.Circle implements android.telephony.CbGeoUtils.Geometry {14448 ctor public CbGeoUtils.Circle(@NonNull android.telephony.CbGeoUtils.LatLng, double);14449 method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng);14450 method @NonNull public android.telephony.CbGeoUtils.LatLng getCenter();14454 public static interface CbGeoUtils.Geometry {14455 method public boolean contains(@NonNull android.telephony.CbGeoUtils.LatLng);14458 public static class CbGeoUtils.LatLng {14459 ctor public CbGeoUtils.LatLng(double, double);14460 method public double distance(@NonNull android.telephony.CbGeoUtils.LatLng);[all …]