Lines Matching refs:fCurrIndex
28 fCurrIndex = -1; // index of "selected" cell in SkListView()
74 if (fCurrIndex != index) in setSelection()
80 fCurrIndex = index; in setSelection()
90 int index = fCurrIndex; in moveSelectionUp()
96 if (fCurrIndex != index) in moveSelectionUp()
109 int index = fCurrIndex; in moveSelectionDown()
115 if (fCurrIndex != index) in moveSelectionDown()
127 if (this->getRowRect(fCurrIndex, &r)) in invalSelection()
133 if (fSource && (unsigned)fCurrIndex < (unsigned)fSource->countRecords()) in ensureSelectionIsVisible()
135 int index = this->logicalToVisualIndex(fCurrIndex); in ensureSelectionIsVisible()
142 newIndex = fCurrIndex; in ensureSelectionIsVisible()
144 newIndex = fCurrIndex - fVisibleRowCount + 1; in ensureSelectionIsVisible()
179 int selection = this->logicalToVisualIndex(fCurrIndex); in getRowRect()
293 focusEvt.setS32("FOCUS", i == fCurrIndex); in ensureCache()
377 SkScalar height = fHeights[i == fCurrIndex ? kSelected_Height : kNormal_Height]; in onDraw()
417 if (fSource && fCurrIndex >= 0 && this->INHERITED::onPrepareWidgetEvent(evt) && in onPrepareWidgetEvent()
418 fSource->prepareWidgetEvent(evt, fCurrIndex)) in onPrepareWidgetEvent()
420 evt->setS32(gListViewEventSlot, fCurrIndex); in onPrepareWidgetEvent()