Home | History | Annotate | Download | only in widget

Lines Matching defs:rowStart

465         int rowStart;
469 rowStart = selectedPosition - (selectedPosition % numColumns);
474 rowStart = Math.max(0, rowEnd - numColumns + 1);
478 final int topSelectionPixel = getTopSelectionPixel(childrenTop, fadingEdgeLength, rowStart);
480 final View sel = makeRow(mStackFromBottom ? rowEnd : rowStart, topSelectionPixel, true);
481 mFirstPosition = rowStart;
486 fillDown(rowStart + numColumns, referenceView.getBottom() + verticalSpacing);
488 fillUp(rowStart - numColumns, referenceView.getTop() - verticalSpacing);
492 fadingEdgeLength, numColumns, rowStart);
495 fillUp(rowStart - 1, referenceView.getTop() - verticalSpacing);
718 int rowStart;
722 rowStart = selectedPosition - (selectedPosition % numColumns);
727 rowStart = Math.max(0, rowEnd - numColumns + 1);
733 int topSelectionPixel = getTopSelectionPixel(childrenTop, fadingEdgeLength, rowStart);
735 numColumns, rowStart);
737 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, selectedTop, true);
739 mFirstPosition = rowStart;
746 fillUp(rowStart - numColumns, referenceView.getTop() - verticalSpacing);
748 fillDown(rowStart + numColumns, referenceView.getBottom() + verticalSpacing);
752 fillUp(rowStart - 1, referenceView.getTop() - verticalSpacing);
765 * @param rowStart The start of the row that will contain the selection
769 int numColumns, int rowStart) {
772 if (rowStart + numColumns - 1 < mItemCount - 1) {
783 * @param rowStart The start of the row that will contain the selection
786 private int getTopSelectionPixel(int childrenTop, int fadingEdgeLength, int rowStart) {
789 if (rowStart > 0) {
891 int rowStart;
897 rowStart = selectedPosition - (selectedPosition % numColumns);
902 rowStart = Math.max(0, rowEnd - numColumns + 1);
909 final int rowDelta = rowStart - oldRowStart;
911 final int topSelectionPixel = getTopSelectionPixel(childrenTop, fadingEdgeLength, rowStart);
913 numColumns, rowStart);
916 mFirstPosition = rowStart;
929 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, oldBottom + verticalSpacing, true);
940 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, oldTop - verticalSpacing, false);
951 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, oldTop, true);
956 fillUp(rowStart - numColumns, referenceView.getTop() - verticalSpacing);
958 fillDown(rowStart + numColumns, referenceView.getBottom() + verticalSpacing);
962 fillUp(rowStart - 1, referenceView.getTop() - verticalSpacing);
1991 int rowStart;
1995 rowStart = childIndex - (childIndex % mNumColumns);
1996 rowEnd = Math.min(rowStart + mNumColumns - 1, count);
1999 rowStart = Math.max(0, rowEnd - mNumColumns + 1);
2006 return childIndex == rowStart;
2009 return rowStart == 0;
2018 return childIndex == rowStart && rowStart == 0;