/frameworks/base/graphics/java/android/graphics/ |
Path.java | 583 * @param radii Array of 8 values, 4 pairs of [X,Y] radii 586 public void addRoundRect(RectF rect, float[] radii, Direction dir) { 590 if (radii.length < 8) { 591 throw new ArrayIndexOutOfBoundsException("radii[] needs 8 values"); 594 native_addRoundRect(mNativePath, rect, radii, dir.nativeInt); 741 private static native void native_addRoundRect(int nPath, RectF r, float[] radii, int dir);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
PaintDrawableTest.java | 82 float[] radii = { local 98 paintDrawable.setCornerRadii(radii);
|
GradientDrawableTest.java | 48 float[] radii = new float[] {1.0f, 2.0f, 3.0f}; local 51 gradientDrawable.setCornerRadii(radii);
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
native_theme_gtk2.cc | 113 SkScalar radii[8] = {radius, radius, radius, radius, local 115 path.addRoundRect(rect, radii);
|
/external/chromium_org/native_client_sdk/src/examples/api/input_event/ |
input_event.cc | 231 point.radii().x(), 232 point.radii().y(),
|
/external/chromium_org/ui/native_theme/ |
native_theme_aura.cc | 59 SkScalar radii[8] = {radius, radius, radius, radius, local 61 path.addRoundRect(rect, radii);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
GraphicsContext.cpp | 629 RoundedRect roundedHole(holeRect, rect.radii()); 1279 SkVector radii[4]; local [all...] |
FloatQuad.h | 98 bool intersectsEllipse(const FloatPoint& center, const FloatSize& radii) const;
|
RoundedRect.cpp | 38 bool RoundedRect::Radii::isZero() const 43 void RoundedRect::Radii::scale(float factor) 48 // If either radius on a corner becomes zero, reset both radii on that corner. 64 void RoundedRect::Radii::expand(int topWidth, int bottomWidth, int leftWidth, int rightWidth) 89 // Considering the inflation factor of shorter size to scale the radii seems appropriate here 99 void RoundedRect::Radii::includeLogicalEdges(const RoundedRect::Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) 118 void RoundedRect::Radii::excludeLogicalEdges(bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeLogicalRightEdge) 142 RoundedRect::RoundedRect(const IntRect& rect, const Radii& radii) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathTest.java | 307 float[] radii = new float[8]; local 309 radii[i] = 10.0f + i * 5.0f; 311 path.addRoundRect(rect, radii, Path.Direction.CW);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrOvalRenderer.cpp | 158 * ellipse, specified as a 2D offset from center, and the reciprocals of the outer and inner radii, 383 // The radii are outset for two reasons. First, it allows the shader to simply perform 521 // Compute the reciprocals of the radii here to save time in the shader 623 SkVector radii = rrect.getSimpleRadii(); local 624 SkScalar xRadius = SkScalarAbs(vm[SkMatrix::kMScaleX]*radii.fX + 625 vm[SkMatrix::kMSkewY]*radii.fY); 626 SkScalar yRadius = SkScalarAbs(vm[SkMatrix::kMSkewX]*radii.fX + 627 vm[SkMatrix::kMScaleY]*radii.fY); 696 // The radii are outset for two reasons. First, it allows the shader to simply perform 800 // Compute the reciprocals of the radii here to save time in the shade [all...] |
/external/skia/src/gpu/ |
GrOvalRenderer.cpp | 158 * ellipse, specified as a 2D offset from center, and the reciprocals of the outer and inner radii, 383 // The radii are outset for two reasons. First, it allows the shader to simply perform 521 // Compute the reciprocals of the radii here to save time in the shader 623 SkVector radii = rrect.getSimpleRadii(); local 624 SkScalar xRadius = SkScalarAbs(vm[SkMatrix::kMScaleX]*radii.fX + 625 vm[SkMatrix::kMSkewY]*radii.fY); 626 SkScalar yRadius = SkScalarAbs(vm[SkMatrix::kMSkewX]*radii.fX + 627 vm[SkMatrix::kMScaleY]*radii.fY); 696 // The radii are outset for two reasons. First, it allows the shader to simply perform 800 // Compute the reciprocals of the radii here to save time in the shade [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
GradientDrawable.java | 177 * <p>Specify radii for each of the 4 corners. For each corner, the array 185 * @param radii 4 pairs of X and Y radius for each corner, specified in pixels. 192 public void setCornerRadii(float[] radii) { 193 mGradientState.setCornerRadii(radii); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSParser-in.cpp | [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkPath.h | 666 * @param radii Array of 8 scalars, 4 [X,Y] pairs for each corner 669 * Note: The radii here now go through the same constraint handling as the 670 * SkRRect radii (i.e., either radii at a corner being 0 implies a 671 * sqaure corner and oversized radii are proportionally scaled down). 673 void addRoundRect(const SkRect& rect, const SkScalar radii[], [all...] |