Home
last modified time | relevance | path

Searched refs:oval (Results 1 – 25 of 73) sorted by relevance

123

/external/skia/gm/
Darcto.cpp54 SkRect oval = SkRect::MakeXYWH(100, 100, 100, 100); variable
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.width() / 2, ovalHeight, SkIntToScalar(angle), SkPath::kLarge_ArcSize,
68 SkPath::kCCW_Direction, oval.right(), oval.bottom() + 100);
70 oval.offset(50, 0);
Dovals.cpp141 SkRect oval = SkRect::MakeLTRB(-20, -30, 20, 30); in onDraw() local
170 canvas->drawRect(oval, rectPaint); in onDraw()
171 canvas->drawOval(oval, fPaints[i]); in onDraw()
183 SkRect oval = SkRect::MakeLTRB(-20, -60, 20, 60); in onDraw() local
192 canvas->drawRect(oval, rectPaint); in onDraw()
193 canvas->drawOval(oval, fPaints[i]); in onDraw()
199 SkRect oval = SkRect::MakeLTRB(-80, -30, 80, 30); in onDraw() local
209 canvas->drawRect(oval, rectPaint); in onDraw()
210 canvas->drawOval(oval, fPaints[i]); in onDraw()
216 SkRect oval = SkRect::MakeLTRB(0, -60, 1, 60); in onDraw() local
[all …]
Ddashcircle.cpp34 SkRect oval = SkRect::MakeLTRB(-radius - 20, -radius - 20, radius + 20, radius + 20); variable
55 refPath.arcTo(oval, angle, span, false);
Daddarc.cpp89 const SkRect oval = SkRect::MakeLTRB(-R, -R, R, R); in onDraw() local
90 canvas->drawOval(oval, paint); in onDraw()
100 path.addArc(oval, 0, deg); in onDraw()
/external/fio/
Doptions.c1338 .oval = FILE_LOCK_NONE,
1342 .oval = FILE_LOCK_EXCLUSIVE,
1347 .oval = FILE_LOCK_READWRITE,
1376 .oval = TD_DDIR_READ,
1380 .oval = TD_DDIR_WRITE,
1384 .oval = TD_DDIR_TRIM,
1388 .oval = TD_DDIR_RANDREAD,
1392 .oval = TD_DDIR_RANDWRITE,
1396 .oval = TD_DDIR_RANDTRIM,
1400 .oval = TD_DDIR_RW,
[all …]
/external/skia/samplecode/
DSamplePathEffects.cpp120 SkRect oval; in onOnceBeforeDraw() local
121 oval.set(SkIntToScalar(20), SkIntToScalar(30), in onOnceBeforeDraw()
123 oval.offset(x, 0); in onOnceBeforeDraw()
124 fPath.addRoundRect(oval, SkIntToScalar(8), SkIntToScalar(8)); in onOnceBeforeDraw()
DSamplePathFuzz.cpp335 SkRect oval = makeRect(); in makeRRect() local
336 rrect.setOval(oval); in makeRRect()
376 SkRect oval = makeRect(); in makePath() local
379 path.addArc(oval, startAngle, sweepAngle); in makePath()
526 SkRect oval = makeRect(); in makePath() local
530 path.arcTo(oval, startAngle, sweepAngle, forceMoveTo); in makePath()
/external/skia/src/gpu/effects/
DGrOvalEffect.cpp394 GrFragmentProcessor* GrOvalEffect::Create(GrPrimitiveEdgeType edgeType, const SkRect& oval) { in Create() argument
398 SkScalar w = oval.width(); in Create()
399 SkScalar h = oval.height(); in Create()
402 return CircleEffect::Create(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w), w); in Create()
406 return EllipseEffect::Create(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h), w, h); in Create()
/external/avahi/avahi-compat-howl/samples/
Dbrowse.c52 sw_uint8 oval[SW_TEXT_RECORD_MAX_LEN]; in my_resolver() local
65 while (sw_text_record_iterator_next(it, key, oval, &oval_len) == SW_OKAY) in my_resolver()
67 fprintf(stderr, "Txt: [%s]=[%s] - (%d bytes)\n", key, oval, oval_len); in my_resolver()
Dresolve.c52 sw_uint8 oval[SW_TEXT_RECORD_MAX_LEN]; in my_resolver() local
65 while (sw_text_record_iterator_next(it, key, oval, &oval_len) == SW_OKAY) in my_resolver()
/external/skia/include/core/
DSkRRect.h150 static SkRRect MakeOval(const SkRect& oval) { in MakeOval() argument
152 rr.setOval(oval); in MakeOval()
166 void setOval(const SkRect& oval) { in setOval() argument
167 fRect = oval; in setOval()
DSkPath.h508 void arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo);
698 void addOval(const SkRect& oval, Direction dir = kCW_Direction);
717 void addOval(const SkRect& oval, Direction dir, unsigned start);
739 void addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle);
/external/skia/src/core/
DSkPath.cpp924 OvalPointIterator(const SkRect& oval, SkPath::Direction dir, unsigned startIndex) in OvalPointIterator() argument
927 const SkScalar cx = oval.centerX(); in OvalPointIterator()
928 const SkScalar cy = oval.centerY(); in OvalPointIterator()
930 fPts[0] = SkPoint::Make(cx, oval.fTop); in OvalPointIterator()
931 fPts[1] = SkPoint::Make(oval.fRight, cy); in OvalPointIterator()
932 fPts[2] = SkPoint::Make(cx, oval.fBottom); in OvalPointIterator()
933 fPts[3] = SkPoint::Make(oval.fLeft, cy); in OvalPointIterator()
1025 static bool arc_is_lone_point(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arc_is_lone_point() argument
1031 pt->set(oval.fRight, oval.centerY()); in arc_is_lone_point()
1033 } else if (0 == oval.width() && 0 == oval.height()) { in arc_is_lone_point()
[all …]
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/tests/yui/
Ddataurl-base64-linebreakindata.css.min1 …button-vml,.yui3-skin-night .yui3-dial-marker v\:oval.yui3-dial-marker-max-min,.yui3-skin-night v\…
Ddataurl-base64-linebreakindata.css3 .yui3-skin-night .yui3-dial-marker v\:oval.yui3-dial-marker-max-min,
4 .yui3-skin-night v\:oval.yui3-dial-marker-max-min,
Ddataurl-base64-twourls.css3 .yui3-skin-night .yui3-dial-marker v\:oval.yui3-dial-marker-max-min,
4 .yui3-skin-night v\:oval.yui3-dial-marker-max-min,
Ddataurl-base64-twourls.css.min1 …button-vml,.yui3-skin-night .yui3-dial-marker v\:oval.yui3-dial-marker-max-min,.yui3-skin-night v\…
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/tests/yui/out/
Ddataurl-base64-linebreakindata.out1 …button-vml,.yui3-skin-night .yui3-dial-marker v\:oval.yui3-dial-marker-max-min,.yui3-skin-night v\…
Ddataurl-base64-linebreakindata.out.b1 …button-vml,.yui3-skin-night .yui3-dial-marker v\:oval.yui3-dial-marker-max-min,.yui3-skin-night v\…
Ddataurl-base64-twourls.out.b1 …button-vml,.yui3-skin-night .yui3-dial-marker v\:oval.yui3-dial-marker-max-min,.yui3-skin-night v\…
Ddataurl-base64-twourls.out1 …button-vml,.yui3-skin-night .yui3-dial-marker v\:oval.yui3-dial-marker-max-min,.yui3-skin-night v\…
/external/skia/site/user/api/
Dskcanvas.md114 SkRRect oval;
115 oval.setOval(rect);
116 oval.offset(40, 60);
118 canvas->drawRRect(oval, paint);
/external/curl/src/
Dtool_setopt.c539 curl_off_t oval = va_arg(arg, curl_off_t); in tool_setopt() local
541 "(curl_off_t)%" CURL_FORMAT_CURL_OFF_T, oval); in tool_setopt()
543 ret = curl_easy_setopt(curl, tag, oval); in tool_setopt()
545 if(!oval) in tool_setopt()
/external/skia/tests/
DPathOpsBuilderConicTest.cpp24 static void testOvalSet(const OvalSet& set, const SkPath& oval, SkOpBuilder* builder, in testOvalSet() argument
34 oval.transform(matrix, &rotated); in testOvalSet()
56 SkPath oval, regionResult, builderResult, opResult; in testOne() local
57 oval.setFillType(SkPath::kWinding_FillType); in testOne()
58 oval.addOval(set.fBounds); in testOne()
61 testOvalSet(set, oval, nullptr, &region, &regionResult); in testOne()
62 testOvalSet(set, oval, &builder, nullptr, &builderResult); in testOne()
63 testOvalSet(set, oval, nullptr, nullptr, &opResult); in testOne()
/external/skia/src/gpu/
DGrOvalRenderer.h27 const SkRect& oval,

123