Home
last modified time | relevance | path

Searched refs:dashExample (Results 1 – 2 of 2) sorted by relevance

/external/skqp/gm/
Ddashcircle.cpp54 for (const DashExample& dashExample : dashExamples) { in onDraw() local
57 for (int index = 0; index < dashExample.length; ++index) { in onDraw()
58 dashUnits += dashExample.pattern[index]; in onDraw()
63 for (int i2 = 0; i2 < dashExample.length; i2 += 2) { in onDraw()
64 SkScalar span = dashExample.pattern[i2] * unitLength; in onDraw()
68 angle += span + (dashExample.pattern[i2 + 1]) * unitLength; in onDraw()
80 int intervalCount = dashExample.length; in onDraw()
82 for (int index = 0; index < dashExample.length; ++index) { in onDraw()
83 intervals[index] = dashExample.pattern[index] * dashLength; in onDraw()
/external/skia/gm/
Ddashcircle.cpp54 for (const DashExample& dashExample : dashExamples) { in onDraw() local
57 for (int index = 0; index < dashExample.length; ++index) { in onDraw()
58 dashUnits += dashExample.pattern[index]; in onDraw()
63 for (int i2 = 0; i2 < dashExample.length; i2 += 2) { in onDraw()
64 SkScalar span = dashExample.pattern[i2] * unitLength; in onDraw()
68 angle += span + (dashExample.pattern[i2 + 1]) * unitLength; in onDraw()
80 int intervalCount = dashExample.length; in onDraw()
82 for (int index = 0; index < dashExample.length; ++index) { in onDraw()
83 intervals[index] = dashExample.pattern[index] * dashLength; in onDraw()