Lines Matching refs:position
112 * Set the position that starts selected.
114 * @param startingSelectionPosition The selected position within the adapter's data set.
135 * @param position The position in the grid.
139 int position, double itemScreenSizeFactor) {
140 mOverrideItemScreenSizeFactors.put(position, itemScreenSizeFactor);
266 public void onItemSelected(AdapterView parent, View v, int position, long id) {
267 positionSelected(position);
315 public final String getValueAtPosition(int position) {
316 return "postion " + position;
322 * @param position The position.
328 protected View createView(int position, ViewGroup parent, int desiredHeight) {
331 result.setText(getValueAtPosition(position));
336 result.setId(position);
348 public Object getItem(int position) {
349 return getValueAtPosition(position);
352 public long getItemId(int position) {
353 return position;
356 public View getView(int position, View convertView, ViewGroup parent) {
358 ((TextView) convertView).setText(getValueAtPosition(position));
359 convertView.setId(position);
364 if (mOverrideItemScreenSizeFactors.containsKey(position)) {
365 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position));
367 return createView(position, parent, desiredHeight);