HomeSort by relevance Sort by last modified time
    Searched refs:countX (Results 1 - 15 of 15) sorted by null

  /packages/apps/Launcher3/src/com/android/launcher3/util/
GridOccupancy.java 17 public GridOccupancy(int countX, int countY) {
18 mCountX = countX;
20 cells = new boolean[countX][countY];
FocusLogic.java 503 private static boolean isValid(int xPos, int yPos, int countX, int countY) {
504 return (0 <= xPos && xPos < countX && 0 <= yPos && yPos < countY);
  /packages/apps/Launcher2/src/com/android/launcher2/
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 >= count && countY >= countX)
    [all...]
ShortcutAndWidgetContainer.java 52 int countX) {
57 mCountX = countX;
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);
    [all...]
AppWidgetResizeFrame.java 241 int countX = mCellLayout.getCountX();
275 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc);
CellLayout.java     [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/model/
LoaderCursor.java 436 final int countX = mIDP.numColumns;
440 item.cellX + item.spanX > countX || item.cellY + item.spanY > countY) {
444 + ") out of screen bounds ( " + countX + "x" + countY + ")");
449 GridOccupancy screen = new GridOccupancy(countX + 1, countY + 1);
453 screen.markCells(0, 0, countX + 1, 1, FeatureFlags.QSB_ON_FIRST_SCREEN);
  /packages/apps/Launcher3/src/com/android/launcher3/
FocusHelper.java 540 int countX = cellLayout.getCountX();
543 for (int x = isRtl ? countX - 1 : 0; 0 <= x && x < countX; x += increment) {
555 int countX = cellLayout.getCountX();
558 for (int x = isRtl ? 0 : countX - 1; 0 <= x && x < countX; x += increment) {
ShortcutAndWidgetContainer.java 56 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY) {
59 mCountX = countX;
DeviceProfile.java 509 public static int calculateCellWidth(int width, int countX) {
510 return width / countX;
CellLayout.java     [all...]
  /external/skia/src/core/
SkEdgeClipper.cpp 228 int countX = SkChopQuadAtXExtrema(&monoY[y * 2], monoX);
229 for (int x = 0; x <= countX; x++) {
431 int countX = SkChopCubicAtXExtrema(&monoY[y * 3], monoX);
432 for (int x = 0; x <= countX; x++) {
  /external/skqp/src/core/
SkEdgeClipper.cpp 228 int countX = SkChopQuadAtXExtrema(&monoY[y * 2], monoX);
229 for (int x = 0; x <= countX; x++) {
431 int countX = SkChopCubicAtXExtrema(&monoY[y * 3], monoX);
432 for (int x = 0; x <= countX; x++) {
  /packages/apps/Launcher3/src/com/android/launcher3/folder/
FolderPagedView.java 115 * The grid size is calculated such that countY <= countX and countX = ceil(sqrt(count)) while
118 public static void calculateGridSize(int count, int countX, int countY, int maxCountX,
121 int gridCountX = countX;

Completed in 280 milliseconds