Home
last modified time | relevance | path

Searched refs:mCellHeight (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DDayView.java465 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/
DProximityInfo.java49 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/
DShortcutAndWidgetContainer.java50 private int mCellHeight; field in ShortcutAndWidgetContainer
69 mCellHeight = cellHeight; in setCellDimensions()
110 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp()
113 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp()
134 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild()
137 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild()
DCellLayout.java91 @Thunk int mCellHeight; field in CellLayout
244 mCellWidth = mCellHeight = -1; in CellLayout()
311 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY, in CellLayout()
370 mFixedCellHeight = mCellHeight = height; in setCellDimensions()
371 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY, in setCellDimensions()
381 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY, in setGridSize()
448 cd.setBounds(0, 0, mCellWidth, mCellHeight); in onDraw()
533 int paddingY = (int) Math.min((mCellHeight - dp.iconSizePx) / 2, mGridVisualizationPadding); in visualizeGrid()
536 mCellHeight - paddingY); in visualizeGrid()
547 int transY = j * mCellHeight + (j * mBorderSpacing) + getPaddingTop() in visualizeGrid()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java83 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/
Dproximity_info_state.h49 mKeyCount(0), mCellHeight(0), mCellWidth(0), mGridHeight(0), mGridWidth(0), in ProximityInfoState()
202 int mCellHeight; variable
Dproximity_info_state.cpp60 mCellHeight = proximityInfo->getCellHeight(); in initInputParams()