/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | SystemShortcut.java | 50 public SystemShortcut(int iconResId, int labelResId, T target, ItemInfo itemInfo) { in SystemShortcut() argument 55 mItemInfo = itemInfo; in SystemShortcut() 94 @Nullable SystemShortcut<T> getShortcut(T activity, ItemInfo itemInfo); in getShortcut() argument 97 public static final Factory<Launcher> WIDGETS = (launcher, itemInfo) -> { 98 if (itemInfo.getTargetComponent() == null) return null; 101 itemInfo.getTargetComponent().getPackageName(), itemInfo.user)); 105 return new Widgets(launcher, itemInfo); 109 public Widgets(Launcher target, ItemInfo itemInfo) { in Widgets() argument 110 super(R.drawable.ic_widget, R.string.widget_button_text, target, itemInfo); in Widgets() 131 public AppInfo(BaseDraggingActivity target, ItemInfo itemInfo) { in AppInfo() argument [all …]
|
D | PopupContainerWithArrow.java | 467 ItemInfoWithIcon itemInfo = (ItemInfoWithIcon) mOriginalIcon.getTag(); 468 DotInfo dotInfo = mLauncher.getDotInfoForItem(itemInfo); 471 dotInfo.getNotificationCount(), itemInfo.bitmap.color); 562 ItemInfo itemInfo = (ItemInfo) mOriginalIcon.getTag(); 563 SystemShortcut widgetInfo = SystemShortcut.WIDGETS.getShortcut(mLauncher, itemInfo); 604 ItemInfo itemInfo = (ItemInfo) mOriginalIcon.getTag(); 605 PackageUserKey packageUser = PackageUserKey.fromItemInfo(itemInfo); 680 WorkspaceItemInfo itemInfo = sv.getFinalInfo(); 681 itemInfo.container = CONTAINER_SHORTCUTS; 683 mContainer, itemInfo,
|
D | RemoteActionShortcut.java | 50 BaseDraggingActivity activity, ItemInfo itemInfo) { in RemoteActionShortcut() argument 51 super(0, R.id.action_remote_action_shortcut, activity, itemInfo); in RemoteActionShortcut()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/ |
D | HotseatPredictionController.java | 520 public void folderCreatedFromWorkspaceItem(ItemInfo itemInfo, FolderInfo folderInfo) { in folderCreatedFromWorkspaceItem() argument 522 AppTarget itemTarget = mPredictionModel.getAppTargetFromInfo(itemInfo); in folderCreatedFromWorkspaceItem() 539 public void folderConvertedToWorkspaceItem(ItemInfo itemInfo, FolderInfo folderInfo) { in folderConvertedToWorkspaceItem() argument 541 AppTarget itemTarget = mPredictionModel.getAppTargetFromInfo(itemInfo); in folderConvertedToWorkspaceItem() 546 if (itemTarget != null && HotseatPredictionModel.isTrackedForPrediction(itemInfo)) { in folderConvertedToWorkspaceItem() 548 AppTargetEvent.ACTION_PIN, itemInfo)); in folderConvertedToWorkspaceItem() 581 ItemInfo itemInfo) { in getShortcut() argument 582 if (itemInfo.container != LauncherSettings.Favorites.CONTAINER_HOTSEAT_PREDICTION) { in getShortcut() 585 return new PinPrediction(activity, itemInfo); in getShortcut() 588 private void preparePredictionInfo(WorkspaceItemInfo itemInfo, int rank) { in preparePredictionInfo() argument [all …]
|
D | HotseatPredictionModel.java | 74 for (ItemInfo itemInfo : dataModel.cachedPredictedItems) { in createBundle() 75 AppTarget target = getAppTargetFromInfo(itemInfo); in createBundle()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | PredictionUiStateManager.java | 316 public OptionalInt getAllAppsRank(@Nullable ItemInfo itemInfo) { in getAllAppsRank() argument 317 if (itemInfo == null || itemInfo.getTargetComponent() == null || itemInfo.user == null) { in getAllAppsRank() 321 if (itemInfo.itemType == ITEM_TYPE_APPLICATION in getAllAppsRank() 322 || itemInfo.itemType == ITEM_TYPE_SHORTCUT in getAllAppsRank() 323 || itemInfo.itemType == ITEM_TYPE_DEEP_SHORTCUT) { in getAllAppsRank() 324 ComponentKey key = new ComponentKey(itemInfo.getTargetComponent(), in getAllAppsRank() 325 itemInfo.user); in getAllAppsRank() 343 @NonNull ItemInfo itemInfo, @NonNull LauncherLogProto.Target target) { in fillInPredictedRank() 346 if (manager == null || itemInfo.getTargetComponent() == null || itemInfo.user == null in fillInPredictedRank() 347 || (itemInfo.itemType != LauncherSettings.Favorites.ITEM_TYPE_APPLICATION in fillInPredictedRank() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | AddWorkspaceItemsTask.java | 106 ItemInfo itemInfo; in execute() local 109 itemInfo = item; in execute() 111 itemInfo = ((AppInfo) item).makeWorkspaceItem(); in execute() 141 itemInfo = new AppInfo(app.getContext(), activities.get(0), item.user) in execute() 144 if (shortcutExists(dataModel, itemInfo.getIntent(), itemInfo.user)) { in execute() 152 WorkspaceItemInfo wii = (WorkspaceItemInfo) itemInfo; in execute() 156 ((WorkspaceItemInfo) itemInfo).usingLowResIcon()); in execute() 161 getModelWriter().addItemToDatabase(itemInfo, in execute() 166 addedItemsFinal.add(itemInfo); in execute()
|
D | UserLockStateChangedTask.java | 76 for (ItemInfo itemInfo : dataModel.itemsIdMap) { in execute() 77 if (itemInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT in execute() 78 && mUser.equals(itemInfo.user)) { in execute() 79 WorkspaceItemInfo si = (WorkspaceItemInfo) itemInfo; in execute()
|
D | ShortcutsChangedTask.java | 61 for (ItemInfo itemInfo : dataModel.itemsIdMap) { in execute() 62 if (itemInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT) { in execute() 63 WorkspaceItemInfo si = (WorkspaceItemInfo) itemInfo; in execute()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 418 for (ItemInfo itemInfo : currentWorkspaceItems) { in populate() 419 switch (itemInfo.itemType) { in populate() 423 inflateAndAddIcon((WorkspaceItemInfo) itemInfo); in populate() 426 inflateAndAddFolder((FolderInfo) itemInfo); in populate() 432 for (ItemInfo itemInfo : currentAppWidgets) { in populate() 433 switch (itemInfo.itemType) { in populate() 436 inflateAndAddWidgets((LauncherAppWidgetInfo) itemInfo, in populate() 450 WorkspaceItemInfo itemInfo = new WorkspaceItemInfo(appInfo); in populate() local 451 itemInfo.container = LauncherSettings.Favorites.CONTAINER_HOTSEAT_PREDICTION; in populate() 452 itemInfo.rank = rank; in populate() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PendingAddItemInfo.java | 48 PendingAddItemInfo itemInfo = new PendingAddItemInfo(); in makeShallowCopy() local 49 itemInfo.copyFrom(this); in makeShallowCopy() 50 itemInfo.componentName = this.componentName; in makeShallowCopy() 51 return itemInfo; in makeShallowCopy()
|
D | BubbleTextView.java | 558 public void applyDotState(ItemInfo itemInfo, boolean animate) { in applyDotState() argument 561 mDotInfo = mActivity.getDotInfoForItem(itemInfo); in applyDotState() 579 if (itemInfo.contentDescription != null) { in applyDotState() 580 if (itemInfo.isDisabled()) { in applyDotState() 582 itemInfo.contentDescription)); in applyDotState() 586 R.plurals.dotted_app_label, count, itemInfo.contentDescription, count)); in applyDotState() 588 setContentDescription(itemInfo.contentDescription); in applyDotState()
|
D | Launcher.java | 1274 void completeAddAppWidget(int appWidgetId, ItemInfo itemInfo, in completeAddAppWidget() argument 1283 launcherInfo.spanX = itemInfo.spanX; in completeAddAppWidget() 1284 launcherInfo.spanY = itemInfo.spanY; in completeAddAppWidget() 1285 launcherInfo.minSpanX = itemInfo.minSpanX; in completeAddAppWidget() 1286 launcherInfo.minSpanY = itemInfo.minSpanY; in completeAddAppWidget() 1290 itemInfo.container, itemInfo.screenId, itemInfo.cellX, itemInfo.cellY); in completeAddAppWidget() 1733 public void folderCreatedFromItem(Folder folder, WorkspaceItemInfo itemInfo){} in folderCreatedFromItem() argument 1738 public void folderConvertedToItem(Folder folder, WorkspaceItemInfo itemInfo) {} in folderConvertedToItem() argument 1747 public boolean removeItem(View v, final ItemInfo itemInfo, boolean deleteFromDb) { in removeItem() argument 1748 if (itemInfo instanceof WorkspaceItemInfo) { in removeItem() [all …]
|
D | InstallShortcutReceiver.java | 494 WorkspaceItemInfo itemInfo = new WorkspaceItemInfo(shortcutInfo, mContext); in getItemInfo() local 496 itemInfo, shortcutInfo); in getItemInfo() 497 return Pair.create(itemInfo, shortcutInfo); in getItemInfo() 511 WorkspaceItemInfo itemInfo = in getItemInfo() local 513 return Pair.create(itemInfo, null); in getItemInfo()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/ |
D | PermissionGroups.java | 116 @NonNull PackageItemInfo itemInfo) { in loadItemInfoLabel() argument 117 CharSequence label = itemInfo.loadSafeLabel(context.getPackageManager(), 0, in loadItemInfoLabel() 120 label = itemInfo.name; in loadItemInfoLabel() 126 @NonNull PackageItemInfo itemInfo) { in loadItemInfoIcon() argument 128 if (itemInfo.icon > 0) { in loadItemInfoIcon() 130 itemInfo.packageName, itemInfo.icon); in loadItemInfoIcon()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/ |
D | QuickstepLauncher.java | 155 public void folderCreatedFromItem(Folder folder, WorkspaceItemInfo itemInfo) { in folderCreatedFromItem() argument 156 super.folderCreatedFromItem(folder, itemInfo); in folderCreatedFromItem() 158 mHotseatPredictionController.folderCreatedFromWorkspaceItem(itemInfo, folder.getInfo()); in folderCreatedFromItem() 163 public void folderConvertedToItem(Folder folder, WorkspaceItemInfo itemInfo) { in folderConvertedToItem() argument 164 super.folderConvertedToItem(folder, itemInfo); in folderConvertedToItem() 166 mHotseatPredictionController.folderConvertedToWorkspaceItem(itemInfo, folder.getInfo()); in folderConvertedToItem()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | TaskOverlayFactory.java | 199 public SystemShortcut getModalStateSystemShortcut(WorkspaceItemInfo itemInfo) { in getModalStateSystemShortcut() argument 244 ScreenshotSystemShortcut(BaseDraggingActivity activity, ItemInfo itemInfo) { in ScreenshotSystemShortcut() argument 245 super(R.drawable.ic_screenshot, R.string.action_screenshot, activity, itemInfo); in ScreenshotSystemShortcut()
|
D | TaskViewUtils.java | 80 ItemInfo itemInfo = (ItemInfo) v.getTag(); in findTaskViewToLaunch() local 81 ComponentName componentName = itemInfo.getTargetComponent(); in findTaskViewToLaunch() 82 int userId = itemInfo.user.getIdentifier(); in findTaskViewToLaunch()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/logging/ |
D | UserEventDispatcherAppPredictionExtension.java | 45 @NonNull ItemInfo itemInfo, @NonNull LauncherLogProto.Target target, in onFillInLogContainerData() 47 PredictionUiStateManager.fillInPredictedRank(itemInfo, target); in onFillInLogContainerData()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 543 if (sIconLoadResult != null && sIconLoadResult.itemInfo == originalView.getTag()) { in getFloatingIconView() 684 final ItemInfo itemInfo; field in FloatingIconView.IconLoadResult 691 IconLoadResult(ItemInfo itemInfo) { in IconLoadResult() argument 692 this.itemInfo = itemInfo; in IconLoadResult()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | ItemInfo.java | 404 ItemInfo itemInfo = new ItemInfo(); in makeShallowCopy() local 405 itemInfo.copyFrom(this); in makeShallowCopy() 406 return itemInfo; in makeShallowCopy()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationInfo.java | 66 ItemInfo itemInfo) { in NotificationInfo() argument 96 this.mItemInfo = itemInfo; in NotificationInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsBottomSheet.java | 85 public void populateAndShow(ItemInfo itemInfo) { in populateAndShow() argument 86 mOriginalItemInfo = itemInfo; in populateAndShow()
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | UserEventDispatcher.java | 110 final ItemInfo itemInfo = (ItemInfo) v.getTag(); in fillLogContainer() local 111 firstParent.fillInLogContainerData(itemInfo, child, targets); in fillLogContainer() 115 protected void onFillInLogContainerData(@NonNull ItemInfo itemInfo, @NonNull Target target, in onFillInLogContainerData() argument
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimContacts.java | 345 AdapterView.AdapterContextMenuInfo itemInfo = in onCreateContextMenu() local 347 TextView textView = (TextView) itemInfo.targetView.findViewById(android.R.id.text1); in onCreateContextMenu()
|