Searched refs:countX (Results 1 - 12 of 12) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | GridOccupancy.java | 17 public GridOccupancy(int countX, int countY) { argument 18 mCountX = countX; 20 cells = new boolean[countX][countY];
|
H A D | FocusLogic.java | 501 private static boolean isValid(int xPos, int yPos, int countX, int countY) { argument 502 return (0 <= xPos && xPos < countX && 0 <= yPos && yPos < countY);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | Folder.java | 343 final int countX = mContent.getCountX(); 345 int x = i % countX; 346 int y = i / countX; 764 int countX = mContent.getCountX(); 769 int oldCountX = countX; 771 if (countX * countY < count) { 773 if ((countX <= countY || countY == mMaxCountY) && countX < mMaxCountX) { 774 countX++; 779 } else if ((countY - 1) * countX > [all...] |
H A D | ShortcutAndWidgetContainer.java | 52 int countX) { 57 mCountX = countX; 51 setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, int countX) argument
|
H A D | FocusHelper.java | 282 int countX; 287 countX = ((PagedViewCellLayout) parentLayout).getCellCountX(); 291 countX = ((PagedViewGridLayout) parentLayout).getCellCountX(); 305 final int x = iconIndex % countX; 306 final int y = iconIndex / countX; 356 int newiconIndex = ((y - 1) * countX) + x; 368 int newiconIndex = Math.min(itemCount - 1, ((y + 1) * countX) + x);
|
H A D | AppWidgetResizeFrame.java | 241 int countX = mCellLayout.getCountX(); 275 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc);
|
H A D | CellLayout.java | 929 int countX, int countY, int orientation) { 930 int numWidthGaps = countX - 1; 967 int hFreeSpace = hSpace - (countX * cellWidth); 1189 final int countX = mCountX; 1197 int rightOverhang = result[0] + spanX - countX; 1392 final int countX = mCountX; 1402 for (int x = 0; x < countX - (minSpanX - 1); x++) { 1426 if (x + xSize > countX -1 || occupied[x + xSize][y + j]) { 1525 final int countX = mCountX; 1530 for (int x = 0; x < countX 928 getMetrics(Rect metrics, Resources res, int measureWidth, int measureHeight, int countX, int countY, int orientation) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | LoaderCursor.java | 435 final int countX = mIDP.numColumns; 439 item.cellX + item.spanX > countX || item.cellY + item.spanY > countY) { 443 + ") out of screen bounds ( " + countX + "x" + countY + ")"); 448 GridOccupancy screen = new GridOccupancy(countX + 1, countY + 1); 452 screen.markCells(0, 0, countX + 1, 1, FeatureFlags.QSB_ON_FIRST_SCREEN);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | FocusHelper.java | 551 int countX = cellLayout.getCountX(); 554 for (int x = isRtl ? countX - 1 : 0; 0 <= x && x < countX; x += increment) { 566 int countX = cellLayout.getCountX(); 569 for (int x = isRtl ? 0 : countX - 1; 0 <= x && x < countX; x += increment) {
|
H A D | ShortcutAndWidgetContainer.java | 52 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY) { argument 55 mCountX = countX;
|
H A D | DeviceProfile.java | 485 public static int calculateCellWidth(int width, int countX) { argument 486 return width / countX;
|
H A D | CellLayout.java | 1152 final int countX = mCountX; 1162 for (int x = 0; x < countX - (minSpanX - 1); x++) { 1186 if (x + xSize > countX -1 || mOccupied.cells[x + xSize][y + j]) { 1280 final int countX = mCountX; 1285 for (int x = 0; x < countX - (spanX - 1); x++) {
|
Completed in 194 milliseconds