Searched defs:cellHeight (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DShortcutAndWidgetContainer.java51 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, argument
54 mCellHeight = cellHeight;
116 final int cellHeight = mCellHeight;
119 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), mCountX);
H A DPagedViewCellLayout.java462 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, argument
472 height = myCellVSpan * cellHeight + ((myCellVSpan - 1) * heightGap) -
477 y = vStartPadding + myCellY * (cellHeight + heightGap) + topMargin;
480 y = myCellY * (cellHeight + heightGap) + topMargin;
H A DAppsCustomizePagedView.java1099 int cellWidth, int cellHeight, int cellCountX) {
1117 AsyncTaskPageData pageData = new AsyncTaskPageData(page, widgets, cellWidth, cellHeight,
1175 final int cellHeight = ((contentHeight - mPageLayoutPaddingTop - mPageLayoutPaddingBottom
1230 lp.height = cellHeight;
1244 int maxPreviewHeight = cellHeight;
1098 prepareLoadWidgetPreviewsTask(int page, ArrayList<Object> widgets, int cellWidth, int cellHeight, int cellCountX) argument
H A DCellLayout.java307 int cellHeight = r.getDimensionPixelSize(R.dimen.workspace_cell_height);
311 return minGap * (numCells - 1) + cellHeight * numCells;
936 int cellHeight;
945 cellHeight = res.getDimensionPixelSize(R.dimen.workspace_cell_height_land);
955 cellHeight = res.getDimensionPixelSize(R.dimen.workspace_cell_height_port);
968 int vFreeSpace = vSpace - (countY * cellHeight);
972 metrics.set(cellWidth, cellHeight, widthGap, heightGap);
1193 // cellWidth/2 and cellHeight/2 when finding the matching cell
2966 final int cellHeight = mCellHeight;
2974 int height = cellVSpan * cellHeight
3255 setup(int cellWidth, int cellHeight, int widthGap, int heightGap, boolean invertHorizontally, int colCount) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DShortcutAndWidgetContainer.java54 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, argument
57 mCellHeight = cellHeight;
144 final int cellHeight = mCellHeight;
147 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(),
H A DPagedViewCellLayout.java457 int cellWidth, int cellHeight, int widthGap, int heightGap,
467 height = myCellVSpan * cellHeight + ((myCellVSpan - 1) * heightGap) -
472 y = vStartPadding + myCellY * (cellHeight + heightGap) + topMargin;
475 y = myCellY * (cellHeight + heightGap) + topMargin;
456 setup(Context context, int cellWidth, int cellHeight, int widthGap, int heightGap, int hStartPadding, int vStartPadding) argument
H A DAppsCustomizePagedView.java1030 int cellWidth, int cellHeight, int cellCountX) {
1048 AsyncTaskPageData pageData = new AsyncTaskPageData(page, widgets, cellWidth, cellHeight,
1110 final int cellHeight = contentHeight / mWidgetCountY;
1173 lp.height = cellHeight;
1185 int maxPreviewHeight = cellHeight;
1029 prepareLoadWidgetPreviewsTask(int page, ArrayList<Object> widgets, int cellWidth, int cellHeight, int cellCountX) argument
H A DCellLayout.java818 /** Return a rect that has the cellWidth/cellHeight (left, top), and
1071 // cellWidth/2 and cellHeight/2 when finding the matching cell
2879 final int cellHeight = mCellHeight;
2887 int height = cellVSpan * cellHeight + ((cellVSpan - 1) * heightGap);
2890 int y = vStartPadding + cellY * (cellHeight + heightGap);
3176 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, argument
3190 height = myCellVSpan * cellHeight + ((myCellVSpan - 1) * heightGap) -
3193 y = (int) (myCellY * (cellHeight + heightGap) + topMargin);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info_utils.h52 const int *const proximityCharsArray, const int cellHeight, const int cellWidth,
66 proximityCharsArray, cellHeight, cellWidth, gridWidth, mostCommonKeyWidth,
84 const int cellHeight, const int cellWidth, const int gridWidth) {
85 return ((y / cellHeight) * gridWidth + (x / cellWidth)) * MAX_PROXIMITY_CHARS_SIZE;
144 const int *const proximityCharsArray, const int cellHeight, const int cellWidth,
157 const int startIndex = getStartIndexFromCoordinates(x, y, cellHeight, cellWidth, gridWidth);
48 initializeProximities(const int *const inputCodes, const int *const inputXCoordinates, const int *const inputYCoordinates, const int inputSize, const int *const keyXCoordinates, const int *const keyYCoordinates, const int *const keyWidths, const int *keyHeights, const int *const proximityCharsArray, const int cellHeight, const int cellWidth, const int gridWidth, const int mostCommonKeyWidth, const int keyCount, const char *const localeStr, const std::unordered_map<int, int> *const codeToKeyMap, int *inputProximities) argument
83 getStartIndexFromCoordinates(const int x, const int y, const int cellHeight, const int cellWidth, const int gridWidth) argument
142 calculateProximities(const int *const keyXCoordinates, const int *const keyYCoordinates, const int *const keyWidths, const int *keyHeights, const int *const proximityCharsArray, const int cellHeight, const int cellWidth, const int gridWidth, const int mostCommonKeyWidth, const int keyCount, const int x, const int y, const int primaryKey, const char *const localeStr, const std::unordered_map<int, int> *const codeToKeyMap, int *proximities) argument

Completed in 676 milliseconds