Home
last modified time | relevance | path

Searched refs:itemInfoWithIcon (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/data/
DItemInfoWithIconTest.kt34 private lateinit var itemInfoWithIcon: ItemInfoWithIcon variable in com.android.launcher3.model.data.ItemInfoWithIconTest
38 itemInfoWithIcon = in setup()
53 Truth.assertThat(itemInfoWithIcon.isDisabled).isFalse() in itemInfoWithIconDefaultParamsTest()
54 Truth.assertThat(itemInfoWithIcon.isPendingDownload).isFalse() in itemInfoWithIconDefaultParamsTest()
55 Truth.assertThat(itemInfoWithIcon.isArchived).isFalse() in itemInfoWithIconDefaultParamsTest()
60 itemInfoWithIcon.setProgressLevel(0, PackageInstallInfo.STATUS_INSTALLING) in isDisabledOrPendingTest()
61 Truth.assertThat(itemInfoWithIcon.isDisabled).isFalse() in isDisabledOrPendingTest()
62 Truth.assertThat(itemInfoWithIcon.isPendingDownload).isTrue() in isDisabledOrPendingTest()
64 itemInfoWithIcon.setProgressLevel(1, PackageInstallInfo.STATUS_INSTALLING) in isDisabledOrPendingTest()
65 Truth.assertThat(itemInfoWithIcon.isDisabled).isFalse() in isDisabledOrPendingTest()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemClickHandler.java401 if (item instanceof ItemInfoWithIcon itemInfoWithIcon) { in startAppShortcutOrInfoActivity()
402 if ((itemInfoWithIcon.runtimeStatusFlags in startAppShortcutOrInfoActivity()
405 itemInfoWithIcon.getTargetComponent().getPackageName(), in startAppShortcutOrInfoActivity()
407 } else if (itemInfoWithIcon.itemType in startAppShortcutOrInfoActivity()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragController.java231 || !(mDragObject.dragInfo instanceof ItemInfoWithIcon itemInfoWithIcon) in isItemPinnable()
232 || (itemInfoWithIcon.runtimeStatusFlags & FLAG_NOT_PINNABLE) == 0; in isItemPinnable()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java221 || !(itemInfo instanceof ItemInfoWithIcon itemInfoWithIcon) in configureForLauncher()
222 || (itemInfoWithIcon.runtimeStatusFlags & FLAG_NOT_PINNABLE) == 0) { in configureForLauncher()