Searched refs:radii (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | PaintDrawable.java | 45 float[] radii = null; 47 radii = new float[8]; 49 radii[i] = radius; 52 setCornerRadii(radii); 56 * Specify radii for each of the 4 corners. For each corner, the array 59 * @param radii the x and y radii of the corners 61 public void setCornerRadii(float[] radii) { argument 62 if (radii == null) { 67 setShape(new RoundRectShape(radii, nul [all...] |
H A D | GradientDrawable.java | 223 * Specifies radii for each of the 4 corners. For each corner, the array 232 * @param radii an array of length >= 8 containing 4 pairs of X and Y 239 public void setCornerRadii(@Nullable float[] radii) { argument 240 mGradientState.setCornerRadii(radii); 246 * Returns the radii for each of the 4 corners. For each corner, the array 253 * @return an array containing the radii for each of the 4 corners, or 1473 // The corner radii are specified in clockwise order (see Path.addRoundRect()) 2079 public void setCornerRadii(float[] radii) { argument 2080 mRadiusArray = radii; 2081 if (radii [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 642 * @param radii Array of 8 values, 4 pairs of [X,Y] radii 645 public void addRoundRect(RectF rect, float[] radii, Direction dir) { argument 649 addRoundRect(rect.left, rect.top, rect.right, rect.bottom, radii, dir); 657 * @param radii Array of 8 values, 4 pairs of [X,Y] radii 660 public void addRoundRect(float left, float top, float right, float bottom, float[] radii, argument 662 if (radii.length < 8) { 663 throw new ArrayIndexOutOfBoundsException("radii[] needs 8 values"); 666 nAddRoundRect(mNativePath, left, top, right, bottom, radii, di 849 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 392 float bottom, float[] radii, int dir) { 399 float[] cornerDimensions = new float[radii.length]; 400 for (int i = 0; i < radii.length; i++) { 401 cornerDimensions[i] = 2 * radii[i]; 391 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument
|
/frameworks/base/libs/hwui/ |
H A D | SkiaCanvasProxy.cpp | 97 SkVector radii = roundRect.getSimpleRadii(); local 99 radii.fX, radii.fY, paint);
|
Completed in 103 milliseconds