Lines Matching refs:position

30      * Checks to see if the child at the specified position is draggable
31 * @param position The position of the child to check against
32 * @return boolean If true, the child at the specified position is draggable.
34 public boolean isDraggable(int position) {
39 * For a view at the specified position, return the region around the view that is a possible
41 * @param position The adapter position
42 * @param isLastColumnInGrid Flag to indicate whether the view at the specified position is
48 * @return int The re-ordering area for the view at this adapter position.
52 public int getReorderingArea(int position, boolean isLastColumnInGrid) {
102 public long getItemIdFromView(View view, int position) {
108 return getItemId(position);
113 * the view at this position, and can be used to optimize retrieval of the id by the adapter.
114 * @param item Object associated with this view at this position.
115 * @param position Position of the item.
116 * @return id Id for the item at this position.
118 public long getItemId(Object item, int position) {
121 return getItemId(position);
126 * position in the cursor managed by the adapter. Previously, the adapter
127 * would create an item based on the position and use that item to get the
131 * @param item Object associated with the view at this position
132 * @param position Position of the item we are verifying
133 * @return int representing the type of the item at the supplied position
135 public int getItemViewType(Object item, int position) {
136 return getItemViewType(position);
142 * @param item Object associated with the view at this position
143 * @param position Position of the item we are verifying
155 public View getView(Object item, int position, View scrap, ViewGroup parent,
157 return getView(position, scrap, parent);
163 abstract public int getItemColumnSpan(Object item, int position);
166 * The first change position of all items. It will be used by