Home
last modified time | relevance | path

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

/external/skia/fuzz/
DFuzzCanvas.cpp305 SkScalar totalPos = 0; in fuzz_gradient_stops() local
308 totalPos += pos[i]; in fuzz_gradient_stops()
310 totalPos = 1.0f / totalPos; in fuzz_gradient_stops()
312 pos[i] *= totalPos; in fuzz_gradient_stops()