Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DRippleDrawableTest.java68 assertEquals(RippleDrawable.RADIUS_AUTO, drawable.getRadius()); in testAccessRadius()
70 assertEquals(10, drawable.getRadius()); in testAccessRadius()
77 assertEquals(10, drawable.getRadius()); in testRadiusAttr()
116 final int initialRadius = preloadedDrawable.getRadius(); in verifyPreloadDensityInner()
123 assertEquals(Math.round(initialRadius / 2f), halfDrawable.getRadius()); in verifyPreloadDensityInner()
129 assertEquals(initialRadius * 2, doubleDrawable.getRadius()); in verifyPreloadDensityInner()
135 assertEquals(initialRadius, origDrawable.getRadius()); in verifyPreloadDensityInner()
140 assertEquals(initialRadius, halfDrawable.getRadius()); in verifyPreloadDensityInner()
142 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);
216 assertEquals(30.0f, outline.getRadius(), 0.0f);
221 assertEquals(0.0f, outline.getRadius(), 0.0f);
226 assertTrue(outline.getRadius() < 0);
/cts/tests/location/location_gnss/src/android/location/cts/gnss/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()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DDisplayShapeTests.java84 if (r != null && r.getRadius() > 0) { in testDisplayShapeConfig()
DActivityTransitionTests.java841 final int radius = topLeftCorner.getRadius(); in cropRoundedCornersRegions()
848 final int radius = bottomRightCorner.getRadius(); in cropRoundedCornersRegions()
DBlurTests.java485 return corner != null ? corner.getRadius() : 0; in getCornerRadius()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsTest.java2265 ((RemoteViews.RemoteViewOutlineProvider) root.getOutlineProvider()).getRadius(), in testSetViewOutlinePreferredRadius()
2273 ((RemoteViews.RemoteViewOutlineProvider) root.getOutlineProvider()).getRadius(), in testSetViewOutlinePreferredRadius()
2286 ((RemoteViews.RemoteViewOutlineProvider) root.getOutlineProvider()).getRadius(), in testSetViewOutlinePreferredRadiusDimen()
2294 ((RemoteViews.RemoteViewOutlineProvider) root.getOutlineProvider()).getRadius(), in testSetViewOutlinePreferredRadiusDimen()
2310 root.getOutlineProvider()).getRadius(), in testSetViewOutlinePreferredRadiusAttr()
2321 root.getOutlineProvider()).getRadius(), in testSetViewOutlinePreferredRadiusAttr()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt6121 method public double getRadius();
14446 method public double getRadius();
Dcurrent.txt16459 method public float getRadius();
17818 method public int getRadius();
52097 method public int getRadius();
60316 method public float getRadius();