Home
last modified time | relevance | path

Searched refs:numHotseatIcons (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java111 public int numHotseatIcons; field in InvariantDeviceProfile
138 numHotseatIcons = p.numHotseatIcons; in InvariantDeviceProfile()
198 numHotseatIcons = closestProfile.numHotseatIcons; in initGrid()
300 numHotseatIcons != oldProfile.numHotseatIcons) { in onConfigChanged()
493 private final int numHotseatIcons; field in InvariantDeviceProfile.GridOption
511 numHotseatIcons = a.getInt( in GridOption()
DHotseat.java66 setGridSize(1, idp.numHotseatIcons); in resetLayout()
68 setGridSize(idp.numHotseatIcons, 1); in resetLayout()
DDeviceProfile.java497 float hotseatCellWidth = (float) widthPx / inv.numHotseatIcons; in getHotseatLayoutPadding()
DAutoInstallsLayout.java86 grid.numColumns, grid.numRows, grid.numHotseatIcons); in get()
DLauncherProvider.java533 .appendQueryParameter("hotseatSize", Integer.toString(grid.numHotseatIcons)) in createWorkspaceLoaderFromAppRestriction()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DLoaderCursorTest.java151 mIDP.numHotseatIcons = 3; in checkItemPlacement_outsideBounds()
162 mIDP.numHotseatIcons = 3; in checkItemPlacement_overlappingItems()
188 mIDP.numHotseatIcons = 3; in checkItemPlacement_hotseat()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java892 idp.numHotseatIcons == prefs.getInt(KEY_MIGRATION_SRC_HOTSEAT_COUNT,
893 idp.numHotseatIcons)) {
904 idp.numHotseatIcons);
919 if (srcHotseatCount != idp.numHotseatIcons) {
922 validPackages, srcHotseatCount, idp.numHotseatIcons).migrateHotseat();
957 .putInt(KEY_MIGRATION_SRC_HOTSEAT_COUNT, idp.numHotseatIcons)
DLoaderCursor.java399 if (item.screenId >= mIDP.numHotseatIcons) { in checkItemPlacement()
402 + ", position out of bounds: (0 to " + (mIDP.numHotseatIcons - 1) in checkItemPlacement()
418 final GridOccupancy occupancy = new GridOccupancy(mIDP.numHotseatIcons, 1); in checkItemPlacement()
DModelWriter.java92 ? LauncherAppState.getIDP(mContext).numHotseatIcons - cellY - 1 : cellX; in updateItemInfoProps()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DGridSizeMigrationTaskTest.java56 mIdp.numHotseatIcons = 3; in testHotseatMigration_apps_dropped()
73 mIdp.numHotseatIcons = 3; in testHotseatMigration_shortcuts_dropped()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAppsSearchContainerLayout.java117 int cellWidth = DeviceProfile.calculateCellWidth(rowWidth, dp.inv.numHotseatIcons); in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java245 for (int i = 0; i < mIdp.numHotseatIcons; i++) {
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DImportDataTask.java288 int myHotseatCount = LauncherAppState.getIDP(mContext).numHotseatIcons; in importWorkspaceItems()