Lines Matching defs:mColumns
131 private int mRows, mColumns;
253 mColumns = mWidth / mCellSize;
255 mCells = new View[mRows * mColumns];
257 if (DEBUG) Log.v(TAG, String.format("New dimensions: %dx%d", mColumns, mRows));
261 setTranslationX(0.5f * (mWidth - mCellSize * mColumns) * SCALE);
265 for (int i=0; i<mColumns; i++) {
289 if (mCells[j*mColumns+i] != null) continue;
333 place(v, new Point(irand(0, mColumns), irand(0, mRows)), animate);
359 mCells[oc.y*mColumns + oc.x] = null;
364 if (!(i >= mColumns-3 || j >= mRows-3)) {
368 if (!(i >= mColumns-2 || j >= mRows-2)) {
372 if (!(i == mColumns-1 || j == mRows-1)) {
384 final View squatter = mCells[oc.y*mColumns + oc.x];
393 mCells[sq.y*mColumns + sq.x] = null;
418 mCells[oc.y*mColumns + oc.x] = v;