Searched refs:itemInfo (Results 1 - 21 of 21) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/popup/
H A DSystemShortcut.java47 final ItemInfo itemInfo);
57 final ItemInfo itemInfo) {
59 itemInfo.getTargetComponent().getPackageName(), itemInfo.user));
70 widgetsBottomSheet.populateAndShow(itemInfo);
83 final ItemInfo itemInfo) {
89 InfoDropTarget.startDetailsActivityForInfo(itemInfo, launcher, null, sourceBounds, opts);
46 getOnClickListener(final Launcher launcher, final ItemInfo itemInfo) argument
56 getOnClickListener(final Launcher launcher, final ItemInfo itemInfo) argument
82 getOnClickListener(final Launcher launcher, final ItemInfo itemInfo) argument
H A DPopupContainerWithArrow.java143 ItemInfo itemInfo = (ItemInfo) icon.getTag();
144 if (!DeepShortcutManager.supportsShortcuts(itemInfo)) {
149 List<String> shortcutIds = popupDataProvider.getShortcutIdsForItem(itemInfo);
151 .getNotificationKeysForItem(itemInfo);
153 .getEnabledSystemShortcutsForItem(itemInfo);
570 ItemInfo itemInfo = (ItemInfo) mOriginalIcon.getTag();
571 PackageUserKey packageUser = PackageUserKey.fromItemInfo(itemInfo);
578 ItemInfo itemInfo = (ItemInfo) mOriginalIcon.getTag();
579 BadgeInfo badgeInfo = mLauncher.getPopupDataProvider().getBadgeInfoForItem(itemInfo);
/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DUserLockStateChangedTask.java75 for (ItemInfo itemInfo : dataModel.itemsIdMap) {
76 if (itemInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT
77 && mUser.equals(itemInfo.user)) {
78 ShortcutInfo si = (ShortcutInfo) itemInfo;
H A DShortcutsChangedTask.java62 for (ItemInfo itemInfo : dataModel.itemsIdMap) {
63 if (itemInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT) {
64 ShortcutInfo si = (ShortcutInfo) itemInfo;
H A DAddWorkspaceItemsTask.java87 ItemInfo itemInfo;
90 itemInfo = item;
92 itemInfo = ((AppInfo) item).makeShortcut();
98 getModelWriter().addItemToDatabase(itemInfo,
103 addedItemsFinal.add(itemInfo);
/packages/apps/Settings/tests/robotests/src/android/util/
H A DIconDrawableFactory.java41 public Drawable getBadgedIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo, int userId) { argument
/packages/apps/StorageManager/robotests/src/android/util/
H A DIconDrawableFactory.java39 public Drawable getBadgedIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo, int userId) { argument
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
H A DPermissionGroups.java230 private CharSequence loadItemInfoLabel(PackageItemInfo itemInfo) { argument
231 CharSequence label = itemInfo.loadLabel(getContext().getPackageManager());
233 label = itemInfo.name;
238 private Drawable loadItemInfoIcon(PackageItemInfo itemInfo) { argument
240 if (itemInfo.icon > 0) {
242 itemInfo.packageName, itemInfo.icon);
/packages/apps/Launcher3/src/com/android/launcher3/logging/
H A DUserEventDispatcher.java136 ItemInfo itemInfo = (ItemInfo) v.getTag();
143 new ComponentKey(cn, itemInfo.user));
156 ItemInfo itemInfo = (ItemInfo) v.getTag();
157 provider.fillInLogContainerData(v, itemInfo, event.srcTarget[0], event.srcTarget[1]);
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
H A DShortcutsItemView.java172 ItemInfo itemInfo = (ItemInfo) originalIcon.getTag();
174 View.OnClickListener onClickListener = widgetInfo.getOnClickListener(mLauncher, itemInfo);
/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DWidgetsBottomSheet.java99 public void populateAndShow(ItemInfo itemInfo) { argument
100 mOriginalItemInfo = itemInfo;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncher.java1515 @Thunk void completeAddAppWidget(int appWidgetId, ItemInfo itemInfo, argument
1528 launcherInfo.spanX = itemInfo.spanX;
1529 launcherInfo.spanY = itemInfo.spanY;
1530 launcherInfo.minSpanX = itemInfo.minSpanX;
1531 launcherInfo.minSpanY = itemInfo.minSpanY;
1535 itemInfo.container, itemInfo.screenId, itemInfo.cellX, itemInfo.cellY);
2152 * @param itemInfo th
2155 removeItem(View v, final ItemInfo itemInfo, boolean deleteFromDb) argument
[all...]
H A DBubbleTextView.java573 public void applyBadgeState(ItemInfo itemInfo, boolean animate) { argument
576 mBadgeInfo = mLauncher.getPopupDataProvider().getBadgeInfoForItem(itemInfo);
H A DFocusHelper.java221 final ItemInfo itemInfo = (ItemInfo) v.getTag();
352 final ItemInfo itemInfo = (ItemInfo) v.getTag();
H A DCellLayout.java2809 public boolean hasReorderSolution(ItemInfo itemInfo) { argument
2815 if (findReorderSolution(cellPoint[0], cellPoint[1], itemInfo.minSpanX,
2816 itemInfo.minSpanY, itemInfo.spanX, itemInfo.spanY, mDirectionVector, null,
H A DWorkspace.java392 public int[] estimateItemSize(ItemInfo itemInfo, boolean springLoaded, boolean unscaledSize) { argument
398 boolean isWidget = itemInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET;
400 Rect r = estimateItemPosition(cl, 0, 0, itemInfo.spanX, itemInfo.spanY);
3904 * Process the next itemInfo, possibly with side-effect on the next item.
/packages/services/Telephony/src/com/android/phone/
H A DSimContacts.java346 AdapterView.AdapterContextMenuInfo itemInfo =
348 TextView textView = (TextView) itemInfo.targetView.findViewById(android.R.id.text1);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAppsCustomizePagedView.java881 ItemInfo itemInfo = (ItemInfo) d.dragInfo;
883 layout.calculateSpans(itemInfo);
885 !layout.findCellForSpan(null, itemInfo.spanX, itemInfo.spanY);
H A DDragLayer.java440 public void addResizeFrame(ItemInfo itemInfo, LauncherAppWidgetHostView widget, argument
H A DLauncher.java3097 void addExternalItemToScreen(ItemInfo itemInfo, final CellLayout layout) { argument
3098 if (!mWorkspace.addExternalItemToScreen(itemInfo, layout)) {
H A DWorkspace.java357 ItemInfo itemInfo, boolean springLoaded) {
361 Rect r = estimateItemPosition(cl, itemInfo, 0, 0, hSpan, vSpan);
356 estimateItemSize(int hSpan, int vSpan, ItemInfo itemInfo, boolean springLoaded) argument

Completed in 6730 milliseconds