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.java277 private Integer[] mSectionHeaderPositions; field in CitySelectionActivity.CityAdapter
458 mSectionHeaderPositions = positions.toArray(new Integer[positions.size()]); in getSections()
465 return getSections().length == 0 ? 0 : mSectionHeaderPositions[sectionIndex]; in getPositionForSection()
474 for (int i = 0; i < mSectionHeaderPositions.length - 2; i++) { in getSectionForPosition()
475 if (position < mSectionHeaderPositions[i]) continue; in getSectionForPosition()
476 if (position >= mSectionHeaderPositions[i + 1]) continue; in getSectionForPosition()
481 return mSectionHeaderPositions.length - 1; in getSectionForPosition()
489 mSectionHeaderPositions = null; in clearSectionHeaders()