Lines Matching refs:position
85 public boolean isEnabled(int position) {
86 return getItemViewType(position) == TYPE_LOCALE;
90 public int getItemViewType(int position) {
94 if (position == 0) {
97 if (position == mSuggestionCount + 1) {
123 public Object getItem(int position) {
126 offset = position > mSuggestionCount ? -2 : -1;
129 return mLocaleOptions.get(position + offset);
133 public long getItemId(int position) {
134 return position;
163 public View getView(int position, View convertView, ViewGroup parent) {
168 int itemType = getItemViewType(position);
197 LocaleStore.LocaleInfo item = (LocaleStore.LocaleInfo) getItem(position);