Lines Matching refs:row
503 int row = pos / mColumns; in getRectForPosition() local
504 int col = pos - (row * mColumns); in getRectForPosition()
508 int top = row * mBlockHeight; in getRectForPosition()
523 int row = (mScrollY + y - spacing) / (mSpec.mCellHeight + spacing); in computeSelectedIndex() local
526 return (row * mColumns) + col; in computeSelectedIndex()
696 int row = mCurrentSelection / mColumns; in paintSelection() local
697 int col = mCurrentSelection - (row * mColumns); in paintSelection()
702 int yTop = spacing + (row * mBlockHeight); in paintSelection()
794 int row = pos / mColumns; in clearLoaderQueue() local
795 int col = pos - row * mColumns; in clearLoaderQueue()
796 ImageBlock blk = mCache.get(row); in clearLoaderQueue()
834 private int tryToLoad(int row) { in tryToLoad() argument
835 Assert(row >= 0 && row < mRows); in tryToLoad()
836 ImageBlock blk = mCache.get(row); in tryToLoad()
840 blk.setRow(row); in tryToLoad()
842 mCache.put(row, blk); in tryToLoad()
880 int row = index / mColumns; in invalidateImage() local
881 int col = index - (row * mColumns); in invalidateImage()
882 ImageBlock blk = mCache.get(row); in invalidateImage()
928 private int numColumns(int row) { in numColumns() argument
929 return Math.min(mColumns, mCount - row * mColumns); in numColumns()
933 private void drawEmptyBlock(Canvas canvas, int xPos, int yPos, int row) { in drawEmptyBlock() argument
941 int cols = numColumns(row); in drawEmptyBlock()
989 public void setRow(int row) { in setRow() argument
990 mRow = row; in setRow()