Home
last modified time | relevance | path

Searched refs:radii (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DPaintDrawable.java45 float[] radii = null; in setCornerRadius() local
47 radii = new float[8]; in setCornerRadius()
49 radii[i] = radius; in setCornerRadius()
52 setCornerRadii(radii); in setCornerRadius()
61 public void setCornerRadii(float[] radii) { in setCornerRadii() argument
62 if (radii == null) { in setCornerRadii()
67 setShape(new RoundRectShape(radii, null, null)); in setCornerRadii()
DGradientDrawable.java239 public void setCornerRadii(@Nullable float[] radii) { in setCornerRadii() argument
240 mGradientState.setCornerRadii(radii); in setCornerRadii()
2079 public void setCornerRadii(float[] radii) {
2080 mRadiusArray = radii;
2081 if (radii == null) {
/frameworks/base/graphics/java/android/graphics/
DPath.java645 public void addRoundRect(RectF rect, float[] radii, Direction dir) { in addRoundRect() argument
649 addRoundRect(rect.left, rect.top, rect.right, rect.bottom, radii, dir); in addRoundRect()
660 public void addRoundRect(float left, float top, float right, float bottom, float[] radii, in addRoundRect() argument
662 if (radii.length < 8) { in addRoundRect()
666 nAddRoundRect(mNativePath, left, top, right, bottom, radii, dir.nativeInt); in addRoundRect()
850 float right, float bottom, float[] radii, int dir); in nAddRoundRect() argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java392 float bottom, float[] radii, int dir) { in nAddRoundRect() argument
399 float[] cornerDimensions = new float[radii.length]; in nAddRoundRect()
400 for (int i = 0; i < radii.length; i++) { in nAddRoundRect()
401 cornerDimensions[i] = 2 * radii[i]; in nAddRoundRect()
/frameworks/base/libs/hwui/
DSkiaCanvasProxy.cpp97 SkVector radii = roundRect.getSimpleRadii(); in onDrawRRect() local
99 radii.fX, radii.fY, paint); in onDrawRRect()