Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/photos/views/
DHeaderGridView.java316 final int adjPosition = position - numHeadersAndPlaceholders; in isEnabled() local
320 if (adjPosition < adapterCount) { in isEnabled()
321 return mAdapter.isEnabled(adjPosition); in isEnabled()
340 final int adjPosition = position - numHeadersAndPlaceholders; in getItem() local
344 if (adjPosition < adapterCount) { in getItem()
345 return mAdapter.getItem(adjPosition); in getItem()
356 int adjPosition = position - numHeadersAndPlaceholders; in getItemId() local
358 if (adjPosition < adapterCount) { in getItemId()
359 return mAdapter.getItemId(adjPosition); in getItemId()
395 final int adjPosition = position - numHeadersAndPlaceholders; in getView() local
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListFragment.java869 int adjPosition = position - mListView.getHeaderViewsCount();
870 if (adjPosition >= 0) {
871 onItemClick(adjPosition, id);
877 int adjPosition = position - mListView.getHeaderViewsCount();
879 if (adjPosition >= 0) {
880 return onItemLongClick(adjPosition, id);