/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.java | 465 private static int mCellHeight = 0; // shared among all DayViews field in DayView 748 if (mCellHeight == 0) { in DayView() 749 mCellHeight = Utils.getSharedPreference(mContext, in DayView() 1007 gotoY = mBaseDate.hour * (mCellHeight + HOUR_GAP); in setSelected() 1009 lastHour = (mGridAreaHeight - mFirstHourOffset) / (mCellHeight + HOUR_GAP) in setSelected() 1019 * (mCellHeight + HOUR_GAP) - mGridAreaHeight); in setSelected() 1025 + (mCellHeight + HOUR_GAP) + " lh " + lastHour + " gh " + mGridAreaHeight in setSelected() 1244 if (mCellHeight < mMinCellHeight) { in remeasure() 1245 mCellHeight = mMinCellHeight; in remeasure() 1302 mNumHours = mGridAreaHeight / (mCellHeight + HOUR_GAP); in remeasure() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | ProximityInfo.java | 49 private final int mCellHeight; field in ProximityInfo 69 mCellHeight = (height + mGridHeight - 1) / mGridHeight; in ProximityInfo() 252 final int lastPixelYCoordinate = mGridHeight * mCellHeight - 1; in computeNearestNeighbors() 264 final int halfCellHeight = mCellHeight / 2; in computeNearestNeighbors() 331 final int yDeltaToGrid = topPixelWithinThreshold % mCellHeight; in computeNearestNeighbors() 334 yMiddleOfTopCell + (yDeltaToGrid <= halfCellHeight ? 0 : mCellHeight)); in computeNearestNeighbors() 344 int baseIndexOfCurrentRow = (yStart / mCellHeight) * mGridWidth + (xStart / mCellWidth); in computeNearestNeighbors() 345 for (int centerY = yStart; centerY <= yEnd; centerY += mCellHeight) { in computeNearestNeighbors() 398 int index = (y / mCellHeight) * mGridWidth + (x / mCellWidth); in getNearestKeys()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 43 private int mCellHeight; field in ShortcutAndWidgetContainer 59 mCellHeight = cellHeight; in setCellDimensions() 97 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, in setupLp() 100 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX); in setupLp() 119 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, in measureChild() 123 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX); in measureChild()
|
D | CellLayout.java | 92 @Thunk int mCellHeight; field in CellLayout 211 mCellWidth = mCellHeight = -1; in CellLayout() 291 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); in CellLayout() 369 mFixedCellHeight = mCellHeight = height; in setCellDimensions() 370 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); in setCellDimensions() 379 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); in setGridSize() 455 cd.setBounds(0, 0, mCellWidth, mCellHeight); in onDraw() 668 result[1] = (y - vStartPadding) / mCellHeight; in pointToCellExact() 686 pointToCellExact(x + (mCellWidth / 2), y + (mCellHeight / 2), result); in pointToCellRounded() 702 result[1] = vStartPadding + cellY * mCellHeight; in cellToPoint() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GridViewSpecial.java | 83 mCellHeight = dpToPx(h, metrics); in LayoutSpec() 87 int mCellWidth, mCellHeight; field in GridViewSpecial.LayoutSpec 223 mBlockHeight = mSpec.mCellSpacing + mSpec.mCellHeight; in onLayout() 263 int h = mSpec.mCellHeight; in generateOutlineBitmap() 512 top + mSpec.mCellHeight + mSpec.mCellSpacing); in getRectForPosition() 523 int row = (mScrollY + y - spacing) / (mSpec.mCellHeight + spacing); in computeSelectedIndex() 679 mSpec.mCellWidth, mSpec.mCellHeight); in paintDecoration() 758 mBlockHeight = mSpec.mCellSpacing + mSpec.mCellHeight; in ImageBlockManager() 960 mEmptyBitmap = Bitmap.createBitmap(mSpec.mCellWidth, mSpec.mCellHeight, in initGraphics() 1104 mSpec.mCellWidth, mSpec.mCellHeight); in drawBitmap()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_state.h | 49 mKeyCount(0), mCellHeight(0), mCellWidth(0), mGridHeight(0), mGridWidth(0), in ProximityInfoState() 202 int mCellHeight; variable
|
D | proximity_info_state.cpp | 60 mCellHeight = proximityInfo->getCellHeight(); in initInputParams()
|