Searched refs:topData (Results 1 – 2 of 2) sorted by relevance
/external/skia/bench/ |
D | ChartBench.cpp | 34 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/skia/samplecode/ |
D | SampleChart.cpp | 29 static void gen_paths(const SkTDArray<SkScalar>& topData, in gen_paths() argument 37 plot->incReserve(topData.count()); in gen_paths() 39 fill->incReserve(topData.count() + 2); in gen_paths() 41 fill->incReserve(2 * topData.count()); in gen_paths() 44 leftShift %= topData.count(); in gen_paths() 48 int shiftToEndCount = topData.count() - leftShift; in gen_paths() 49 plot->moveTo(x, topData[leftShift]); in gen_paths() 50 fill->moveTo(x, topData[leftShift]); in gen_paths() 53 plot->lineTo(x, topData[i + leftShift]); in gen_paths() 54 fill->lineTo(x, topData[i + leftShift]); in gen_paths() [all …]
|