Home
last modified time | relevance | path

Searched refs:numDatabaseHotseatIcons (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DGridSizeMigrationTaskV2Test.java123 mIdp.numDatabaseHotseatIcons = 4; in testMigration()
131 mIdp.numDatabaseHotseatIcons); in testMigration()
133 destReader, mIdp.numDatabaseHotseatIcons, new Point(mIdp.numColumns, mIdp.numRows)); in testMigration()
140 assertEquals(c.getCount(), mIdp.numDatabaseHotseatIcons); in testMigration()
203 mIdp.numDatabaseHotseatIcons = 6; in migrateToLargerHotseat()
211 mIdp.numDatabaseHotseatIcons); in migrateToLargerHotseat()
213 destReader, mIdp.numDatabaseHotseatIcons, new Point(mIdp.numColumns, mIdp.numRows)); in migrateToLargerHotseat()
251 mIdp.numDatabaseHotseatIcons = 4; in migrateFromLargerHotseat()
259 mIdp.numDatabaseHotseatIcons); in migrateFromLargerHotseat()
261 destReader, mIdp.numDatabaseHotseatIcons, new Point(mIdp.numColumns, mIdp.numRows)); in migrateFromLargerHotseat()
[all …]
DLoaderCursorTest.java163 mIDP.numDatabaseHotseatIcons = 3; in checkItemPlacement_outsideBounds()
174 mIDP.numDatabaseHotseatIcons = 3; in checkItemPlacement_overlappingItems()
200 mIDP.numDatabaseHotseatIcons = 3; in checkItemPlacement_hotseat()
DGridSizeMigrationTaskTest.java67 mIdp.numDatabaseHotseatIcons = 3; in testHotseatMigration_apps_dropped()
84 mIdp.numDatabaseHotseatIcons = 3; in testHotseatMigration_shortcuts_dropped()
DBackupRestoreTest.java130 new GridBackupTable(RuntimeEnvironment.application, mDb, mIdp.numDatabaseHotseatIcons, in setupBackup()
/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java125 public int numDatabaseHotseatIcons; field in InvariantDeviceProfile
169 numDatabaseHotseatIcons = p.numDatabaseHotseatIcons; in InvariantDeviceProfile()
194 .putInt(KEY_MIGRATION_SRC_HOTSEAT_COUNT, numDatabaseHotseatIcons) in InvariantDeviceProfile()
305 numDatabaseHotseatIcons = isSplitDisplay in initGrid()
306 ? closestProfile.numDatabaseHotseatIcons : closestProfile.numHotseatIcons; in initGrid()
604 private final int numDatabaseHotseatIcons; field in InvariantDeviceProfile.GridOption
636 numDatabaseHotseatIcons = a.getInt( in GridOption()
DAutoInstallsLayout.java92 grid.numColumns, grid.numRows, grid.numDatabaseHotseatIcons); in get()
DDeviceProfile.java327 isTwoPanels ? inv.numDatabaseHotseatIcons : inv.numShownHotseatIcons; in DeviceProfile()
DLauncherProvider.java622 .appendQueryParameter("hotseatSize", Integer.toString(grid.numDatabaseHotseatIcons)) in getLayoutUri()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatRestoreHelper.java47 transaction.getDb(), idp.numDatabaseHotseatIcons, idp.numColumns, in createBackup()
72 transaction.getDb(), idp.numDatabaseHotseatIcons, idp.numColumns, in restoreBackup()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTaskV2.java113 || idp.numDatabaseHotseatIcons != prefs.getInt(KEY_MIGRATION_SRC_HOTSEAT_COUNT, -1); in needsToMigrate()
152 idp.numDatabaseHotseatIcons); in migrateGridIfNeeded()
181 context, validPackages, idp.numDatabaseHotseatIcons); in migrateGridIfNeeded()
185 srcReader, destReader, idp.numDatabaseHotseatIcons, targetSize); in migrateGridIfNeeded()
206 .putInt(KEY_MIGRATION_SRC_HOTSEAT_COUNT, idp.numDatabaseHotseatIcons) in migrateGridIfNeeded()
DLoaderCursor.java419 if (item.screenId >= mIDP.numDatabaseHotseatIcons) { in checkItemPlacement()
422 + ", position out of bounds: (0 to " + (mIDP.numDatabaseHotseatIcons - 1) in checkItemPlacement()
438 final GridOccupancy occupancy = new GridOccupancy(mIDP.numDatabaseHotseatIcons, 1); in checkItemPlacement()
DGridSizeMigrationTask.java896 || idp.numDatabaseHotseatIcons != prefs.getInt(KEY_MIGRATION_SRC_HOTSEAT_COUNT, -1);
931 idp.numDatabaseHotseatIcons);
951 if (srcHotseatCount != idp.numDatabaseHotseatIcons
954 idp.numDatabaseHotseatIcons).migrateHotseat()) {
994 .putInt(KEY_MIGRATION_SRC_HOTSEAT_COUNT, idp.numDatabaseHotseatIcons)
DModelWriter.java94 ? LauncherAppState.getIDP(mContext).numDatabaseHotseatIcons - cellY - 1 : cellX; in updateItemInfoProps()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java106 new GridBackupTable(context, db, idp.numDatabaseHotseatIcons, idp.numColumns, idp.numRows) in backupWorkspace()
114 GridBackupTable backupTable = new GridBackupTable(context, db, idp.numDatabaseHotseatIcons, in restoreWorkspace()
DImportDataTask.java289 int myHotseatCount = LauncherAppState.getIDP(mContext).numDatabaseHotseatIcons; in importWorkspaceItems()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DQuickstepModelDelegate.java113 new WorkspaceItemFactory(mApp, ums, pinnedShortcuts, mIDP.numDatabaseHotseatIcons); in loadItems()
213 .setPredictedTargetCount(mIDP.numDatabaseHotseatIcons) in recreatePredictors()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/
DLauncherModelHelper.java358 idp.numRows = idp.numColumns = idp.numDatabaseHotseatIcons = DEFAULT_GRID_SIZE; in setupDefaultLayoutProvider()