Lines Matching defs:item

62      * @return true if there is an item at the event coordinates.
69 * @return true if there is an item w/ a stable ID at the event coordinates.
76 * @return true if the event coordinates are in an area of the item
77 * that can result in dragging the item. List items frequently have a white
87 * region of an item. Contact in these regions result in immediate
95 * @return the adapter position of the item at the event coordinates.
98 @Nullable ItemDetails<?> item = getItemDetails(e);
99 return item != null
100 ? item.getPosition()
104 private static boolean hasSelectionKey(@Nullable ItemDetails<?> item) {
105 return item != null && item.getSelectionKey() != null;
108 private static boolean hasPosition(@Nullable ItemDetails<?> item) {
109 return item != null && item.getPosition() != RecyclerView.NO_POSITION;
113 * @return the ItemDetails for the item under the event, or null.
119 * about a specific RecyclerView item. This class is a key component in controling
127 * is single-tap to select. Ordinarily a single tap on an item when there is no
128 * existing selection will result in that item being activated. If the tap
129 * occurs within the "selection hotspot" the item will instead be selected.
132 * See {@link OnItemActivatedListener} for details on handling item activation.
140 * area of the RecyclerView (an area where the item position == RecyclerView#NO_POSITION,
142 * the item views presented by RecyclerView will contain areas that may be perceived
148 * Drag region is the content in an item view that the user doesn't otherwise
173 * Returns the adapter position of the item. See
176 * @return the position of an item.
181 * @return true if the item has a selection key.
188 * @return the selection key of an item.
199 * @return true if the event is in an area of the item that should be
200 * directly interpreted as a user wishing to select the item. This
209 * "Item Drag Region" identifies areas of an item that are not considered when the library
211 * will usually correspond to an area of an item that represents user visible content.
220 * But within the expanded view item after the contact name there may be empty space that a
228 * @return true if the item is in an area of the item that can result in dragging
229 * the item. List items frequently have a white area that is not draggable allowing