Searched refs:selectorIndex (Results 1 – 1 of 1) sorted by relevance
1587 int selectorIndex = selectorIndices[i]; in onDraw() local1588 String scrollSelectorValue = mSelectorIndexToStringCache.get(selectorIndex); in onDraw()1692 int selectorIndex = current + (i - SELECTOR_MIDDLE_ITEM_INDEX); in initializeSelectorWheelIndices() local1694 selectorIndex = getWrappedSelectorIndex(selectorIndex); in initializeSelectorWheelIndices()1696 selectorIndices[i] = selectorIndex; in initializeSelectorWheelIndices()1826 private int getWrappedSelectorIndex(int selectorIndex) { in getWrappedSelectorIndex() argument1827 if (selectorIndex > mMaxValue) { in getWrappedSelectorIndex()1828 return mMinValue + (selectorIndex - mMaxValue) % (mMaxValue - mMinValue) - 1; in getWrappedSelectorIndex()1829 } else if (selectorIndex < mMinValue) { in getWrappedSelectorIndex()1830 return mMaxValue - (mMinValue - selectorIndex) % (mMaxValue - mMinValue) + 1; in getWrappedSelectorIndex()[all …]