Home
last modified time | relevance | path

Searched refs:topData (Results 1 – 4 of 4) sorted by relevance

/external/skia/samplecode/
DSampleChart.cpp28 static void gen_paths(const SkTDArray<SkScalar>& topData, in gen_paths() argument
34 plot->incReserve(topData.count()); in gen_paths()
36 fill->incReserve(topData.count() + 2); in gen_paths()
38 fill->incReserve(2 * topData.count()); in gen_paths()
41 leftShift %= topData.count(); in gen_paths()
45 int shiftToEndCount = topData.count() - leftShift; in gen_paths()
46 plot->moveTo(x, topData[leftShift]); in gen_paths()
47 fill->moveTo(x, topData[leftShift]); in gen_paths()
50 plot->lineTo(x, topData[i + leftShift]); in gen_paths()
51 fill->lineTo(x, topData[i + leftShift]); in gen_paths()
[all …]
/external/skia/bench/
DChartBench.cpp34 static void gen_paths(const SkTDArray<SkScalar>& topData, in gen_paths() argument
42 plot->incReserve(topData.count()); in gen_paths()
44 fill->incReserve(topData.count() + 2); in gen_paths()
46 fill->incReserve(2 * topData.count()); in gen_paths()
49 leftShift %= topData.count(); in gen_paths()
53 int shiftToEndCount = topData.count() - leftShift; in gen_paths()
54 plot->moveTo(x, topData[leftShift]); in gen_paths()
55 fill->moveTo(x, topData[leftShift]); in gen_paths()
58 plot->lineTo(x, topData[i + leftShift]); in gen_paths()
59 fill->lineTo(x, topData[i + leftShift]); in gen_paths()
[all …]
/external/skqp/bench/
DChartBench.cpp34 static void gen_paths(const SkTDArray<SkScalar>& topData, in gen_paths() argument
42 plot->incReserve(topData.count()); in gen_paths()
44 fill->incReserve(topData.count() + 2); in gen_paths()
46 fill->incReserve(2 * topData.count()); in gen_paths()
49 leftShift %= topData.count(); in gen_paths()
53 int shiftToEndCount = topData.count() - leftShift; in gen_paths()
54 plot->moveTo(x, topData[leftShift]); in gen_paths()
55 fill->moveTo(x, topData[leftShift]); in gen_paths()
58 plot->lineTo(x, topData[i + leftShift]); in gen_paths()
59 fill->lineTo(x, topData[i + leftShift]); in gen_paths()
[all …]
/external/skqp/samplecode/
DSampleChart.cpp28 static void gen_paths(const SkTDArray<SkScalar>& topData, in gen_paths() argument
36 plot->incReserve(topData.count()); in gen_paths()
38 fill->incReserve(topData.count() + 2); in gen_paths()
40 fill->incReserve(2 * topData.count()); in gen_paths()
43 leftShift %= topData.count(); in gen_paths()
47 int shiftToEndCount = topData.count() - leftShift; in gen_paths()
48 plot->moveTo(x, topData[leftShift]); in gen_paths()
49 fill->moveTo(x, topData[leftShift]); in gen_paths()
52 plot->lineTo(x, topData[i + leftShift]); in gen_paths()
53 fill->lineTo(x, topData[i + leftShift]); in gen_paths()
[all …]