Searched refs:geometries (Results 1 – 8 of 8) sorted by relevance
148 List<CbGeoUtils.Geometry> geometries = msg.getGeometries(); in testCreateMessageFromBinary() local150 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()
63 List<Geometry> geometries = new ArrayList<>(); in testEncodeAndParseString() local64 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()
65 List<Geometry> geometries = new ArrayList<>(); in parseGeometriesFromString() local70 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() argument100 return geometries.stream() in encodeGeometriesToString()
134 List<Geometry> geometries = null; in createSmsCbMessage() local141 geometries = wac.second; in createSmsCbMessage()153 geometries, receivedTimeMillis, slotIndex, subId); in createSmsCbMessage()
130 List<Geometry> geometries = null; in createSmsCbMessage() local137 geometries = wac.second; in createSmsCbMessage()149 geometries, receivedTimeMillis, slotIndex, subId); in createSmsCbMessage()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...