Home
last modified time | relevance | path

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

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DGsmSmsCbMessageTest.java148 List<CbGeoUtils.Geometry> geometries = msg.getGeometries(); in testCreateMessageFromBinary() local
150 assertEquals(1546.875, ((Circle) geometries.get(i * 2)).getRadius()); in testCreateMessageFromBinary()
151 assertEquals(37.41462707519531, ((Circle) geometries.get(i * 2)).getCenter().lat); in testCreateMessageFromBinary()
152 assertEquals(-122.08093643188477, ((Circle) geometries.get(i * 2)).getCenter().lng); in testCreateMessageFromBinary()
154 ((Polygon) geometries.get(i * 2 + 1)).getVertices().get(0).lat); in testCreateMessageFromBinary()
156 ((Polygon) geometries.get(i * 2 + 1)).getVertices().get(0).lng); in testCreateMessageFromBinary()
158 ((Polygon) geometries.get(i * 2 + 1)).getVertices().get(1).lat); in testCreateMessageFromBinary()
160 ((Polygon) geometries.get(i * 2 + 1)).getVertices().get(1).lng); in testCreateMessageFromBinary()
162 ((Polygon) geometries.get(i * 2 + 1)).getVertices().get(2).lat); in testCreateMessageFromBinary()
164 ((Polygon) geometries.get(i * 2 + 1)).getVertices().get(2).lng); in testCreateMessageFromBinary()
DCbGeoUtilsTest.java63 List<Geometry> geometries = new ArrayList<>(); in testEncodeAndParseString() local
64 geometries.add(new Circle(new LatLng(10, 10), 3000)); in testEncodeAndParseString()
65 geometries.add(new Circle(new LatLng(12, 10), 3000)); in testEncodeAndParseString()
66 geometries.add(new Circle(new LatLng(40, 40), 3000)); in testEncodeAndParseString()
69 String geoString = CbGeoUtils.encodeGeometriesToString(geometries); in testEncodeAndParseString()
75 assertEquals(geometries, parsedGeometries); in testEncodeAndParseString()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCbGeoUtils.java67 List<Geometry> geometries = new ArrayList<>(); in parseGeometriesFromString() local
72 geometries.add(new Circle(parseLatLngFromString(geoParameters[1]), in parseGeometriesFromString()
80 geometries.add(new Polygon(vertices)); in parseGeometriesFromString()
89 return geometries; in parseGeometriesFromString()
100 public static String encodeGeometriesToString(@NonNull List<Geometry> geometries) { in encodeGeometriesToString() argument
101 return geometries.stream() in encodeGeometriesToString()
DGsmSmsCbMessage.java131 List<Geometry> geometries = null; in createSmsCbMessage() local
138 geometries = wac.second; in createSmsCbMessage()
150 geometries, receivedTimeMillis, slotIndex, subId); in createSmsCbMessage()
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java138 List<Geometry> geometries = null; in createSmsCbMessage() local
145 geometries = wac.second; in createSmsCbMessage()
157 geometries, receivedTimeMillis, slotIndex, subId); in createSmsCbMessage()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz