Home
last modified time | relevance | path

Searched refs:polygon (Results 1 – 5 of 5) 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/layoutlib/bridge/src/android/view/shadow/
DAmbientShadowVertexCalculator.java47 float[] polygon = mConfig.getPolygon(); in generateVertex() local
51 int polygonLength = polygon.length/3; in generateVertex()
61 float px = polygon[3 * i + 0]; in generateVertex()
62 float py = polygon[3 * i + 1]; in generateVertex()
69 float h = polygon[3 * i + 2] * mConfig.getShadowBoundRatio(); in generateVertex()
DAmbientShadowConfig.java98 public Builder setPolygon(float[] polygon) { in setPolygon() argument
99 mPolygon = polygon; in setPolygon()
/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)