Home
last modified time | relevance | path

Searched refs:spacing (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/
DEvenlySpacedLayout.java81 int spacing = (r - l - usedWidth) / in layoutHorizontal() local
83 int left = mKeepEndSpace ? spacing : 0; in layoutHorizontal()
92 left += spacing; in layoutHorizontal()
108 int spacing = (b - t - usedHeight) / in layoutVertical() local
110 int top = mKeepEndSpace ? spacing : 0; in layoutVertical()
119 top += spacing; in layoutVertical()
DGridViewSpecial.java520 int spacing = mSpec.mCellSpacing; in computeSelectedIndex() local
523 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() local
701 int xPos = leftSpacing + (col * (mSpec.mCellWidth + spacing)); in paintSelection()
702 int yTop = spacing + (row * mBlockHeight); in paintSelection()
1073 int spacing = mSpec.mCellSpacing; in loadImageDone() local
1075 final int yPos = spacing; in loadImageDone()
1077 + (col * (mSpec.mCellWidth + spacing)); in loadImageDone()
/packages/apps/Camera/src/com/android/camera/
DEvenlySpacedLayout.java79 int spacing = (r - l - usedWidth) / in layoutHorizontal() local
81 int left = mKeepEndSpace ? spacing : 0; in layoutHorizontal()
90 left += spacing; in layoutHorizontal()
106 int spacing = (b - t - usedHeight) / in layoutVertical() local
108 int top = mKeepEndSpace ? spacing : 0; in layoutVertical()
117 top += spacing; in layoutVertical()
DGridViewSpecial.java518 int spacing = mSpec.mCellSpacing; in computeSelectedIndex() local
521 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() local
699 int xPos = leftSpacing + (col * (mSpec.mCellWidth + spacing)); in paintSelection()
700 int yTop = spacing + (row * mBlockHeight); in paintSelection()
1071 int spacing = mSpec.mCellSpacing; in loadImageDone() local
1073 final int yPos = spacing; in loadImageDone()
1075 + (col * (mSpec.mCellWidth + spacing)); in loadImageDone()