Searched refs:mCellSize (Results 1 – 1 of 1) sorted by relevance
129 private int mCellSize; field in DessertCaseView172 mCellSize = res.getDimensionPixelSize(R.dimen.dessert_case_cell_size); in DessertCaseView()174 if (mCellSize < 512) { // assuming 512x512 images in DessertCaseView()185 d.setBounds(0, 0, mCellSize, mCellSize); in DessertCaseView()252 mRows = mHeight / mCellSize; in onSizeChanged()253 mColumns = mWidth / mCellSize; in onSizeChanged()261 setTranslationX(0.5f * (mWidth - mCellSize * mColumns) * SCALE); in onSizeChanged()262 setTranslationY(0.5f * (mHeight - mCellSize * mRows) * SCALE); in onSizeChanged()281 final FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(mCellSize, mCellSize); in fillFreeList()319 lp.width = lp.height = mCellSize; in fillFreeList()[all …]