Home
last modified time | relevance | path

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

/external/skia/src/views/
DSkListWidget.cpp27 fScrollIndex = 0; // number of cells to skip before first visible cell in SkListView()
148 if (fScrollIndex != newIndex) in ensureSelectionIsVisible()
150 fScrollIndex = newIndex; in ensureSelectionIsVisible()
268 for (int i = fScrollIndex; i < fScrollIndex + fVisibleRowCount; i++) in ensureCache()
270 evt.setS32("relativeIndex", i - fScrollIndex); in ensureCache()
291 for (int i = fScrollIndex; i < fScrollIndex + fVisibleRowCount; i++) in ensureCache()
353 int visibleCount = SkMin32(fVisibleRowCount, fSource->countRecords() - fScrollIndex); in onDraw()
374 for (int i = fScrollIndex; i < fScrollIndex + visibleCount; i++) in onDraw()
DSkListView.cpp213 fScrollIndex = 0;
307 fScrollIndex = fCurrIndex;
309 fScrollIndex = fCurrIndex - fVisibleRowCount + 1;
310 SkASSERT((unsigned)fScrollIndex < (unsigned)fSource->countRows());
360 int visibleCount = SkMin32(fVisibleRowCount, fSource->countRows() - fScrollIndex);
373 (void)this->getRowRect(fScrollIndex, &r);
436 fSource->getRow(i + fScrollIndex, &fStrCache[i], &fStrCache[i + count]);
660 fScrollIndex = fCurrIndex;
662 fScrollIndex = fCurrIndex - fVisibleRowCount + 1;
663 SkASSERT((unsigned)fScrollIndex < (unsigned)fSource->countRows());
[all …]
/external/skia/include/views/
DSkWidgetViews.h263 int logicalToVisualIndex(int index) const { return index - fScrollIndex; } in logicalToVisualIndex()
282 int16_t fScrollIndex, fCurrIndex; variable
DSkWidget.h400 int fScrollIndex; // logical index of top-most visible row variable
407 int logicalToVisualIndex(int index) const { return index - fScrollIndex; } in logicalToVisualIndex()