HomeSort by relevance Sort by last modified time
    Searched refs:mCellWidth (Results 1 - 13 of 13) 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/apps/Launcher2/src/com/android/launcher2/
PagedViewCellLayout.java 41 private int mCellWidth;
65 mOriginalCellWidth = mCellWidth =
75 mChildren.setCellDimensions(mCellWidth, mCellHeight);
82 return mCellWidth;
202 newWidth = getPaddingLeft() + getPaddingRight() + (mCellCountX * mCellWidth) +
237 return mCellCountX * mCellWidth + (mCellCountX - 1) * Math.max(0, mWidthGap);
294 int smallerSize = Math.min(mCellWidth, mCellHeight);
322 int n = Math.max(1, (availWidth + mWidthGap) / (mCellWidth + mWidthGap));
346 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;
53 mCellWidth = cellWidth;
105 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(),
115 final int cellWidth = mCellWidth;
CellLayout.java 65 private int mCellWidth;
189 mCellWidth = a.getDimensionPixelSize(R.styleable.CellLayout_cellWidth, 10);
286 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
336 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
476 cd.setBounds(0, 0, mCellWidth, mCellHeight);
502 int centerX = mTempLocation[0] + mCellWidth / 2;
517 centerX = mTempLocation[0] + mCellWidth / 2;
532 int centerX = mTempLocation[0] + mCellWidth / 2;
810 result[0] = (x - hStartPadding) / (mCellWidth + mWidthGap);
829 pointToCellExact(x + (mCellWidth / 2), y + (mCellHeight / 2), result)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
ProximityInfo.java 43 private final int mCellWidth;
66 mCellWidth = (minWidth + mGridWidth - 1) / mGridWidth;
248 final int gridWidth = mGridWidth * mCellWidth;
250 for (int x = 0; x < gridWidth; x += mCellWidth) {
252 final int centerX = x + mCellWidth / 2;
261 mGridNeighbors[(y / mCellHeight) * mGridWidth + (x / mCellWidth)] =
298 int index = (y / mCellHeight) * mGridWidth + (x / 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...]
  /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);
  /packages/inputmethods/LatinIME/native/jni/src/
proximity_info_state.h 49 mKeyCount(0), mCellHeight(0), mCellWidth(0), mGridHeight(0), mGridWidth(0),
225 int mCellWidth;
proximity_info_state.cpp 51 mCellWidth = proximityInfo->getCellWidth();
  /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 1203 milliseconds