Home
last modified time | relevance | path

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

/external/skia/src/views/
DSkListView.cpp360 int visibleCount = SkMin32(fVisibleRowCount, fSource->countRows() - fScrollIndex);
361 if (visibleCount == 0)
364 this->ensureStrCache(visibleCount);
367 if ((unsigned)currIndex < (unsigned)visibleCount)
387 for (int i = 0; i < visibleCount; i++)
397 …canvas->drawText(fStrCache[i + visibleCount].c_str(), fStrCache[i + visibleCount].size(), rite, y,…
747 int visibleCount = SkMin32(fVisibleRowCount, fSource->countRows() - fScrollIndex);
748 if (visibleCount == 0)
751 this->ensureStrCache(visibleCount);
DSkListWidget.cpp353 int visibleCount = SkMin32(fVisibleRowCount, fSource->countRecords() - fScrollIndex); in onDraw() local
354 if (visibleCount == 0 || !this->ensureCache()) in onDraw()
374 for (int i = fScrollIndex; i < fScrollIndex + visibleCount; i++) in onDraw()
/external/skia/include/views/
DSkWidget.h405 void ensureStrCache(int visibleCount);