Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRippleDrawableTest.java66 assertEquals(RippleDrawable.RADIUS_AUTO, drawable.getRadius()); in testAccessRadius()
68 assertEquals(10, drawable.getRadius()); in testAccessRadius()
75 assertEquals(10, drawable.getRadius()); in testRadiusAttr()
98 final int initialRadius = preloadedDrawable.getRadius(); in verifyPreloadDensityInner()
105 assertEquals(Math.round(initialRadius / 2f), halfDrawable.getRadius()); in verifyPreloadDensityInner()
111 assertEquals(initialRadius * 2, doubleDrawable.getRadius()); in verifyPreloadDensityInner()
117 assertEquals(initialRadius, origDrawable.getRadius()); in verifyPreloadDensityInner()
122 assertEquals(initialRadius, halfDrawable.getRadius()); in verifyPreloadDensityInner()
124 assertEquals(initialRadius, doubleDrawable.getRadius()); in verifyPreloadDensityInner()
DNinePatchDrawableTest.java629 final float origOutlineRadius = origOutline.getRadius(); in verifyOutlinePreloadDensityInner()
650 assertEquals(origOutlineRadius * scale, tempOutline.getRadius(), 0.1f); in verifyOutlinePreloadDensityInner()
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DRoundRectShapeTest.java119 assertTrue(outline.getRadius() < 0); in testGetOutline()
125 assertEquals(0.0f, outline.getRadius(), 0.0f); in testGetOutline()
136 assertTrue(outline.getRadius() < 0); in testGetOutline()
142 assertEquals(10.0f, outline.getRadius(), 0.01f); in testGetOutline()
153 assertTrue(outline.getRadius() < 0); in testGetOutline()
159 assertTrue(outline.getRadius() < 0); in testGetOutline()
DOvalShapeTest.java93 assertTrue(outline.getRadius() < 0); in testGetOutline()
100 assertEquals(50.0f, outline.getRadius(), 0.01f); in testGetOutline()
111 assertTrue(outline.getRadius() < 0); in testGetOutline()
DRectShapeTest.java120 assertTrue(outline.getRadius() < 0); in testGetOutline()
127 assertEquals(0.0f, outline.getRadius(), 0.0f); in testGetOutline()
/cts/tests/tests/graphics/src/android/graphics/cts/
DOutlineTest.java44 assertTrue(outline.getRadius() < 0); in testDefaults()
141 assertEquals(5f, outline.getRadius(), 0.0f);
148 assertEquals(4f, outline.getRadius(), 0.0f);
213 assertEquals(30.0f, outline.getRadius(), 0.0f);
218 assertEquals(0.0f, outline.getRadius(), 0.0f);
223 assertTrue(outline.getRadius() < 0);
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ver2_ulp_components/
DCircularArea.java117 public CircularArea.radiusType getRadius() { in getRadius() method in CircularArea
216 return getRadius() != null; in getComponents()
228 return getRadius(); in getComponents()
251 + getRadius().toIndentedString(indent); in getComponents()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCbGeoUtilsTest.java84 assertEquals(radius, circle.getRadius(), DELTA); in testCircle()