Searched refs:mCellSize (Results 1 – 1 of 1) sorted by relevance
122 private int mCellSize; field in DessertCaseView165 mCellSize = res.getDimensionPixelSize(R.dimen.dessert_case_cell_size); in DessertCaseView()167 if (mCellSize < 512) { // assuming 512x512 images in DessertCaseView()178 d.setBounds(0, 0, mCellSize, mCellSize); in DessertCaseView()245 mRows = mHeight / mCellSize; in onSizeChanged()246 mColumns = mWidth / mCellSize; in onSizeChanged()254 setTranslationX(0.5f * (mWidth - mCellSize * mColumns) * SCALE); in onSizeChanged()255 setTranslationY(0.5f * (mHeight - mCellSize * mRows) * SCALE); in onSizeChanged()274 final FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(mCellSize, mCellSize); in fillFreeList()312 lp.width = lp.height = mCellSize; in fillFreeList()[all …]