Home
last modified time | relevance | path

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

/external/skia/src/shaders/gradients/
DSkLinearGradient.cpp481 find_forward(const SkLinearGradient::LinearGradientContext::Rec rec[], float tiledX) { in find_forward() argument
482 SkASSERT(tiledX >= 0 && tiledX <= 1); in find_forward()
488 while (rec->fPos < tiledX || rec->fPosScale == 0) { in find_forward()
498 find_backward(const SkLinearGradient::LinearGradientContext::Rec rec[], float tiledX) { in find_backward() argument
499 SkASSERT(tiledX >= 0 && tiledX <= 1); in find_backward()
504 while (tiledX < rec->fPos || rec[1].fPosScale == 0) { in find_backward()