Lines Matching refs:index

402      * relationship does.  In LTR flows, the first positional index is
443 * A view can have mutliple alignment position, this is the index of which
886 private int getPositionByIndex(int index) {
887 return getPositionByView(getChildAt(index));
1147 // Iterate from left to right, which is a different index traversal
1482 public int createItem(int index, boolean append, Object[] item) {
1485 View v = getViewForPosition(index);
1514 if (index == mFocusPosition && subindex == mSubFocusPosition
1524 if (!mInLayoutSearchFocus && index == mFocusPosition
1527 } else if (mInLayoutSearchFocus && index >= mFocusPosition
1529 mFocusPosition = index;
1543 public void addItem(Object item, int index, int length, int rowIndex, int edge) {
1560 mChildrenStates.loadView(v, index);
1563 Log.d(getTag(), "addView " + index + " " + v);
1567 if (index == mGrid.getFirstVisibleIndex()) {
1574 if (index == mGrid.getLastVisibleIndex()) {
1586 mChildLaidOutListener.onChildLaidOut(mBaseGridView, v, index,
1592 public void removeItem(int index) {
1594 View v = findViewByPosition(index);
1604 public int getEdge(int index) {
1606 return getViewMax(findViewByPosition(index));
1608 return getViewMin(findViewByPosition(index));
1613 public int getSize(int index) {
1614 return getViewPrimarySize(findViewByPosition(index));
1741 for (int index = 0; index < childCount; index++) {
1742 View view = getChildAt(index);
1743 position = getPositionByIndex(index);
2921 // Add all focusable items after this item whose row index is bigger
2929 // Add all focusable items before this item whose row index is smaller
3022 int index;
3027 index = 0;
3031 index = count - 1;
3037 for (int i = index; i != end; i += increment) {
3153 int index; // index inside adapter of the current view
3158 out.writeInt(index);
3182 index = in.readInt();
3194 // save selected index
3195 ss.index = getSelection();
3223 mFocusPosition = loadingState.index;
3305 int index = moves > 0 ? i : count - 1 - i;
3306 final View child = getChildAt(index);
3310 int position = getPositionByIndex(index);