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.java65 List<Geometry> geometries = new ArrayList<>(); in parseGeometriesFromString() local
70 geometries.add(new Circle(parseLatLngFromString(geoParameters[1]), in parseGeometriesFromString()
78 geometries.add(new Polygon(vertices)); in parseGeometriesFromString()
88 return geometries; in parseGeometriesFromString()
99 public static String encodeGeometriesToString(@NonNull List<Geometry> geometries) { in encodeGeometriesToString() argument
100 return geometries.stream() in encodeGeometriesToString()
DGsmSmsCbMessage.java134 List<Geometry> geometries = null; in createSmsCbMessage() local
141 geometries = wac.second; in createSmsCbMessage()
153 geometries, receivedTimeMillis, slotIndex, subId); in createSmsCbMessage()
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java130 List<Geometry> geometries = null; in createSmsCbMessage() local
137 geometries = wac.second; in createSmsCbMessage()
149 geometries, receivedTimeMillis, slotIndex, subId); in createSmsCbMessage()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...