Searched refs:mNumRows (Results 1 – 7 of 7) sorted by relevance
58 private int mNumRows = 5; field in InternalSelectionView67 mNumRows = numRows; in InternalSelectionView()77 mNumRows = a.getInt(R.styleable.SelectableRowView_numRows, 5); in InternalSelectionView()89 return mNumRows; in getNumRows()132 mNumRows * mEstimatedPixelHeight + mPaddingTop + mPaddingBottom; in measureHeight()149 for (int i = 0; i < mNumRows; i++) { in onDraw()187 final int desiredRowHeight = availableHeight / mNumRows; in getRowHeight()188 if (row < mNumRows - 1) { in getRowHeight()191 final int residualHeight = availableHeight % mNumRows; in getRowHeight()223 if (mSelectedRow < (mNumRows - 1)) { in onKeyDown()[all …]
113 for (int i = indexLimit + 1; visitedRows < mNumRows && i <= mLastVisibleIndex; i++) { in findRowMax()128 for (int i = indexLimit - 1; visitedRows < mNumRows && i >= mFirstVisibleIndex; i--) { in findRowMax()165 for (int i = indexLimit - 1; visitedRows < mNumRows && i >= mFirstVisibleIndex; i--) { in findRowMin()181 for (int i = indexLimit + 1; visitedRows < mNumRows && i <= mLastVisibleIndex; i++) { in findRowMin()209 } else if (wrapped && row == mNumRows - 1) { in findRowEdgeLimitSearchIndex()216 if (row == mNumRows - 1) { in findRowEdgeLimitSearchIndex()246 for (int i = 0; i < mNumRows; i++) { in appendVisibleItemsWithoutCache()260 if (rowIndex == mNumRows) { in appendVisibleItemsWithoutCache()271 % mNumRows; in appendVisibleItemsWithoutCache()281 for (; rowIndex < mNumRows; rowIndex++) { in appendVisibleItemsWithoutCache()[all …]
112 protected int mNumRows; field in Grid179 return mNumRows; in getNumRows()193 if (mNumRows == numRows) { in setNumRows()196 mNumRows = numRows; in setNumRows()197 mTmpItemPositionsInRows = new CircularIntArray[mNumRows]; in setNumRows()198 for (int i = 0; i < mNumRows; i++) { in setNumRows()
273 int startPos = mPendingMoves > 0 ? mFocusPosition + mNumRows : in consumePendingMovesBeforeLayout()274 mFocusPosition - mNumRows; in consumePendingMovesBeforeLayout()276 pos = mPendingMoves > 0 ? pos + mNumRows: pos - mNumRows) { in consumePendingMovesBeforeLayout()514 private int mNumRows; field in GridLayoutManager861 return mOrientation == HORIZONTAL || mNumRows > 1; in canScrollHorizontally()868 return mOrientation == VERTICAL || mNumRows > 1; in canScrollVertically()988 !mForceFullLayout && mGrid != null && mGrid.getNumRows() == mNumRows) { in layoutInit()1000 if (mGrid == null || mNumRows != mGrid.getNumRows() || in layoutInit()1002 mGrid = Grid.createGrid(mNumRows); in layoutInit()1043 for (int i = mNumRows-1; i > rowIndex; i--) { in getRowStartSecondary()[all …]
347 if (rowIndex == mNumRows - 1) { in appendVisbleItemsWithCache()411 for (int i = 0; i < mNumRows; i++) { in getItemPositionsInRows()
55 protected int mNumRows; field in GridWidgetTest224 if (mNumRows != rows.size()) { in sortByRows()225 assertEquals("Dump Views by rows "+rows, mNumRows, rows.size()); in sortByRows()359 mNumRows = 3; in testThreeRowHorizontalBasic()377 mNumRows = 3; in testThreeColumnVerticalBasic()405 mNumRows = 3; in testRedundantAppendRemove()429 mNumRows = 3; in testRedundantAppendRemove2()467 mNumRows = 3; in testItemMovedHorizontal()490 mNumRows = 3; in testItemMovedVertical()514 mNumRows = 3; in testItemAddRemoveHorizontal()[all …]
176 protected int mNumRows = DEFAULT_NUM_ROWS; field in MonthView386 mNumRows = calculateNumRows(); in setMonthParams()397 mNumRows = DEFAULT_NUM_ROWS; in reuse()416 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), mRowHeight * mNumRows in onMeasure()