Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCbGeoUtilsTest.java66 CbGeoUtils.Polygon polygon = (Polygon) geo.get(0); in testEncodeGeometries() local
67 List<LatLng> vertexes = polygon.getVertices(); in testEncodeGeometries()
98 CbGeoUtils.Polygon polygon = (Polygon) geo.get(0); in testParseGeometriesFromString() local
99 List<LatLng> vertexes = polygon.getVertices(); in testParseGeometriesFromString()
127 Polygon polygon = new Polygon(vertex); in testPointInPolygon() local
129 assertThat(polygon.contains(new LatLng(0, 0))).isTrue(); in testPointInPolygon()
131 assertThat(polygon.contains(new LatLng(0.5, 0.5))).isTrue(); in testPointInPolygon()
133 assertThat(polygon.contains(new LatLng(-2, -1))).isFalse(); in testPointInPolygon()
135 assertThat(polygon.contains(new LatLng(1.0001, 1.0001))).isFalse(); in testPointInPolygon()
149 Polygon polygon = new Polygon(vertices); in testPointInPolygon_crossing180thMeridian() local
[all …]
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
Dfind_region.rscript28 This takes a float2 polygon and an image and searches a best fit polygon in the image
Dhealing.rscript23 This takes polygon and image to copy from(src_image) and and image to paste to(dest_image)