Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DHeaderViewListAdapter.java158 final int adjPosition = position - numHeaders; in isEnabled() local
162 if (adjPosition < adapterCount) { in isEnabled()
163 return mAdapter.isEnabled(adjPosition); in isEnabled()
168 return mFooterViewInfos.get(adjPosition - adapterCount).isSelectable; in isEnabled()
179 final int adjPosition = position - numHeaders; in getItem() local
183 if (adjPosition < adapterCount) { in getItem()
184 return mAdapter.getItem(adjPosition); in getItem()
189 return mFooterViewInfos.get(adjPosition - adapterCount).data; in getItem()
195 int adjPosition = position - numHeaders; in getItemId() local
197 if (adjPosition < adapterCount) { in getItemId()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DWatchHeaderListView.java166 int adjPosition = position - numHeaders; in getItemId() local
168 if (adjPosition < adapterCount) { in getItemId()
169 return getWrappedAdapter().getItemId(adjPosition); in getItemId()
186 int adjPosition = position - numHeaders; in getItemViewType() local
188 if (adjPosition < adapterCount) { in getItemViewType()
189 return getWrappedAdapter().getItemViewType(adjPosition); in getItemViewType()