Home
last modified time | relevance | path

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

/external/skia/bench/
DChartBench.cpp21 static void gen_data(SkScalar yAvg, SkScalar ySpread, int count, in gen_data() argument
25 (*dataPts)[i] = random->nextRangeScalar(yAvg - SkScalarHalf(ySpread), in gen_data()
26 yAvg + SkScalarHalf(ySpread)); in gen_data()
/external/skia/tools/viewer/
DChartSlide.cpp16 static void gen_data(SkScalar yAvg, SkScalar ySpread, int count, SkTDArray<SkScalar>* dataPts) { in gen_data() argument
20 (*dataPts)[i] = gRandom.nextRangeScalar(yAvg - SkScalarHalf(ySpread), in gen_data()
21 yAvg + SkScalarHalf(ySpread)); in gen_data()