/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 | 43 private final int mCellWidth; 66 mCellWidth = (minWidth + mGridWidth - 1) / mGridWidth; 248 final int lastPixelXCoordinate = mGridWidth * mCellWidth - 1; 260 final int halfCellWidth = mCellWidth / 2; 335 final int xDeltaToGrid = leftPixelWithinThreshold % mCellWidth; 338 xMiddleOfLeftCell + (xDeltaToGrid <= halfCellWidth ? 0 : mCellWidth)); 341 int baseIndexOfCurrentRow = (yStart / mCellHeight) * mGridWidth + (xStart / mCellWidth); 344 for (int centerX = xStart; centerX <= xEnd; centerX += mCellWidth) { 393 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; 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/apps/Launcher3/src/com/android/launcher3/ |
PagedViewCellLayout.java | 38 private int mCellWidth; 62 mOriginalCellWidth = mCellWidth = grid.cellWidthPx; 69 mChildren.setCellDimensions(mCellWidth, mCellHeight); 76 return mCellWidth; 196 newWidth = getPaddingLeft() + getPaddingRight() + (mCellCountX * mCellWidth) + 231 return mCellCountX * mCellWidth + (mCellCountX - 1) * Math.max(0, mWidthGap); 288 int smallerSize = Math.min(mCellWidth, mCellHeight); 316 int n = Math.max(1, (availWidth + mWidthGap) / (mCellWidth + mWidthGap)); 340 getPaddingLeft() + (x * mCellWidth) + (x * mWidthGap) + (mCellWidth / 2) [all...] |
PagedViewCellLayoutChildren.java | 34 private int mCellWidth; 62 mCellWidth = width; 95 mCellWidth, mCellHeight, mWidthGap, mHeightGap,
|
ShortcutAndWidgetContainer.java | 38 private int mCellWidth; 56 mCellWidth = cellWidth; 113 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), 143 final int cellWidth = mCellWidth;
|
CellLayout.java | 65 private int mCellWidth; 200 mCellWidth = mCellHeight = -1; 294 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 313 mFixedCellWidth = mCellWidth = width; 315 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 325 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap, 444 (mCountX * mCellWidth); 457 cd.setBounds(0, 0, mCellWidth, mCellHeight); 485 int centerX = mTempLocation[0] + mCellWidth / 2; 521 int centerX = mTempLocation[0] + mCellWidth / 2 [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);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_state.h | 48 mKeyCount(0), mCellHeight(0), mCellWidth(0), mGridHeight(0), mGridWidth(0), 208 int mCellWidth;
|
proximity_info_state.cpp | 53 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...] |