Lines Matching defs:item
48 // pos will be either the first item in second row, or item count when items not fill
54 * Returns the span index of an item.
56 public static int getSpanIndex(View item) {
58 ((GridLayoutManager.LayoutParams) item.getLayoutParams());
63 * Returns the span size of an item. {@code item} must be already laid out.
65 public static int getSpanSize(View item) {
67 ((GridLayoutManager.LayoutParams) item.getLayoutParams());
72 * Returns the index of the last item that is on the same row as {@code index}.