Searched refs:spacing (Results 1 – 4 of 4) sorted by relevance
81 int spacing = (r - l - usedWidth) / in layoutHorizontal() local83 int left = mKeepEndSpace ? spacing : 0; in layoutHorizontal()92 left += spacing; in layoutHorizontal()108 int spacing = (b - t - usedHeight) / in layoutVertical() local110 int top = mKeepEndSpace ? spacing : 0; in layoutVertical()119 top += spacing; in layoutVertical()
520 int spacing = mSpec.mCellSpacing; in computeSelectedIndex() local523 int row = (mScrollY + y - spacing) / (mSpec.mCellHeight + spacing); in computeSelectedIndex()525 (x - leftSpacing) / (mSpec.mCellWidth + spacing)); in computeSelectedIndex()699 int spacing = mSpec.mCellSpacing; in paintSelection() local701 int xPos = leftSpacing + (col * (mSpec.mCellWidth + spacing)); in paintSelection()702 int yTop = spacing + (row * mBlockHeight); in paintSelection()1073 int spacing = mSpec.mCellSpacing; in loadImageDone() local1075 final int yPos = spacing; in loadImageDone()1077 + (col * (mSpec.mCellWidth + spacing)); in loadImageDone()
79 int spacing = (r - l - usedWidth) / in layoutHorizontal() local81 int left = mKeepEndSpace ? spacing : 0; in layoutHorizontal()90 left += spacing; in layoutHorizontal()106 int spacing = (b - t - usedHeight) / in layoutVertical() local108 int top = mKeepEndSpace ? spacing : 0; in layoutVertical()117 top += spacing; in layoutVertical()
518 int spacing = mSpec.mCellSpacing; in computeSelectedIndex() local521 int row = (mScrollY + y - spacing) / (mSpec.mCellHeight + spacing); in computeSelectedIndex()523 (x - leftSpacing) / (mSpec.mCellWidth + spacing)); in computeSelectedIndex()697 int spacing = mSpec.mCellSpacing; in paintSelection() local699 int xPos = leftSpacing + (col * (mSpec.mCellWidth + spacing)); in paintSelection()700 int yTop = spacing + (row * mBlockHeight); in paintSelection()1071 int spacing = mSpec.mCellSpacing; in loadImageDone() local1073 final int yPos = spacing; in loadImageDone()1075 + (col * (mSpec.mCellWidth + spacing)); in loadImageDone()