/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedViewCellLayoutChildren.java | 34 private int mCellWidth; field in class:PagedViewCellLayoutChildren 62 mCellWidth = width; 94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
|
H A D | ShortcutAndWidgetContainer.java | 36 private int mCellWidth; field in class:ShortcutAndWidgetContainer 52 mCellWidth = cellWidth; 103 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap); 107 final int cellWidth = mCellWidth;
|
H A D | PagedViewCellLayout.java | 41 private int mCellWidth; field in class:PagedViewCellLayout 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 / [all...] |
H A D | CellLayout.java | 62 private int mCellWidth; field in class:CellLayout 183 mCellWidth = a.getDimensionPixelSize(R.styleable.CellLayout_cellWidth, 10); 279 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap); 428 cd.setBounds(0, 0, mCellWidth, mCellHeight); 454 int centerX = mTempLocation[0] + mCellWidth / 2; 469 centerX = mTempLocation[0] + mCellWidth / 2; 484 int centerX = mTempLocation[0] + mCellWidth / 2; 755 result[0] = (x - hStartPadding) / (mCellWidth + mWidthGap); 774 pointToCellExact(x + (mCellWidth / 2), y + (mCellHeight / 2), result); 789 result[0] = hStartPadding + cellX * (mCellWidth [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | ProximityInfo.java | 39 private final int mCellWidth; field in class:ProximityInfo 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/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | Keyboard.java | 156 private int mCellWidth; field in class:Keyboard 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/apps/Gallery/src/com/android/camera/ |
H A D | GridViewSpecial.java | 82 mCellWidth = dpToPx(w, metrics); 87 int mCellWidth, mCellHeight; field in class:GridViewSpecial.LayoutSpec 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, mSpe [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DayView.java | 330 private int mCellWidth; field in class:DayView 1225 mCellWidth = (gridAreaWidth - (mNumDays * DAY_GAP)) / mNumDays; 1350 final int eventAreaWidth = mNumDays * (mCellWidth + DAY_GAP); 2356 // r.right = mHoursWidth + mNumDays * (mCellWidth + DAY_GAP); 2373 if (mDateStrWidth < mCellWidth) { 4526 int day = (x - mHoursWidth) / (mCellWidth + DAY_GAP); 4586 int cellWidth = mCellWidth;
|