/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Folder.java | 765 int countY = mContent.getCountY(); in setupContentDimensions() local 770 int oldCountY = countY; in setupContentDimensions() 771 if (countX * countY < count) { in setupContentDimensions() 773 if ((countX <= countY || countY == mMaxCountY) && countX < mMaxCountX) { in setupContentDimensions() 775 } else if (countY < mMaxCountY) { in setupContentDimensions() 776 countY++; in setupContentDimensions() 778 if (countY == 0) countY++; in setupContentDimensions() 779 } else if ((countY - 1) * countX >= count && countY >= countX) { in setupContentDimensions() 780 countY = Math.max(0, countY - 1); in setupContentDimensions() 781 } else if ((countX - 1) * countY >= count) { in setupContentDimensions() [all …]
|
D | CellLayout.java | 929 int countX, int countY, int orientation) { in getMetrics() argument 931 int numHeightGaps = countY - 1; in getMetrics() 968 int vFreeSpace = vSpace - (countY * cellHeight); in getMetrics() 1190 final int countY = mCountY; in estimateDropCell() local 1202 int bottomOverhang = result[1] + spanY - countY; in estimateDropCell() 1393 final int countY = mCountY; in findNearestArea() local 1400 for (int y = 0; y < countY - (minSpanY - 1); y++) { in findNearestArea() 1436 if (y + ySize > countY - 1 || occupied[x + i][y + ySize]) { in findNearestArea() 1526 final int countY = mCountY; in findNearestArea() local 1528 for (int y = 0; y < countY - (spanY - 1); y++) { in findNearestArea()
|
D | FocusHelper.java | 283 int countY; in handleAppsCustomizeKeyEvent() local 288 countY = ((PagedViewCellLayout) parentLayout).getCellCountY(); in handleAppsCustomizeKeyEvent() 292 countY = ((PagedViewGridLayout) parentLayout).getCellCountY(); in handleAppsCustomizeKeyEvent() 367 if (y < (countY - 1)) { in handleAppsCustomizeKeyEvent()
|
D | AppWidgetResizeFrame.java | 242 int countY = mCellLayout.getCountY(); in resizeWidgetIfNeeded() local 288 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc); in resizeWidgetIfNeeded()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Folder.java | 963 int countY = mContent.getCountY(); in setupContentDimensions() local 968 int oldCountY = countY; in setupContentDimensions() 969 if (countX * countY < count) { in setupContentDimensions() 971 if ((countX <= countY || countY == mMaxCountY) && countX < mMaxCountX) { in setupContentDimensions() 973 } else if (countY < mMaxCountY) { in setupContentDimensions() 974 countY++; in setupContentDimensions() 976 if (countY == 0) countY++; in setupContentDimensions() 977 } else if ((countY - 1) * countX >= count && countY >= countX) { in setupContentDimensions() 978 countY = Math.max(0, countY - 1); in setupContentDimensions() 979 } else if ((countX - 1) * countY >= count) { in setupContentDimensions() [all …]
|
D | FocusHelper.java | 79 int countY; in handleAppsCustomizeKeyEvent() local 84 countY = ((CellLayout) parentLayout).getCountY(); in handleAppsCustomizeKeyEvent() 88 countY = ((PagedViewGridLayout) parentLayout).getCellCountY(); in handleAppsCustomizeKeyEvent() 168 if (y < (countY - 1)) { in handleAppsCustomizeKeyEvent()
|
D | CellLayout.java | 821 int paddedMeasureHeight, int countX, int countY) { in getMetrics() argument 825 grid.calculateCellHeight(paddedMeasureHeight, countY), 0, 0); in getMetrics() 1068 final int countY = mCountY; in estimateDropCell() local 1080 int bottomOverhang = result[1] + spanY - countY; in estimateDropCell() 1267 final int countY = mCountY; in findNearestArea() local 1274 for (int y = 0; y < countY - (minSpanY - 1); y++) { in findNearestArea() 1310 if (y + ySize > countY - 1 || occupied[x + i][y + ySize]) { in findNearestArea() 1400 final int countY = mCountY; in findNearestArea() local 1402 for (int y = 0; y < countY - (spanY - 1); y++) { in findNearestArea()
|
D | ShortcutAndWidgetContainer.java | 55 int countX, int countY) { in setCellDimensions() argument 61 mCountY = countY; in setCellDimensions()
|
D | AppWidgetResizeFrame.java | 239 int countY = mCellLayout.getCountY(); in resizeWidgetIfNeeded() local 285 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc); in resizeWidgetIfNeeded()
|
D | LauncherModel.java | 1733 final int countY = (int) grid.numRows; in checkItemPlacement() local 1781 ItemInfo[][] items = new ItemInfo[countX + 1][countY + 1]; in checkItemPlacement() 1788 item.cellX + item.spanX > countX || item.cellY + item.spanY > countY) { in checkItemPlacement() 1792 + ") out of screen bounds ( " + countX + "x" + countY + ")"); in checkItemPlacement() 1849 int countY = (int) grid.numRows; in loadWorkspace() local 2408 for (int y = 0; y < countY; y++) { in loadWorkspace()
|
D | DeviceProfile.java | 669 int calculateCellHeight(int height, int countY) { in calculateCellHeight() argument 670 return height / countY; in calculateCellHeight()
|
D | Workspace.java | 3310 int countY = (int) grid.numRows; 3319 grid.calculateCellHeight(height, countY), 0, 0); 3330 grid.calculateCellHeight(height, countY), 0, 0);
|