Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DHeaderViewListAdapter.java154 final int adjPosition = position - numHeaders; in isEnabled() local
158 if (adjPosition < adapterCount) { in isEnabled()
159 return mAdapter.isEnabled(adjPosition); in isEnabled()
164 return mFooterViewInfos.get(adjPosition - adapterCount).isSelectable; in isEnabled()
175 final int adjPosition = position - numHeaders; in getItem() local
179 if (adjPosition < adapterCount) { in getItem()
180 return mAdapter.getItem(adjPosition); in getItem()
185 return mFooterViewInfos.get(adjPosition - adapterCount).data; in getItem()
191 int adjPosition = position - numHeaders; in getItemId() local
193 if (adjPosition < adapterCount) { in getItemId()
[all …]