Lines Matching refs:position
827 * Set the position of the dropdown view selection.
829 * @param position The position to move the selector to.
831 public void setListSelection(int position) {
832 mPopup.setSelection(position);
836 * Get the position of the dropdown view selection, if there is one. Returns
840 * @return the position of the current selection, if there is one, or
880 private void performCompletion(View selectedView, int position, long id) {
883 if (position < 0) {
886 selectedItem = mAdapter.getItem(position);
900 if (selectedView == null || position < 0) {
902 position = list.getSelectedItemPosition();
905 mItemClickListener.onItemClick(list.getListView(), selectedView, position, id);
1200 public void onItemClick(AdapterView parent, View v, int position, long id) {
1201 performCompletion(v, position, id);