HomeSort by relevance Sort by last modified time
    Searched defs:radii (Results 1 - 25 of 39) sorted by null

1 2

  /external/chromium_org/ppapi/cpp/
touch_point.h 34 /// @return The elliptical radii, in screen pixels, in the x and y direction
36 FloatPoint radii() const { return pp::FloatPoint(touch_point_.radius); } function in class:pp::TouchPoint
  /external/skia/gm/
rrect.cpp 24 SkVector radii[4]; local
26 radii[i] = src.radii((SkRRect::Corner)i);
29 radii[i].fX -= dx;
30 radii[i].fY -= dy;
32 dst->setRectRadii(r, radii);
44 SkVector radii[4]; local
46 radii[i] = src.radii((SkRRect::Corner)i);
48 dst->setRectRadii(r, radii);
60 SkVector radii[4]; local
88 SkVector radii[4]; local
144 SkVector radii[4] = { local
    [all...]
roundrects.cpp 289 // strokes and radii
291 SkScalar radii[][2] = { variable
304 circleRect.setRectXY(rect, radii[i][0], radii[i][1]);
  /frameworks/base/graphics/java/android/graphics/drawable/
PaintDrawable.java 45 float[] radii = null; local
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) {
62 if (radii == null) {
67 setShape(new RoundRectShape(radii, null, null))
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkRRect.cpp 39 // TODO: assert that all the x&y radii are already W/2 & H/2
45 void SkRRect::setRectRadii(const SkRect& rect, const SkVector radii[4]) {
52 memcpy(fRadii, radii, sizeof(fRadii));
56 // Clamp negative radii to zero
60 // the radii is 0 the corner is square. However, the other radii
75 // Proportionally scale down all radii to fit. Find the minimum ratio
76 // of a side and the radii on that side (for all four sides) and use
77 // that to scale down _all_ the radii. This algorithm is from the
81 // Si is the sum of the two corresponding radii of the corners on side i
268 SkVector radii[4]; local
    [all...]
  /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/third_party/WebKit/Source/core/platform/graphics/
RoundedRect.h 38 class Radii {
40 Radii() {}
41 Radii(const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight)
60 void includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge);
76 explicit RoundedRect(const IntRect&, const Radii& = Radii());
81 const Radii& radii() const { return m_radii; } function in class:WebCore::RoundedRect
89 void setRadii(const Radii& radii) { m_radii = radii;
    [all...]
GraphicsContext.cpp 629 RoundedRect roundedHole(holeRect, rect.radii());
1279 SkVector radii[4]; local
    [all...]
  /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/skia/include/core/
SkRRect.h 18 // add validate method (all radii positive, all radii sums < rect size, etc.)
43 radii for each corner. It does not have a constructor so must be
49 If either of a corner's radii are 0 the corner will be square.
50 Negative radii are not allowed (they are clamped to zero).
70 //!< The RR is actually a (non-empty) oval (i.e., all x radii are equal
71 //!< and >= width/2 and all the y radii are equal and >= height/2
74 //!< The RR is non-empty and all the x radii are equal & all y radii
76 //!< the curves) nor a rect (i.e., both radii are non-zero
177 const SkVector& radii(Corner corner) const { return fRadii[corner]; } function in class:SkRRect
    [all...]
  /external/chromium_org/third_party/skia/src/utils/debugger/
SkObjectParser.cpp 260 mRRect->append(") radii: (");
262 const SkVector& radii = rrect.radii((SkRRect::Corner) i); local
263 mRRect->appendScalar(radii.fX);
265 mRRect->appendScalar(radii.fY);
  /external/skia/include/core/
SkRRect.h 19 // add validate method (all radii positive, all radii sums < rect size, etc.)
44 radii for each corner. It does not have a constructor so must be
50 If either of a corner's radii are 0 the corner will be square.
51 Negative radii are not allowed (they are clamped to zero).
71 //!< The RR is actually a (non-empty) oval (i.e., all x radii are equal
72 //!< and >= width/2 and all the y radii are equal and >= height/2
75 //!< The RR is non-empty and all the x radii are equal & all y radii
77 //!< the curves) nor a rect (i.e., both radii are non-zero
178 const SkVector& radii(Corner corner) const { return fRadii[corner]; } function in class:SkRRect
    [all...]
  /external/skia/src/utils/debugger/
SkObjectParser.cpp 260 mRRect->append(") radii: (");
262 const SkVector& radii = rrect.radii((SkRRect::Corner) i); local
263 mRRect->appendScalar(radii.fX);
265 mRRect->appendScalar(radii.fY);
  /external/skia/tests/
RoundRectTest.cpp 48 REPORTER_ASSERT(reporter, zeroPt == empty.radii((SkRRect::Corner) i));
61 REPORTER_ASSERT(reporter, zeroPt == rr1.radii((SkRRect::Corner) i));
74 rr2.radii((SkRRect::Corner) i).equalsWithinTolerance(halfPoint));
86 REPORTER_ASSERT(reporter, p == rr3.radii((SkRRect::Corner) i));
90 SkPoint radii[4] = { { 5, 5 }, { 5, 5 }, { 5, 5 }, { 5, 5 } }; local
93 rr4.setRectRadii(rect, radii);
99 REPORTER_ASSERT(reporter, radii[i] == rr4.radii((SkRRect::Corner) i));
112 REPORTER_ASSERT(reporter, radii2[i] == rr5.radii((SkRRect::Corner) i));
166 SkPoint radii[4] = { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 } } local
280 SkPoint radii[4] = { { 0, 0 }, { 20, 20 }, { 50, 50 }, { 20, 50 } }; local
297 SkPoint radii[4] = { { 50, 100 }, { 100, 50 }, { 50, 100 }, { 100, 50 } }; local
646 SkVector radii[4] = { { 0, SkIntToScalar(1) }, local
    [all...]
  /external/chromium_org/third_party/skia/src/utils/
SkDumpCanvas.cpp 49 SkVector radii[4] = { local
50 rrect.radii(SkRRect::kUpperLeft_Corner),
51 rrect.radii(SkRRect::kUpperRight_Corner),
52 rrect.radii(SkRRect::kLowerRight_Corner),
53 rrect.radii(SkRRect::kLowerLeft_Corner),
56 radii[0].x(), radii[0].y(),
57 radii[1].x(), radii[1].y(),
58 radii[2].x(), radii[2].y()
    [all...]
  /external/skia/src/effects/
SkBlurMaskFilter.cpp 306 const SkVector& UL = rrect.radii(SkRRect::kUpperLeft_Corner);
307 const SkVector& UR = rrect.radii(SkRRect::kUpperRight_Corner);
308 const SkVector& LR = rrect.radii(SkRRect::kLowerRight_Corner);
309 const SkVector& LL = rrect.radii(SkRRect::kLowerLeft_Corner);
336 SkVector radii[4]; local
337 radii[SkRRect::kUpperLeft_Corner] = UL;
338 radii[SkRRect::kUpperRight_Corner] = UR;
339 radii[SkRRect::kLowerRight_Corner] = LR;
340 radii[SkRRect::kLowerLeft_Corner] = LL;
341 smallRR.setRectRadii(smallR, radii);
    [all...]
  /external/skia/src/utils/
SkDumpCanvas.cpp 49 SkVector radii[4] = { local
50 rrect.radii(SkRRect::kUpperLeft_Corner),
51 rrect.radii(SkRRect::kUpperRight_Corner),
52 rrect.radii(SkRRect::kLowerRight_Corner),
53 rrect.radii(SkRRect::kLowerLeft_Corner),
56 radii[0].x(), radii[0].y(),
57 radii[1].x(), radii[1].y(),
58 radii[2].x(), radii[2].y()
    [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...]
  /external/chromium_org/ash/wm/
frame_painter.cc 97 SkScalar radii[8] = { local
103 path.addRoundRect(rect, radii, SkPath::kCW_Direction);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
RenderStyle.cpp 935 RoundedRect::Radii radii = calcRadiiFor(surround->border, snappedBorderRect.size(), renderView); local
965 RoundedRect::Radii radii = getRoundedBorderFor(borderRect).radii(); local
    [all...]
  /prebuilts/sdk/10/
android.jar 

Completed in 1032 milliseconds

1 2