Lines Matching refs:prevIndex
641 int prevIndex = 0; in getCache16() local
646 if (nextIndex > prevIndex) in getCache16()
647 …Build16bitCache(fCache16 + prevIndex, fOrigColors[i-1], fOrigColors[i], nextIndex - prevIndex + 1); in getCache16()
648 prevIndex = nextIndex; in getCache16()
651 SkASSERT(prevIndex == kGradient16Length - 1); in getCache16()
696 int prevIndex = 0; in getCache32() local
701 if (nextIndex > prevIndex) in getCache32()
702 Build32bitCache(fCache32 + prevIndex, fOrigColors[i-1], in getCache32()
704 nextIndex - prevIndex + 1, fCacheAlpha); in getCache32()
705 prevIndex = nextIndex; in getCache32()
707 SkASSERT(prevIndex == kGradient32Length - 1); in getCache32()