Home
last modified time | relevance | path

Searched refs:CONTAINER_DESKTOP (Results 1 – 25 of 45) sorted by relevance

12

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DCellPosMapperTest.java18 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 …]
DCellLayoutTestUtils.java18 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/
DGridSizeMigrationUtilTest.kt115 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/
DLoaderCursorTest.java27 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()
DWorkspaceItemProcessorTest.kt34 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/
DCellPosMapper.java18 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/
DAutoInstallsLayoutTest.kt33 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/
DTestWorkspaceBuilder.java151 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/
DLauncherSettings.java173 public static final int CONTAINER_DESKTOP = -100; field in LauncherSettings.Favorites
195 case CONTAINER_DESKTOP: return "desktop"; in containerToString()
DDropTargetHandler.kt66 info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP && in getViewUnderDrag()
84 if (pageItem.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) in onDeleteComplete()
/packages/apps/Launcher3/tools/
Dprint_db.py18 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/
DPredictionHelper.java96 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/
DModelTestExtensions.kt12 import com.android.launcher3.LauncherSettings.Favorites.CONTAINER_DESKTOP in <lambda>()
60 container: Int = CONTAINER_DESKTOP, in <lambda>()
DWidgetUtils.java54 item.container = LauncherSettings.Favorites.CONTAINER_DESKTOP; in createWidgetInfo()
/packages/apps/Launcher3/tests/src/com/android/launcher3/celllayout/testgenerator/
DValidGridMigrationTestCaseGenerator.kt78 container = LauncherSettings.Favorites.CONTAINER_DESKTOP in <lambda>()
98 container = LauncherSettings.Favorites.CONTAINER_DESKTOP in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java414 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()
DShortcutMenuAccessibilityDelegate.java66 LauncherSettings.Favorites.CONTAINER_DESKTOP, in performAction()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DFirstScreenBroadcastHelper.kt27 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>()
DDatabaseHelper.java242 Favorites.CONTAINER, Favorites.CONTAINER_DESKTOP); in onUpgrade()
269 Favorites.CONTAINER, Favorites.CONTAINER_DESKTOP, in onUpgrade()
503 Favorites.CONTAINER_DESKTOP) + 1; in getNewScreenId()
DLoaderCursor.java461 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()
DModelUtils.java51 if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in filterCurrentWorkspaceItems()
DWorkspaceItemSpaceFinder.java51 if (info.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) { in findSpaceForItem()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLauncherLayoutBuilder.kt37 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/
DItemInfo.java20 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/
DRestoreDbTaskTest.java25 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()

12