Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.java238 private Integer[] mSectionHeaderPositions; field in CitySelectionActivity.CityAdapter
411 mSectionHeaderPositions = positions.toArray(new Integer[positions.size()]); in getSections()
418 return getSections().length == 0 ? 0 : mSectionHeaderPositions[sectionIndex]; in getPositionForSection()
427 for (int i = 0; i < mSectionHeaderPositions.length - 2; i++) { in getSectionForPosition()
428 if (position < mSectionHeaderPositions[i]) continue; in getSectionForPosition()
429 if (position >= mSectionHeaderPositions[i + 1]) continue; in getSectionForPosition()
434 return mSectionHeaderPositions.length - 1; in getSectionForPosition()
442 mSectionHeaderPositions = null; in clearSectionHeaders()