Home
last modified time | relevance | path

Searched refs:useCenter (Results 1 – 25 of 75) sorted by relevance

123

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCanvas.java172 …public void drawArc(RectF oval, float startAngle, float sweepAngle, boolean useCenter, Paint paint… in drawArc() argument
173 arcPaintEvents.add(new ArcPaintHistoryEvent(oval, startAngle, sweepAngle, useCenter, paint)); in drawArc()
396 public final boolean useCenter; field in ShadowCanvas.ArcPaintHistoryEvent
399 public ArcPaintHistoryEvent(RectF oval, float startAngle, float sweepAngle, boolean useCenter, in ArcPaintHistoryEvent() argument
404 this.useCenter = useCenter; in ArcPaintHistoryEvent()
/external/skia/src/core/
DSkPathPriv.h106 SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect);
112 static bool DrawArcIsConvex(SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect);
DSkLiteDL.cpp212 DrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in DrawArc()
214 : oval(oval), startAngle(startAngle), sweepAngle(sweepAngle), useCenter(useCenter) in DrawArc()
219 bool useCenter; member
222 useCenter, paint); } in draw()
589 void SkLiteDL::drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in drawArc() argument
591 this->push<DrawArc>(0, oval, startAngle, sweepAngle, useCenter, paint); in drawArc()
DSkLiteRecorder.cpp79 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
80 fDL->drawArc(oval, startAngle, sweepAngle, useCenter, paint); in onDrawArc()
DSkOverdrawCanvas.cpp198 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
199 fList[0]->onDrawArc(arc, startAngle, sweepAngle, useCenter, this->overdrawPaint(paint)); in onDrawArc()
DSkRecorder.cpp157 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
158 APPEND(DrawArc, paint, oval, startAngle, sweepAngle, useCenter); in onDrawArc()
/external/skqp/gm/
Dcirculararcs.cpp24 auto drawGrid = [canvas, &configureStyle] (SkScalar x, SkScalar y, bool useCenter, bool aa) { in draw_arcs() argument
43 canvas->drawArc(kRect, start, sweep, useCenter, p0); in draw_arcs()
44 canvas->drawArc(kRect, start, -(360.f - sweep), useCenter, p1); in draw_arcs()
/external/skia/gm/
Dcirculararcs.cpp24 auto drawGrid = [canvas, &configureStyle] (SkScalar x, SkScalar y, bool useCenter, bool aa) { in draw_arcs() argument
43 canvas->drawArc(kRect, start, sweep, useCenter, p0); in draw_arcs()
44 canvas->drawArc(kRect, start, -(360.f - sweep), useCenter, p1); in draw_arcs()
/external/skqp/src/gpu/ops/
DGrOvalOpFactory.h45 bool useCenter,
/external/skia/src/gpu/ops/
DGrOvalOpFactory.h45 bool useCenter,
/external/skqp/src/core/
DSkLiteDL.cpp212 DrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in DrawArc()
214 : oval(oval), startAngle(startAngle), sweepAngle(sweepAngle), useCenter(useCenter) in DrawArc()
219 bool useCenter; member
222 useCenter, paint); } in draw()
589 void SkLiteDL::drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in drawArc() argument
591 this->push<DrawArc>(0, oval, startAngle, sweepAngle, useCenter, paint); in drawArc()
DSkLiteRecorder.cpp79 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
80 fDL->drawArc(oval, startAngle, sweepAngle, useCenter, paint); in onDrawArc()
DSkPathPriv.h106 SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect);
DSkOverdrawCanvas.cpp198 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
199 fList[0]->onDrawArc(arc, startAngle, sweepAngle, useCenter, this->overdrawPaint(paint)); in onDrawArc()
DSkRecorder.cpp157 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
158 APPEND(DrawArc, paint, oval, startAngle, sweepAngle, useCenter); in onDrawArc()
/external/skia/src/utils/
DSkPaintFilterCanvas.cpp89 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
92 this->INHERITED::onDrawArc(rect, startAngle, sweepAngle, useCenter, *apf.paint()); in onDrawArc()
DSkLuaCanvas.cpp183 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
188 lua.pushBool(useCenter, "useCenter"); in onDrawArc()
DSkNWayCanvas.cpp161 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
164 iter->drawArc(rect, startAngle, sweepAngle, useCenter, paint); in onDrawArc()
/external/skqp/src/utils/
DSkPaintFilterCanvas.cpp89 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
92 this->INHERITED::onDrawArc(rect, startAngle, sweepAngle, useCenter, *apf.paint()); in onDrawArc()
DSkLuaCanvas.cpp183 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
188 lua.pushBool(useCenter, "useCenter"); in onDrawArc()
DSkNWayCanvas.cpp161 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
164 iter->drawArc(rect, startAngle, sweepAngle, useCenter, paint); in onDrawArc()
/external/skia/src/gpu/
DGrShape.cpp375 bool useCenter, const GrStyle& style) { in MakeArc() argument
380 SkPathPriv::CreateDrawArcPath(&path, oval, startAngleDegrees, sweepAngleDegrees, useCenter, in MakeArc()
389 result.fArcData.fUseCenter = useCenter; in MakeArc()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCanvasTest.java244 assertThat(shadowCanvas.getDrawnArc(0).useCenter).isTrue(); in drawArc_shouldRecordArcHistoryEvents()
250 assertThat(shadowCanvas.getDrawnArc(1).useCenter).isFalse(); in drawArc_shouldRecordArcHistoryEvents()
/external/skqp/src/pipe/
DSkPipeCanvas.h102 void onDrawArc(const SkRect&, SkScalar startAngle, SkScalar sweepAngle, bool useCenter,
/external/skia/src/pipe/
DSkPipeCanvas.h102 void onDrawArc(const SkRect&, SkScalar startAngle, SkScalar sweepAngle, bool useCenter,

123