Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSkLinearGradient.cpp506 find_forward(const SkLinearGradient::LinearGradientContext::Rec rec[], float tiledX) { in find_forward() argument
507 SkASSERT(tiledX >= 0 && tiledX <= 1); in find_forward()
513 while (rec->fPos < tiledX || rec->fPosScale == 0) { in find_forward()
523 find_backward(const SkLinearGradient::LinearGradientContext::Rec rec[], float tiledX) { in find_backward() argument
524 SkASSERT(tiledX >= 0 && tiledX <= 1); in find_backward()
529 while (tiledX < rec->fPos || rec[1].fPosScale == 0) { in find_backward()