/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A 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()
|
/aosp12/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DayView.java | 748 if (mCellHeight == 0) { in DayView() 1244 if (mCellHeight < mMinCellHeight) { in remeasure() 1245 mCellHeight = mMinCellHeight; in remeasure() 1658 mFirstHour = (mViewStartY + mCellHeight + HOUR_GAP - 1) / (mCellHeight + HOUR_GAP); in computeFirstHour() 2210 y += mCellHeight + HOUR_GAP; in drawHours() 2727 int cellHeight = mCellHeight; in drawEvents() 3178 / (mCellHeight + DAY_GAP); in doScroll() 3379 if (mCellHeight < mMinCellHeight) { in onScale() 3383 mCellHeight = mMinCellHeight; in onScale() 3387 mCellHeight = MAX_CELL_HEIGHT; in onScale() [all …]
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | ShortcutAndWidgetContainer.java | 51 private int mCellHeight; field in ShortcutAndWidgetContainer 70 mCellHeight = cellHeight; in setCellDimensions() 111 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp() 114 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp() 135 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild() 138 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild()
|
H A D | CellLayout.java | 92 @Thunk int mCellHeight; field in CellLayout 245 mCellWidth = mCellHeight = -1; in CellLayout() 371 mFixedCellHeight = mCellHeight = height; in setCellDimensions() 570 mCellHeight - paddingY); in visualizeGrid() 610 int transY = y * mCellHeight + (y * mBorderSpace.y) in visualizeGrid() 807 result[1] = (y - vStartPadding) / mCellHeight; in pointToCellExact() 932 return mCellHeight; in getCellHeight() 954 if (cw != mCellWidth || ch != mCellHeight) { in onMeasure() 956 mCellHeight = ch; in onMeasure() 1248 pixelY -= mCellHeight * (spanY - 1) / 2f; in findNearestArea() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | TileLayout.java | 29 protected int mCellHeight; field in TileLayout 169 mCellHeight = record.tileView.getMeasuredHeight(); in onMeasure() 172 int height = (mCellHeight + mCellMarginVertical) * mRows; in onMeasure() 251 return (int) (row * (mCellHeight * mSquishinessFraction + mCellMarginVertical)); in getRowTop()
|
/aosp12/packages/apps/Gallery/src/com/android/camera/ |
H A 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()
|
/aosp12/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 152 private int mCellHeight; field in Keyboard 751 mCellHeight = (getHeight() + GRID_HEIGHT - 1) / GRID_HEIGHT; in computeNearestNeighbors() 755 final int gridHeight = GRID_HEIGHT * mCellHeight; in computeNearestNeighbors() 757 for (int y = 0; y < gridHeight; y += mCellHeight) { in computeNearestNeighbors() 763 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1) in computeNearestNeighbors() 765 key.squaredDistanceFrom(x, y + mCellHeight - 1) < mProximityThreshold) { in computeNearestNeighbors() 771 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell; in computeNearestNeighbors() 786 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth); in getNearestKeys()
|
/aosp12/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | proximity_info_state.h | 49 mKeyCount(0), mCellHeight(0), mCellWidth(0), mGridHeight(0), mGridWidth(0), in ProximityInfoState() 202 int mCellHeight; variable
|
H A D | proximity_info_state.cpp | 60 mCellHeight = proximityInfo->getCellHeight(); in initInputParams()
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 25498 Landroid/inputmethodservice/Keyboard;->mCellHeight:I
|