/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/ |
D | CellPosMapperTest.java | 18 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP; 44 createInfo(0, 0, 0, CONTAINER_DESKTOP))).isEqualTo(new CellPos(0, 0, 0)); in testMapModelToPresenter_default() 46 createInfo(0, 0, 1, CONTAINER_DESKTOP))).isEqualTo(new CellPos(0, 0, 1)); in testMapModelToPresenter_default() 48 createInfo(5, 0, 1, CONTAINER_DESKTOP))).isEqualTo(new CellPos(5, 0, 1)); in testMapModelToPresenter_default() 50 createInfo(5, 0, 0, CONTAINER_DESKTOP))).isEqualTo(new CellPos(5, 0, 0)); in testMapModelToPresenter_default() 66 0, 0, 0, CONTAINER_DESKTOP)).isEqualTo(new CellPos(0, 0, 0)); in testMapPresenterToModel_default() 68 0, 0, 1, CONTAINER_DESKTOP)).isEqualTo(new CellPos(0, 0, 1)); in testMapPresenterToModel_default() 70 5, 0, 1, CONTAINER_DESKTOP)).isEqualTo(new CellPos(5, 0, 1)); in testMapPresenterToModel_default() 72 5, 0, 0, CONTAINER_DESKTOP)).isEqualTo(new CellPos(5, 0, 0)); in testMapPresenterToModel_default() 88 createInfo(0, 0, 0, CONTAINER_DESKTOP))).isEqualTo(new CellPos(0, 0, 0)); in testMapModelToPresenter_twoPanel() [all …]
|
D | CellLayoutTestUtils.java | 18 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP; 44 launcher.getWorkspace().getCellLayoutId(cellLayout), CONTAINER_DESKTOP); in workspaceToBoards()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/ |
D | GridSizeMigrationUtilTest.kt | 115 addItem(ITEM_TYPE_APPLICATION, 0, CONTAINER_DESKTOP, 4, 1, testPackage5, 5, TMP_TABLE) in <lambda>() 116 addItem(ITEM_TYPE_APPLICATION, 0, CONTAINER_DESKTOP, 2, 2, testPackage6, 6, TMP_TABLE) in <lambda>() 117 addItem(ITEM_TYPE_APPLICATION, 0, CONTAINER_DESKTOP, 4, 2, testPackage7, 7, TMP_TABLE) in <lambda>() 118 addItem(ITEM_TYPE_APPLICATION, 0, CONTAINER_DESKTOP, 2, 3, testPackage8, 8, TMP_TABLE) in <lambda>() 119 addItem(ITEM_TYPE_APPLICATION, 0, CONTAINER_DESKTOP, 4, 3, testPackage9, 9, TMP_TABLE) in <lambda>() 124 addItem(ITEM_TYPE_APPLICATION, 0, CONTAINER_DESKTOP, 2, 2, testPackage10) in <lambda>() 177 "container=$CONTAINER_DESKTOP", in <lambda>() 223 addItem(ITEM_TYPE_APPLICATION, 0, CONTAINER_DESKTOP, 4, 1, testPackage5, 5, TMP_TABLE) in <lambda>() 224 addItem(ITEM_TYPE_APPLICATION, 0, CONTAINER_DESKTOP, 2, 2, testPackage6, 6, TMP_TABLE) in <lambda>() 225 addItem(ITEM_TYPE_APPLICATION, 0, CONTAINER_DESKTOP, 4, 2, testPackage7, 7, TMP_TABLE) in <lambda>() [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | LoaderCursorTest.java | 27 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP; 121 .add(CONTAINER, CONTAINER_DESKTOP); in initCursor() 180 newItemInfo(4, 4, 1, 1, CONTAINER_DESKTOP, 1), true)); in checkItemPlacement_outsideBounds() 191 newItemInfo(0, 0, 1, 1, CONTAINER_DESKTOP, 1), true)); in checkItemPlacement_overlappingItems() 193 newItemInfo(0, 0, 1, 1, CONTAINER_DESKTOP, 1), true)); in checkItemPlacement_overlappingItems() 196 newItemInfo(0, 0, 1, 1, CONTAINER_DESKTOP, 2), true)); in checkItemPlacement_overlappingItems() 198 newItemInfo(0, 0, 1, 1, CONTAINER_DESKTOP, 2), true)); in checkItemPlacement_overlappingItems() 201 newItemInfo(1, 1, 1, 1, CONTAINER_DESKTOP, 1), true)); in checkItemPlacement_overlappingItems() 203 newItemInfo(2, 2, 2, 2, CONTAINER_DESKTOP, 1), true)); in checkItemPlacement_overlappingItems() 206 newItemInfo(3, 2, 1, 2, CONTAINER_DESKTOP, 1), true)); in checkItemPlacement_overlappingItems()
|
D | WorkspaceItemProcessorTest.kt | 34 import com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP 519 container = CONTAINER_DESKTOP in When valid TYPE_REAL App Widget then add item() 590 container = CONTAINER_DESKTOP in When valid Pending Widget then checkAndAddItem() 636 container = CONTAINER_DESKTOP in When Unrestored Pending App Widget then mark deleted() 687 container = CONTAINER_DESKTOP in When Pending App Widget has not started restore then update db and add item() 771 container = CONTAINER_DESKTOP in When Archived Pending App Widget then checkAndAddItem() 819 container = CONTAINER_DESKTOP in When widget inflation result is TYPE_DELETE then mark deleted()
|
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/ |
D | CellPosMapper.java | 18 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP; 74 if (info.container != CONTAINER_DESKTOP || (info.screenId % 2) == 0) { in mapModelToPresenter() 83 if (container == CONTAINER_DESKTOP && (presenterScreen % 2) == 0 in mapPresenterToModel()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ |
D | AutoInstallsLayoutTest.kt | 33 import com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP 106 assertThat(callback.items[0][CONTAINER]).isEqualTo(CONTAINER_DESKTOP) in pending_icon_added_on_home() 133 assertThat(callback.items[0][CONTAINER]).isEqualTo(CONTAINER_DESKTOP) in widget_added_to_home() 190 assertThat(callback.items[0][CONTAINER]).isEqualTo(CONTAINER_DESKTOP) in work_item_added_to_home()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/board/ |
D | TestWorkspaceBuilder.java | 151 folderInfo.container = LauncherSettings.Favorites.CONTAINER_DESKTOP; in createFolderInCell() 168 item.container = LauncherSettings.Favorites.CONTAINER_DESKTOP; in getDefaultWorkspaceItem() 178 item.container = LauncherSettings.Favorites.CONTAINER_DESKTOP; in createIconInCell()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherSettings.java | 173 public static final int CONTAINER_DESKTOP = -100; field in LauncherSettings.Favorites 195 case CONTAINER_DESKTOP: return "desktop"; in containerToString()
|
D | DropTargetHandler.kt | 66 info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP && in getViewUnderDrag() 84 if (pageItem.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) in onDeleteComplete()
|
/packages/apps/Launcher3/tools/ |
D | print_db.py | 18 CONTAINER_DESKTOP = -100 variable 170 if d["container"] == CONTAINER_DESKTOP: 260 if row["container"] != CONTAINER_DESKTOP:
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | PredictionHelper.java | 96 info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP in isTrackedForHotseatPrediction() 122 && info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP; in isTrackedForWidgetPrediction()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | ModelTestExtensions.kt | 12 import com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP in <lambda>() 60 container: Int = CONTAINER_DESKTOP, in <lambda>()
|
D | WidgetUtils.java | 54 item.container = LauncherSettings.Favorites.CONTAINER_DESKTOP; in createWidgetInfo()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/celllayout/testgenerator/ |
D | ValidGridMigrationTestCaseGenerator.kt | 78 container = LauncherSettings.Favorites.CONTAINER_DESKTOP in <lambda>() 98 container = LauncherSettings.Favorites.CONTAINER_DESKTOP in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | LauncherAccessibilityDelegate.java | 414 LauncherSettings.Favorites.CONTAINER_DESKTOP, in addToWorkspace() 429 mContext.addPendingItem(info, LauncherSettings.Favorites.CONTAINER_DESKTOP, in addToWorkspace() 439 LauncherSettings.Favorites.CONTAINER_DESKTOP, in addToWorkspace() 446 LauncherSettings.Favorites.CONTAINER_DESKTOP, screenId, coordinates[0], in addToWorkspace() 496 LauncherSettings.Favorites.CONTAINER_DESKTOP, in moveToWorkspace()
|
D | ShortcutMenuAccessibilityDelegate.java | 66 LauncherSettings.Favorites.CONTAINER_DESKTOP, in performAction()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | FirstScreenBroadcastHelper.kt | 27 import com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP in <lambda>() 244 info.container == CONTAINER_DESKTOP -> pendingWorkspaceItems.add(packageName) in <lambda>() 260 CONTAINER_DESKTOP -> installedWorkspaceItems.add(packageName) in <lambda>()
|
D | DatabaseHelper.java | 242 Favorites.CONTAINER, Favorites.CONTAINER_DESKTOP); in onUpgrade() 269 Favorites.CONTAINER, Favorites.CONTAINER_DESKTOP, in onUpgrade() 503 Favorites.CONTAINER_DESKTOP) + 1; in getNewScreenId()
|
D | LoaderCursor.java | 461 return container == Favorites.CONTAINER_DESKTOP || container == Favorites.CONTAINER_HOTSEAT; in isOnWorkspaceOrHotseat() 538 } else if (item.container != Favorites.CONTAINER_DESKTOP) { in checkItemPlacement() 545 if (item.container == Favorites.CONTAINER_DESKTOP && item.cellX < 0 || item.cellY < 0 in checkItemPlacement()
|
D | ModelUtils.java | 51 if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in filterCurrentWorkspaceItems()
|
D | WorkspaceItemSpaceFinder.java | 51 if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in findSpaceForItem()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | LauncherLayoutBuilder.kt | 37 import com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP in <lambda>() 60 ATTR_CONTAINER to containerToString(CONTAINER_DESKTOP), in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | ItemInfo.java | 20 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP; 412 case CONTAINER_DESKTOP: in buildProto() 453 case CONTAINER_DESKTOP: in getContainerInfo()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/ |
D | RestoreDbTaskTest.java | 25 import static com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP; 308 values.put(LauncherSettings.Favorites.CONTAINER, CONTAINER_DESKTOP); in addIconsBulk() 351 values.put(Favorites.CONTAINER, CONTAINER_DESKTOP); in runRemoveScreenIdGapsTest()
|