Lines Matching refs:position
939 * Set the position of the dropdown view selection.
941 * @param position The position to move the selector to.
943 public void setListSelection(int position) {
944 mPopup.setSelection(position);
948 * Get the position of the dropdown view selection, if there is one. Returns
952 * @return the position of the current selection, if there is one, or
992 private void performCompletion(View selectedView, int position, long id) {
995 if (position < 0) {
998 selectedItem = mAdapter.getItem(position);
1012 if (selectedView == null || position < 0) {
1014 position = list.getSelectedItemPosition();
1017 mItemClickListener.onItemClick(list.getListView(), selectedView, position, id);
1312 public void onItemClick(AdapterView parent, View v, int position, long id) {
1313 performCompletion(v, position, id);