OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ySpread
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/skia/bench/
ChartBench.cpp
19
static void gen_data(SkScalar yAvg, SkScalar
ySpread
, int count,
23
(*dataPts)[i] = random->nextRangeScalar(yAvg - SkScalarHalf(
ySpread
),
24
yAvg + SkScalarHalf(
ySpread
));
112
SkScalar
ySpread
= SkIntToScalar(fSize.fHeight / 20);
120
SkScalar y = (kNumGraphs - i) * (height -
ySpread
) / (kNumGraphs + 1);
122
gen_data(y,
ySpread
, dataPointCount, &random, fData + i);
/external/chromium_org/third_party/skia/samplecode/
SampleChart.cpp
15
static void gen_data(SkScalar yAvg, SkScalar
ySpread
, int count, SkTDArray<SkScalar>* dataPts) {
19
(*dataPts)[i] = gRandom.nextRangeScalar(yAvg - SkScalarHalf(
ySpread
),
20
yAvg + SkScalarHalf(
ySpread
));
106
SkScalar
ySpread
= SkIntToScalar(fSize.fHeight / 20);
114
SkScalar y = (kNumGraphs - i) * (height -
ySpread
) / (kNumGraphs + 1);
116
gen_data(y,
ySpread
, dataPointCount, fData + i);
Completed in 180 milliseconds