Searched refs:radii (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | PaintDrawable.java | 45 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()
|
D | GradientDrawable.java | 239 public void setCornerRadii(@Nullable float[] radii) { in setCornerRadii() argument 240 mGradientState.setCornerRadii(radii); in setCornerRadii() 2041 public void setCornerRadii(float[] radii) { 2042 mRadiusArray = radii; 2043 if (radii == null) {
|
/frameworks/base/graphics/java/android/graphics/ |
D | Path.java | 640 public void addRoundRect(RectF rect, float[] radii, Direction dir) { in addRoundRect() argument 644 addRoundRect(rect.left, rect.top, rect.right, rect.bottom, radii, dir); in addRoundRect() 655 public void addRoundRect(float left, float top, float right, float bottom, float[] radii, in addRoundRect() argument 657 if (radii.length < 8) { in addRoundRect() 661 native_addRoundRect(mNativePath, left, top, right, bottom, radii, dir.nativeInt); in addRoundRect() 845 float[] radii, int dir); in native_addRoundRect() argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Path_Delegate.java | 390 float bottom, float[] radii, int dir) { in native_addRoundRect() argument 397 float[] cornerDimensions = new float[radii.length]; in native_addRoundRect() 398 for (int i = 0; i < radii.length; i++) { in native_addRoundRect() 399 cornerDimensions[i] = 2 * radii[i]; in native_addRoundRect()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvasProxy.cpp | 90 SkVector radii = roundRect.getSimpleRadii(); in onDrawRRect() local 92 radii.fX, radii.fY, paint); in onDrawRRect()
|