Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DGroupingListAdapter.java124 public int getGroupSize(int listPosition) { in getGroupSize() argument
125 if (listPosition < 0 || listPosition >= groupMetadata.size()) { in getGroupSize()
129 return groupMetadata.valueAt(listPosition); in getGroupSize()
136 public Object getItem(int listPosition) { in getItem() argument
137 if (cursor == null || listPosition < 0 || listPosition >= groupMetadata.size()) { in getItem()
141 int cursorPosition = groupMetadata.keyAt(listPosition); in getItem()
/packages/apps/Contacts/src/com/android/contacts/list/
DIndexerListAdapter.java161 int listPosition = listView.getPositionAt(listView.getTotalTopPinnedHeaderHeight()); in configurePinnedHeaders() local
162 int position = listPosition - listView.getHeaderViewsCount(); in configurePinnedHeaders()
176 View topChild = getViewAtVisiblePosition(listView, listPosition); in configurePinnedHeaders()
192 listView.setFadingHeader(index, listPosition, isLastInSection); in configurePinnedHeaders()