Lines Matching refs:position
146 public boolean isEnabled(int position) {
149 if (position < numHeaders) {
150 return mHeaderViewInfos.get(position).isSelectable;
154 final int adjPosition = position - numHeaders;
167 public Object getItem(int position) {
170 if (position < numHeaders) {
171 return mHeaderViewInfos.get(position).data;
175 final int adjPosition = position - numHeaders;
188 public long getItemId(int position) {
190 if (mAdapter != null && position >= numHeaders) {
191 int adjPosition = position - numHeaders;
207 public View getView(int position, View convertView, ViewGroup parent) {
210 if (position < numHeaders) {
211 return mHeaderViewInfos.get(position).view;
215 final int adjPosition = position - numHeaders;
228 public int getItemViewType(int position) {
230 if (mAdapter != null && position >= numHeaders) {
231 int adjPosition = position - numHeaders;