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 1463 // The corner radii are specified in clockwise order (see Path.addRoundRect()) 2069 public void setCornerRadii(float[] radii) { argument 2070 mRadiusArray = radii; 2071 if (radii [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 637 * @param radii Array of 8 values, 4 pairs of [X,Y] radii 640 public void addRoundRect(RectF rect, float[] radii, Direction dir) { argument 644 addRoundRect(rect.left, rect.top, rect.right, rect.bottom, radii, dir); 652 * @param radii Array of 8 values, 4 pairs of [X,Y] radii 655 public void addRoundRect(float left, float top, float right, float bottom, float[] radii, argument 657 if (radii.length < 8) { 658 throw new ArrayIndexOutOfBoundsException("radii[] needs 8 values"); 661 native_addRoundRect(mNativePath, left, top, right, bottom, radii, di 848 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 390 float bottom, float[] radii, int dir) { 397 float[] cornerDimensions = new float[radii.length]; 398 for (int i = 0; i < radii.length; i++) { 399 cornerDimensions[i] = 2 * radii[i]; 389 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument
|
/frameworks/base/libs/hwui/ |
H A D | SkiaCanvasProxy.cpp | 90 SkVector radii = roundRect.getSimpleRadii(); local 92 radii.fX, radii.fY, paint);
|
Completed in 111 milliseconds