Lines Matching refs:mSpec

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