Home
last modified time | relevance | path

Searched refs:workspaceItemInfo (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DItemInflaterTest.kt116 val itemInfo = workspaceItemInfo() in <lambda>()
128 val itemInfo = workspaceItemInfo() in <lambda>()
142 itemInfo.add(workspaceItemInfo()) in <lambda>()
143 itemInfo.add(workspaceItemInfo()) in <lambda>()
144 itemInfo.add(workspaceItemInfo()) in <lambda>()
158 itemInfo.add(workspaceItemInfo()) in <lambda>()
159 itemInfo.add(workspaceItemInfo()) in <lambda>()
160 itemInfo.add(workspaceItemInfo()) in <lambda>()
176 itemInfo.add(workspaceItemInfo()) in <lambda>()
177 itemInfo.add(workspaceItemInfo()) in <lambda>()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/appprediction/
DInstantAppItemInfo.java47 WorkspaceItemInfo workspaceItemInfo = super.makeWorkspaceItem(context); in makeWorkspaceItem() local
48 workspaceItemInfo.itemType = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION; in makeWorkspaceItem()
49 workspaceItemInfo.status = WorkspaceItemInfo.FLAG_AUTOINSTALL_ICON in makeWorkspaceItem()
52 workspaceItemInfo.getIntent().setPackage(componentName.getPackageName()); in makeWorkspaceItem()
53 return workspaceItemInfo; in makeWorkspaceItem()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DAppInfo.java146 WorkspaceItemInfo workspaceItemInfo = new WorkspaceItemInfo(this); in makeWorkspaceItem() local
150 workspaceItemInfo.status |= WorkspaceItemInfo.FLAG_AUTOINSTALL_ICON; in makeWorkspaceItem()
153 workspaceItemInfo.status |= WorkspaceItemInfo.FLAG_RESTORE_STARTED; in makeWorkspaceItem()
154 workspaceItemInfo.status |= FLAG_INSTALL_SESSION_ACTIVE; in makeWorkspaceItem()
157 workspaceItemInfo.runtimeStatusFlags |= FLAG_INCREMENTAL_DOWNLOAD_ACTIVE; in makeWorkspaceItem()
160 return workspaceItemInfo; in makeWorkspaceItem()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DShortcutsChangedTask.java113 .forEach(workspaceItemInfo -> { in execute()
114 workspaceItemInfo.updateFromDeepShortcutInfo(fullDetails, context); in execute()
115 app.getIconCache().getShortcutIcon(workspaceItemInfo, fullDetails); in execute()
116 updatedWorkspaceItemInfos.add(workspaceItemInfo); in execute()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/splitscreen/
DSplitShortcut.kt58 val workspaceItemInfo = mItemInfo constant
59 bitmap = workspaceItemInfo.bitmap.icon
60 intent = workspaceItemInfo.intent
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionController.java327 WorkspaceItemInfo workspaceItemInfo = new WorkspaceItemInfo((WorkspaceItemInfo) info); in pinPrediction() local
328 mLauncher.getModelWriter().addItemToDatabase(workspaceItemInfo, in pinPrediction()
329 LauncherSettings.Favorites.CONTAINER_HOTSEAT, workspaceItemInfo.screenId, in pinPrediction()
330 workspaceItemInfo.cellX, workspaceItemInfo.cellY); in pinPrediction()
332 icon.pin(workspaceItemInfo); in pinPrediction()
334 .withItemInfo(workspaceItemInfo) in pinPrediction()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSplitToWorkspaceController.java118 final WorkspaceItemInfo workspaceItemInfo = (WorkspaceItemInfo) tag; in handleSecondAppSelectionForSplit() local
119 intent = workspaceItemInfo.intent; in handleSecondAppSelectionForSplit()
120 user = workspaceItemInfo.user; in handleSecondAppSelectionForSplit()
121 bitmapInfo = workspaceItemInfo.bitmap; in handleSecondAppSelectionForSplit()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DDesktopSystemShortcutTest.kt67 private val workspaceItemInfo: WorkspaceItemInfo = mock() constant in com.android.quickstep.DesktopSystemShortcutTest
128 doReturn(workspaceItemInfo).whenever(taskContainer).itemInfo in createDesktopTaskShortcutFactory_desktopModeEnabled_DeviceNotSupported_OverrideEnabled()
160 doReturn(workspaceItemInfo).whenever(taskContainer).itemInfo in desktopSystemShortcutClicked()
179 verify(statsLogger).withItemInfo(workspaceItemInfo) in desktopSystemShortcutClicked()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarPopupController.java294 WorkspaceItemInfo workspaceItemInfo = (WorkspaceItemInfo) mItemInfo; in onClick() local
296 workspaceItemInfo.getIntent().getPackage(), in onClick()
297 workspaceItemInfo.getDeepShortcutId(), in onClick()
300 workspaceItemInfo.user, in onClick()
/packages/apps/Launcher3/tests/src/com/android/launcher3/popup/
DSystemShortcutTest.java289 WorkspaceItemInfo workspaceItemInfo = new WorkspaceItemInfo(mAppInfo); in testInstallGetShortcutWithWorkSpaceItemInfo() local
290 workspaceItemInfo.status = FLAG_SUPPORTS_WEB_UI; in testInstallGetShortcutWithWorkSpaceItemInfo()
292 mTestContext, workspaceItemInfo, mView); in testInstallGetShortcutWithWorkSpaceItemInfo()