Lines Matching refs:position
299 * @param position A position constant declaring where the prompt should be displayed.
304 public void setPromptPosition(int position) {
305 mPromptPosition = position;
642 * will recalculate the popup's size and position.
653 //Don't update position if the anchor view is detached from window.
803 * Set the selected position of the list.
806 * @param position List position to set as selected.
808 public void setSelection(int position) {
812 list.setSelection(position);
815 list.setItemChecked(position, true);
851 * Perform an item click operation on the specified list adapter position.
853 * @param position Adapter position for performing the click
857 public boolean performItemClick(int position) {
861 final View child = list.getChildAt(position - list.getFirstVisiblePosition());
863 mItemClickListener.onItemClick(list, child, position, adapter.getItemId(position));
881 * @return The position of the currently selected item or {@link ListView#INVALID_POSITION}
1168 int position, long id) {
1170 if (position != -1) {
1214 Log.e(TAG, "Invalid hint position " + mPromptPosition);
1312 * @hide Only used by {@link android.support.v7.view.menu.CascadingMenuPopup} to position