/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | SystemShortcut.java | 127 public abstract View.OnClickListener getOnClickListener(T activity, ItemInfo itemInfo); in getOnClickListener() argument 137 final ItemInfo itemInfo) { in getOnClickListener() argument 138 if (itemInfo.getTargetComponent() == null) return null; in getOnClickListener() 141 itemInfo.getTargetComponent().getPackageName(), itemInfo.user)); in getOnClickListener() 150 widgetsBottomSheet.populateAndShow(itemInfo); in getOnClickListener() 164 BaseDraggingActivity activity, ItemInfo itemInfo) { in getOnClickListener() argument 169 itemInfo, sourceBounds, ActivityOptions.makeBasic().toBundle()); in getOnClickListener() 183 BaseDraggingActivity activity, ItemInfo itemInfo) { 184 boolean supportsWebUI = (itemInfo instanceof WorkspaceItemInfo) && 185 … ((WorkspaceItemInfo) itemInfo).hasStatusFlag(WorkspaceItemInfo.FLAG_SUPPORTS_WEB_UI); [all …]
|
D | PopupContainerWithArrow.java | 208 ItemInfo itemInfo = (ItemInfo) icon.getTag(); in showForIcon() local 209 if (!ShortcutUtil.supportsShortcuts(itemInfo)) { in showForIcon() 216 container.populateAndShow(icon, itemInfo, SystemShortcutFactory.INSTANCE.get(launcher)); in showForIcon() 384 ItemInfo itemInfo = (ItemInfo) mOriginalIcon.getTag(); in onWidgetsBound() local 386 View.OnClickListener onClickListener = widgetInfo.getOnClickListener(mLauncher, itemInfo); in onWidgetsBound() 497 ItemInfo itemInfo = (ItemInfo) mOriginalIcon.getTag(); 498 PackageUserKey packageUser = PackageUserKey.fromItemInfo(itemInfo); 505 ItemInfoWithIcon itemInfo = (ItemInfoWithIcon) mOriginalIcon.getTag(); 506 DotInfo dotInfo = mLauncher.getDotInfoForItem(itemInfo); 509 dotInfo.getNotificationCount(), itemInfo.iconColor);
|
D | RemoteActionShortcut.java | 49 final BaseDraggingActivity activity, final ItemInfo itemInfo) { in getOnClickListener() argument 54 itemInfo.getTargetComponent().getPackageName(); in getOnClickListener() 62 itemInfo.getTargetComponent().getPackageName()), in getOnClickListener()
|
/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 | 77 for (ItemInfo itemInfo : dataModel.itemsIdMap) { in execute() 78 if (itemInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT in execute() 79 && mUser.equals(itemInfo.user)) { in execute() 80 WorkspaceItemInfo si = (WorkspaceItemInfo) itemInfo; in execute()
|
D | ShortcutsChangedTask.java | 64 for (ItemInfo itemInfo : dataModel.itemsIdMap) { in execute() 65 if (itemInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT) { in execute() 66 WorkspaceItemInfo si = (WorkspaceItemInfo) itemInfo; in execute()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | PredictionUiStateManager.java | 339 @NonNull ItemInfo itemInfo, @NonNull LauncherLogProto.Target target) { in fillInPredictedRank() 341 if (manager == null || itemInfo.getTargetComponent() == null || itemInfo.user == null in fillInPredictedRank() 342 || (itemInfo.itemType != LauncherSettings.Favorites.ITEM_TYPE_APPLICATION in fillInPredictedRank() 343 && itemInfo.itemType != LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT in fillInPredictedRank() 344 && itemInfo.itemType != LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT)) { in fillInPredictedRank() 347 final ComponentKey k = new ComponentKey(itemInfo.getTargetComponent(), itemInfo.user); in fillInPredictedRank()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/ |
D | PermissionGroups.java | 113 @NonNull PackageItemInfo itemInfo) { in loadItemInfoLabel() argument 114 CharSequence label = itemInfo.loadSafeLabel(context.getPackageManager(), 0, in loadItemInfoLabel() 117 label = itemInfo.name; in loadItemInfoLabel() 123 @NonNull PackageItemInfo itemInfo) { in loadItemInfoIcon() argument 125 if (itemInfo.icon > 0) { in loadItemInfoIcon() 127 itemInfo.packageName, itemInfo.icon); in loadItemInfoIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 581 public void applyDotState(ItemInfo itemInfo, boolean animate) { in applyDotState() argument 584 mDotInfo = mActivity.getDotInfoForItem(itemInfo); in applyDotState() 602 if (itemInfo.contentDescription != null) { in applyDotState() 603 if (itemInfo.isDisabled()) { in applyDotState() 605 itemInfo.contentDescription)); in applyDotState() 609 R.plurals.dotted_app_label, count, itemInfo.contentDescription, count)); in applyDotState() 611 setContentDescription(itemInfo.contentDescription); in applyDotState()
|
D | Launcher.java | 1258 void completeAddAppWidget(int appWidgetId, ItemInfo itemInfo, in completeAddAppWidget() argument 1267 launcherInfo.spanX = itemInfo.spanX; in completeAddAppWidget() 1268 launcherInfo.spanY = itemInfo.spanY; in completeAddAppWidget() 1269 launcherInfo.minSpanX = itemInfo.minSpanX; in completeAddAppWidget() 1270 launcherInfo.minSpanY = itemInfo.minSpanY; in completeAddAppWidget() 1274 itemInfo.container, itemInfo.screenId, itemInfo.cellX, itemInfo.cellY); in completeAddAppWidget() 1719 public boolean removeItem(View v, final ItemInfo itemInfo, boolean deleteFromDb) { in removeItem() argument 1720 if (itemInfo instanceof WorkspaceItemInfo) { in removeItem() 1722 View folderIcon = mWorkspace.getHomescreenIconByItemId(itemInfo.container); in removeItem() 1724 ((FolderInfo) folderIcon.getTag()).remove((WorkspaceItemInfo) itemInfo, true); in removeItem() [all …]
|
D | InstallShortcutReceiver.java | 492 WorkspaceItemInfo itemInfo = new WorkspaceItemInfo(shortcutInfo, mContext); in getItemInfo() local 494 itemInfo.applyFrom(li.createShortcutIcon(shortcutInfo)); in getItemInfo() 496 return Pair.create(itemInfo, shortcutInfo); in getItemInfo() 510 WorkspaceItemInfo itemInfo = in getItemInfo() local 512 return Pair.create(itemInfo, null); in getItemInfo()
|
D | FocusHelper.java | 224 final ItemInfo itemInfo = (ItemInfo) v.getTag(); in handleHotseatButtonKeyEvent() local 341 final ItemInfo itemInfo = (ItemInfo) v.getTag(); in handleIconKeyEvent() local
|
D | CellLayout.java | 2750 public boolean hasReorderSolution(ItemInfo itemInfo) { in hasReorderSolution() argument 2756 if (findReorderSolution(cellPoint[0], cellPoint[1], itemInfo.minSpanX, in hasReorderSolution() 2757 itemInfo.minSpanY, itemInfo.spanX, itemInfo.spanY, mDirectionVector, null, in hasReorderSolution()
|
D | Workspace.java | 329 public int[] estimateItemSize(ItemInfo itemInfo) { in estimateItemSize() argument 334 boolean isWidget = itemInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in estimateItemSize() 336 Rect r = estimateItemPosition(cl, 0, 0, itemInfo.spanX, itemInfo.spanY); in estimateItemSize()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | TaskViewUtils.java | 67 ItemInfo itemInfo = (ItemInfo) v.getTag(); in findTaskViewToLaunch() local 68 ComponentName componentName = itemInfo.getTargetComponent(); in findTaskViewToLaunch() 69 int userId = itemInfo.user.getIdentifier(); in findTaskViewToLaunch()
|
D | TaskSystemShortcut.java | 81 BaseDraggingActivity activity, ItemInfo itemInfo) { in getOnClickListener() argument 332 BaseDraggingActivity activity, Task task, ItemInfo itemInfo) { 335 return mSystemShortcut.createOnClickListener(activity, itemInfo);
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/logging/ |
D | UserEventDispatcherAppPredictionExtension.java | 43 @NonNull ItemInfo itemInfo, @NonNull LauncherLogProto.Target target, in onFillInLogContainerData() 45 PredictionUiStateManager.fillInPredictedRank(itemInfo, target); in onFillInLogContainerData()
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | UserEventDispatcher.java | 109 final ItemInfo itemInfo = (ItemInfo) v.getTag(); in fillInLogContainerData() local 112 onFillInLogContainerData(itemInfo, target, targetParent); in fillInLogContainerData() 113 provider.fillInLogContainerData(v, itemInfo, target, targetParent); in fillInLogContainerData() 118 @NonNull ItemInfo itemInfo, @NonNull Target target, @NonNull Target targetParent) { } in onFillInLogContainerData()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 754 if (sIconLoadResult != null && sIconLoadResult.itemInfo == originalView.getTag()) { in getFloatingIconView() 905 final ItemInfo itemInfo; field in FloatingIconView.IconLoadResult 912 public IconLoadResult(ItemInfo itemInfo) { in IconLoadResult() argument 913 this.itemInfo = itemInfo; in IconLoadResult()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsBottomSheet.java | 86 public void populateAndShow(ItemInfo itemInfo) { in populateAndShow() argument 87 mOriginalItemInfo = itemInfo; in populateAndShow()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/ |
D | StatsLogCompatManager.java | 119 ItemInfo itemInfo = (ItemInfo) v.getTag(); in fillInLauncherExtension() local 122 provider.fillInLogContainerData(v, itemInfo, child, parent); in fillInLauncherExtension()
|
/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()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | TaskView.java | 736 final AccessibilityNodeInfo.CollectionItemInfo itemInfo = in onInitializeAccessibilityNodeInfo() local 740 info.setCollectionItemInfo(itemInfo); in onInitializeAccessibilityNodeInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | Folder.java | 921 WorkspaceItemInfo itemInfo = mInfo.contents.get(i); in updateItemLocationsInDatabaseBatch() local 922 if (verifier.updateRankAndPos(itemInfo, i)) { in updateItemLocationsInDatabaseBatch() 923 items.add(itemInfo); in updateItemLocationsInDatabaseBatch()
|