HomeSort by relevance Sort by last modified time
    Searched refs:mCellWidth (Results 1 - 6 of 6) sorted by null

  /development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
FixedGridLayout.java 38 int mCellWidth;
51 mCellWidth = a.getDimensionPixelSize(
59 mCellWidth = px;
70 int cellWidthSpec = MeasureSpec.makeMeasureSpec(mCellWidth,
81 setMeasuredDimension(resolveSize(mCellWidth*count, widthMeasureSpec),
87 int cellWidth = mCellWidth;
  /packages/apps/Gallery/src/com/android/camera/
GridViewSpecial.java 82 mCellWidth = dpToPx(w, metrics);
87 int mCellWidth, mCellHeight;
215 mColumns = 1 + (width - mSpec.mCellWidth)
216 / (mSpec.mCellWidth + mSpec.mCellSpacing);
220 - (mColumns * mSpec.mCellWidth)) / 2;
262 int w = mSpec.mCellWidth;
507 + (col * (mSpec.mCellWidth + mSpec.mCellSpacing));
511 left + mSpec.mCellWidth + mSpec.mCellSpacing,
525 (x - leftSpacing) / (mSpec.mCellWidth + spacing));
679 mSpec.mCellWidth, mSpec.mCellHeight)
    [all...]
  /frameworks/base/core/java/android/inputmethodservice/
Keyboard.java 140 private int mCellWidth;
656 mCellWidth = (getMinWidth() + GRID_WIDTH - 1) / GRID_WIDTH;
660 final int gridWidth = GRID_WIDTH * mCellWidth;
662 for (int x = 0; x < gridWidth; x += mCellWidth) {
668 key.squaredDistanceFrom(x + mCellWidth - 1, y) < mProximityThreshold ||
669 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1)
677 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell;
692 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth);
  /packages/apps/Launcher2/src/com/android/launcher2/
CellLayout.java 40 private int mCellWidth;
80 mCellWidth = a.getDimensionPixelSize(R.styleable.CellLayout_cellWidth, 10);
406 result[0] = (x - hStartPadding) / (mCellWidth + mWidthGap);
425 pointToCellExact(x + (mCellWidth / 2), y + (mCellHeight / 2), result);
443 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap);
448 return mCellWidth;
491 final int cellWidth = mCellWidth;
716 final int cellWidth = mCellWidth;
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
CalendarView.java 193 private int mCellWidth;
732 mCellWidth = (gridAreaWidth - (mNumDays * DAY_GAP)) / mNumDays;
    [all...]
MonthView.java 104 private int mCellWidth;
333 int col = (x - mBorder) / (MONTH_DAY_GAP + mCellWidth);
694 int column = (x - mBorder) / (MONTH_DAY_GAP + mCellWidth);
764 int x = mBorder + column * (MONTH_DAY_GAP + mCellWidth) - 1;
799 int x = mBorder + column*(MONTH_DAY_GAP + mCellWidth);
803 r.right = x + mCellWidth;
    [all...]

Completed in 254 milliseconds