Searched refs:oval (Results 1 - 25 of 132) sorted by relevance

123456

/external/skia/src/gpu/effects/
H A DGrOvalEffect.cpp14 std::unique_ptr<GrFragmentProcessor> GrOvalEffect::Make(GrClipEdgeType edgeType, const SkRect& oval, argument
19 SkScalar w = oval.width();
20 SkScalar h = oval.height();
23 return GrCircleEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w),
28 return GrEllipseEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h),
/external/skqp/src/gpu/effects/
H A DGrOvalEffect.cpp14 std::unique_ptr<GrFragmentProcessor> GrOvalEffect::Make(GrClipEdgeType edgeType, const SkRect& oval, argument
19 SkScalar w = oval.width();
20 SkScalar h = oval.height();
23 return GrCircleEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w),
28 return GrEllipseEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h),
/external/skia/src/gpu/ops/
H A DGrOvalOpFactory.h30 const SkRect& oval,
42 const SkRect& oval,
/external/skqp/src/gpu/ops/
H A DGrOvalOpFactory.h30 const SkRect& oval,
42 const SkRect& oval,
/external/skia/gm/
H A Dtestgradient.cpp51 SkRRect oval; variable
52 oval.setOval(rect);
53 oval.offset(40, 80);
55 canvas->drawRRect(oval, paint);
H A Darcto.cpp54 SkRect oval = SkRect::MakeXYWH(100, 100, 100, 100); local
59 SkScalar ovalHeight = oval.height() / oHeight;
60 svgArc.moveTo(oval.fLeft, oval.fTop);
61 svgArc.arcTo(oval.width() / 2, ovalHeight, SkIntToScalar(angle), SkPath::kSmall_ArcSize,
62 SkPath::kCW_Direction, oval.right(), oval.bottom());
66 svgArc.moveTo(oval.fLeft + 100, oval.fTop + 100);
67 svgArc.arcTo(oval
198 SkRect oval = SkRect::MakeXYWH(-radius, yOffset - radius, 2 * radius, 2 * radius); local
[all...]
H A Dovals.cpp142 SkRect oval = SkRect::MakeLTRB(-20, -30, 20, 30); variable
161 // position the oval, and make it at off-integer coords.
171 canvas->drawRect(oval, rectPaint);
172 canvas->drawOval(oval, fPaints[i]);
182 // non-scaled tall and skinny oval
184 SkRect oval = SkRect::MakeLTRB(-20, -60, 20, 60); variable
186 // position the oval, and make it at off-integer coords.
193 canvas->drawRect(oval, rectPaint);
194 canvas->drawOval(oval, fPaints[i]);
198 // non-scaled wide and short oval
200 SkRect oval = SkRect::MakeLTRB(-80, -30, 80, 30); variable
217 SkRect oval = SkRect::MakeLTRB(0, -60, 1, 60); variable
232 SkRect oval = SkRect::MakeLTRB(-80, -1, 80, 0); variable
274 SkRect oval = SkRect::MakeLTRB(-30, -30, 30, 30); variable
[all...]
H A Ddrrect_small_inner.cpp21 for (bool oval : {false, true}) {
24 if (oval) {
/external/skqp/gm/
H A Dtestgradient.cpp51 SkRRect oval; variable
52 oval.setOval(rect);
53 oval.offset(40, 80);
55 canvas->drawRRect(oval, paint);
H A Darcto.cpp54 SkRect oval = SkRect::MakeXYWH(100, 100, 100, 100); local
59 SkScalar ovalHeight = oval.height() / oHeight;
60 svgArc.moveTo(oval.fLeft, oval.fTop);
61 svgArc.arcTo(oval.width() / 2, ovalHeight, SkIntToScalar(angle), SkPath::kSmall_ArcSize,
62 SkPath::kCW_Direction, oval.right(), oval.bottom());
66 svgArc.moveTo(oval.fLeft + 100, oval.fTop + 100);
67 svgArc.arcTo(oval
198 SkRect oval = SkRect::MakeXYWH(-radius, yOffset - radius, 2 * radius, 2 * radius); local
[all...]
H A Dovals.cpp142 SkRect oval = SkRect::MakeLTRB(-20, -30, 20, 30); variable
161 // position the oval, and make it at off-integer coords.
171 canvas->drawRect(oval, rectPaint);
172 canvas->drawOval(oval, fPaints[i]);
182 // non-scaled tall and skinny oval
184 SkRect oval = SkRect::MakeLTRB(-20, -60, 20, 60); variable
186 // position the oval, and make it at off-integer coords.
193 canvas->drawRect(oval, rectPaint);
194 canvas->drawOval(oval, fPaints[i]);
198 // non-scaled wide and short oval
200 SkRect oval = SkRect::MakeLTRB(-80, -30, 80, 30); variable
217 SkRect oval = SkRect::MakeLTRB(0, -60, 1, 60); variable
232 SkRect oval = SkRect::MakeLTRB(-80, -1, 80, 0); variable
274 SkRect oval = SkRect::MakeLTRB(-30, -30, 30, 30); variable
[all...]
H A Ddrrect_small_inner.cpp21 for (bool oval : {false, true}) {
24 if (oval) {
H A Ddashcircle.cpp45 SkRect oval = SkRect::MakeLTRB(-radius - 20, -radius - 20, radius + 20, radius + 20); variable
66 refPath.arcTo(oval, angle, span, false);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowCanvas.java172 public void drawArc(RectF oval, float startAngle, float sweepAngle, boolean useCenter, Paint paint) { argument
173 arcPaintEvents.add(new ArcPaintHistoryEvent(oval, startAngle, sweepAngle, useCenter, paint));
187 public void drawOval(RectF oval, Paint paint) { argument
188 ovalPaintEvents.add(new OvalPaintHistoryEvent(oval, paint));
334 public final RectF oval; field in class:ShadowCanvas.OvalPaintHistoryEvent
337 private OvalPaintHistoryEvent(RectF oval, Paint paint) { argument
338 this.oval = new RectF(oval);
393 public final RectF oval; field in class:ShadowCanvas.ArcPaintHistoryEvent
399 public ArcPaintHistoryEvent(RectF oval, floa argument
[all...]
/external/skia/samplecode/
H A DSamplePathEffects.cpp100 SkRect oval; variable
101 oval.set(SkIntToScalar(20), SkIntToScalar(30),
103 oval.offset(x, 0);
104 fPath.addRoundRect(oval, SkIntToScalar(8), SkIntToScalar(8));
/external/skqp/samplecode/
H A DSamplePathEffects.cpp100 SkRect oval; variable
101 oval.set(SkIntToScalar(20), SkIntToScalar(30),
103 oval.offset(x, 0);
104 fPath.addRoundRect(oval, SkIntToScalar(8), SkIntToScalar(8));
/external/fio/
H A Doptions.c1557 .oval = FILE_LOCK_NONE,
1561 .oval = FILE_LOCK_EXCLUSIVE,
1566 .oval = FILE_LOCK_READWRITE,
1595 .oval = TD_DDIR_READ,
1599 .oval = TD_DDIR_WRITE,
1603 .oval = TD_DDIR_TRIM,
1607 .oval = TD_DDIR_RANDREAD,
1611 .oval = TD_DDIR_RANDWRITE,
1615 .oval = TD_DDIR_RANDTRIM,
1619 .oval
[all...]
H A Dparse.h31 unsigned int oval; /* output value */ member in struct:value_pair
/external/skia/include/core/
H A DSkRRect.h69 //!< The RR is actually a (non-empty) oval (i.e., all x radii are equal
74 //!< are equal but it is not an oval (i.e., there are lines between
80 //!< neither an rect, oval, nor a simple RR. It is called "nine patch"
151 static SkRRect MakeOval(const SkRect& oval) { argument
153 rr.setOval(oval);
164 * Set this RR to match the supplied oval. All x radii will equal half the
167 void setOval(const SkRect& oval) { argument
168 if (!this->initializeRect(oval)) {
/external/skqp/include/core/
H A DSkRRect.h69 //!< The RR is actually a (non-empty) oval (i.e., all x radii are equal
74 //!< are equal but it is not an oval (i.e., there are lines between
80 //!< neither an rect, oval, nor a simple RR. It is called "nine patch"
152 static SkRRect MakeOval(const SkRect& oval) { argument
154 rr.setOval(oval);
165 * Set this RR to match the supplied oval. All x radii will equal half the
168 void setOval(const SkRect& oval) { argument
169 if (!this->initializeRect(oval)) {
/external/skqp/src/core/
H A DSkPath.cpp943 OvalPointIterator(const SkRect& oval, SkPath::Direction dir, unsigned startIndex) argument
946 const SkScalar cx = oval.centerX();
947 const SkScalar cy = oval.centerY();
949 fPts[0] = SkPoint::Make(cx, oval.fTop);
950 fPts[1] = SkPoint::Make(oval.fRight, cy);
951 fPts[2] = SkPoint::Make(cx, oval.fBottom);
952 fPts[3] = SkPoint::Make(oval.fLeft, cy);
1044 static bool arc_is_lone_point(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, argument
1048 // treated as a special case the moves can distort the oval's
1050 pt->set(oval
1100 build_arc_conics(const SkRect& oval, const SkVector& start, const SkVector& stop, SkRotationDirection dir, SkConic conics[SkConic::kMaxConicsForArc], SkPoint* singlePt) argument
1230 addOval(const SkRect& oval, Direction dir) argument
1235 addOval(const SkRect &oval, Direction dir, unsigned startPointIndex) argument
1282 arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo) argument
1472 addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle) argument
2073 SkRect oval; local
3483 CreateDrawArcPath(SkPath* path, const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect) argument
[all...]
H A DSkLiteRecorder.cpp75 void SkLiteRecorder::onDrawOval(const SkRect& oval, const SkPaint& paint) { argument
76 fDL->drawOval(oval, paint);
78 void SkLiteRecorder::onDrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, argument
80 fDL->drawArc(oval, startAngle, sweepAngle, useCenter, paint);
/external/skia/src/core/
H A DSkLiteRecorder.cpp75 void SkLiteRecorder::onDrawOval(const SkRect& oval, const SkPaint& paint) { argument
76 fDL->drawOval(oval, paint);
78 void SkLiteRecorder::onDrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, argument
80 fDL->drawArc(oval, startAngle, sweepAngle, useCenter, paint);
/external/skia/tools/lua/
H A Dclassify_rrect_clips.lua58 elseif (rrect:type() == "oval") then
63 return "oval"
/external/skqp/src/svg/
H A DSkSVGDevice.h25 void drawOval(const SkRect& oval, const SkPaint& paint) override;

Completed in 1429 milliseconds

123456