Lines Matching refs:mSpec
122 private LayoutSpec mSpec;
138 private int mBlockHeight; // Cache mSpec.mCellSpacing + mSpec.mCellHeight
200 mSpec = mCellSizeChoices[mSizeChoice];
215 mColumns = 1 + (width - mSpec.mCellWidth)
216 / (mSpec.mCellWidth + mSpec.mCellSpacing);
218 mSpec.mLeftEdgePadding = (width
219 - ((mColumns - 1) * mSpec.mCellSpacing)
220 - (mColumns * mSpec.mCellWidth)) / 2;
223 mBlockHeight = mSpec.mCellSpacing + mSpec.mCellHeight;
224 mMaxScrollY = mSpec.mCellSpacing + (mRows * mBlockHeight)
238 mAllImages, mLoader, mDrawAdapter, mSpec, mColumns, width,
262 int w = mSpec.mCellWidth;
263 int h = mSpec.mCellHeight;
291 int startRow = (mScrollY - mSpec.mCellSpacing) / mBlockHeight;
292 int endRow = (mScrollY + getHeight() - mSpec.mCellSpacing - 1)
506 int left = mSpec.mLeftEdgePadding
507 + (col * (mSpec.mCellWidth + mSpec.mCellSpacing));
511 left + mSpec.mCellWidth + mSpec.mCellSpacing,
512 top + mSpec.mCellHeight + mSpec.mCellSpacing);
520 int spacing = mSpec.mCellSpacing;
521 int leftSpacing = mSpec.mLeftEdgePadding;
523 int row = (mScrollY + y - spacing) / (mSpec.mCellHeight + spacing);
525 (x - leftSpacing) / (mSpec.mCellWidth + spacing));
561 if (mSpec != null) {
619 (mScrollY - mSpec.mCellSpacing) / mBlockHeight;
660 int startRow = (mScrollY - mSpec.mCellSpacing) / mBlockHeight;
661 int endRow = (mScrollY + getHeight() - mSpec.mCellSpacing - 1)
672 int xPos = mSpec.mLeftEdgePadding;
673 int yPos = mSpec.mCellSpacing + startRow * mBlockHeight;
679 mSpec.mCellWidth, mSpec.mCellHeight);
684 xPos = mSpec.mLeftEdgePadding;
688 xPos += mSpec.mCellWidth + mSpec.mCellSpacing;
699 int spacing = mSpec.mCellSpacing;
700 int leftSpacing = mSpec.mLeftEdgePadding;
701 int xPos = leftSpacing + (col * (mSpec.mCellWidth + spacing));
731 private final GridViewSpecial.LayoutSpec mSpec;
754 mSpec = spec;
758 mBlockHeight = mSpec.mCellSpacing + mSpec.mCellHeight;
939 int x = xPos + mSpec.mLeftEdgePadding;
940 int y = yPos + mSpec.mCellSpacing;
945 x += (mSpec.mCellWidth + mSpec.mCellSpacing);
960 mEmptyBitmap = Bitmap.createBitmap(mSpec.mCellWidth, mSpec.mCellHeight,
1073 int spacing = mSpec.mCellSpacing;
1074 int leftSpacing = mSpec.mLeftEdgePadding;
1077 + (col * (mSpec.mCellWidth + spacing));
1104 mSpec.mCellWidth, mSpec.mCellHeight);
1121 int w = mSpec.mLeftEdgePadding
1122 + cols * (mSpec.mCellWidth + mSpec.mCellSpacing);
1133 int x = xPos + mSpec.mLeftEdgePadding;
1134 int y = yPos + mSpec.mCellSpacing;
1140 x += (mSpec.mCellWidth + mSpec.mCellSpacing);