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

  /development/samples/ApiDemos/src/com/example/android/apis/animation/
FixedGridLayout.java 38 int mCellWidth;
46 mCellWidth = px;
57 int cellWidthSpec = MeasureSpec.makeMeasureSpec(mCellWidth,
70 setMeasuredDimension(resolveSize(mCellWidth * minCount, widthMeasureSpec),
76 int cellWidth = mCellWidth;
  /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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
ProximityInfo.java 39 private final int mCellWidth;
61 mCellWidth = (minWidth + mGridWidth - 1) / mGridWidth;
86 mCellWidth = o.mCellWidth;
220 final int gridWidth = mGridWidth * mCellWidth;
222 for (int x = 0; x < gridWidth; x += mCellWidth) {
224 final int centerX = x + mCellWidth / 2;
233 mGridNeighbors[(y / mCellHeight) * mGridWidth + (x / mCellWidth)] =
269 int index = (y / mCellHeight) * mGridWidth + (x / mCellWidth);
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewCellLayout.java 41 private int mCellWidth;
65 mOriginalCellWidth = mCellWidth =
75 mChildren.setCellDimensions(mCellWidth, mCellHeight);
82 return mCellWidth;
213 newWidth = getPaddingLeft() + getPaddingRight() + (mCellCountX * mCellWidth) +
248 return mCellCountX * mCellWidth + (mCellCountX - 1) * Math.max(0, mWidthGap);
305 int smallerSize = Math.min(mCellWidth, mCellHeight);
333 int n = Math.max(1, (availWidth + mWidthGap) / (mCellWidth + mWidthGap));
357 getPaddingLeft() + (x * mCellWidth) + (x * mWidthGap) + (mCellWidth / 2)
    [all...]
PagedViewCellLayoutChildren.java 34 private int mCellWidth;
62 mCellWidth = width;
94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
ShortcutAndWidgetContainer.java 36 private int mCellWidth;
52 mCellWidth = cellWidth;
103 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap);
107 final int cellWidth = mCellWidth;
CellLayout.java 64 private int mCellWidth;
185 mCellWidth = a.getDimensionPixelSize(R.styleable.CellLayout_cellWidth, 10);
281 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap);
430 cd.setBounds(0, 0, mCellWidth, mCellHeight);
456 int centerX = mTempLocation[0] + mCellWidth / 2;
471 centerX = mTempLocation[0] + mCellWidth / 2;
486 int centerX = mTempLocation[0] + mCellWidth / 2;
761 result[0] = (x - hStartPadding) / (mCellWidth + mWidthGap);
780 pointToCellExact(x + (mCellWidth / 2), y + (mCellHeight / 2), result);
795 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap)
    [all...]
  /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...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
Keyboard.java 156 private int mCellWidth;
702 mCellWidth = (getMinWidth() + GRID_WIDTH - 1) / GRID_WIDTH;
706 final int gridWidth = GRID_WIDTH * mCellWidth;
708 for (int x = 0; x < gridWidth; x += mCellWidth) {
714 key.squaredDistanceFrom(x + mCellWidth - 1, y) < mProximityThreshold ||
715 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1)
718 key.isInside(x, y, mCellWidth, mCellHeight)) {
724 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell;
739 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth);
  /frameworks/base/core/java/android/inputmethodservice/
Keyboard.java 140 private int mCellWidth;
726 mCellWidth = (getMinWidth() + GRID_WIDTH - 1) / GRID_WIDTH;
730 final int gridWidth = GRID_WIDTH * mCellWidth;
732 for (int x = 0; x < gridWidth; x += mCellWidth) {
738 key.squaredDistanceFrom(x + mCellWidth - 1, y) < mProximityThreshold ||
739 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1)
747 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell;
762 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth);
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
DayView.java 330 private int mCellWidth;
    [all...]

Completed in 217 milliseconds