Searched refs:WidgetItem (Results 1 – 13 of 13) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | WidgetsModel.java | 41 private final MultiHashMap<PackageItemInfo, WidgetItem> mWidgetsList; 52 public MultiHashMap<PackageItemInfo, WidgetItem> getWidgetsMap() { in getWidgetsMap() 64 public ArrayList<WidgetItem> update(Context context, @Nullable PackageUserKey packageUser) { in update() 67 final ArrayList<WidgetItem> widgetsAndShortcuts = new ArrayList<>(); in update() 75 widgetsAndShortcuts.add(new WidgetItem(LauncherAppWidgetProviderInfo in update() 82 widgetsAndShortcuts.add(new WidgetItem(info)); in update() 98 private void setWidgetsAndShortcuts(ArrayList<WidgetItem> rawWidgetsShortcuts, in setWidgetsAndShortcuts() 125 Iterator<WidgetItem> widgetItemIterator = mWidgetsList.get(packageItem).iterator(); in setWidgetsAndShortcuts() 127 WidgetItem nextWidget = widgetItemIterator.next(); in setWidgetsAndShortcuts() 140 for (WidgetItem item : rawWidgetsShortcuts) { in setWidgetsAndShortcuts()
|
D | WidgetItem.java | 21 public class WidgetItem extends ComponentKey implements Comparable<WidgetItem> { class 32 public WidgetItem(LauncherAppWidgetProviderInfo info, PackageManager pm, in WidgetItem() method in WidgetItem 44 public WidgetItem(ShortcutConfigActivityInfo info) { in WidgetItem() method in WidgetItem 53 public int compareTo(WidgetItem another) { in compareTo()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsListAdapter.java | 31 import com.android.launcher3.model.WidgetItem; 80 public void setWidgets(MultiHashMap<PackageItemInfo, WidgetItem> widgets) { in setWidgets() 84 for (Map.Entry<PackageItemInfo, ArrayList<WidgetItem>> entry : widgets.entrySet()) { in setWidgets() 106 public List<WidgetItem> copyWidgetsForPackageUser(PackageUserKey packageUserKey) { in copyWidgetsForPackageUser() 109 ArrayList<WidgetItem> widgets = new ArrayList<>(entry.widgets); in copyWidgetsForPackageUser() 111 Iterator<WidgetItem> iterator = widgets.iterator(); in copyWidgetsForPackageUser() 126 List<WidgetItem> infoList = entry.widgets; in onBindViewHolder()
|
D | WidgetItemComparator.java | 21 import com.android.launcher3.model.WidgetItem; 29 public class WidgetItemComparator implements Comparator<WidgetItem> { 35 public int compare(WidgetItem a, WidgetItem b) { in compare()
|
D | WidgetListRowEntry.java | 20 import com.android.launcher3.model.WidgetItem; 31 public final ArrayList<WidgetItem> widgets; 39 public WidgetListRowEntry(PackageItemInfo pkgItem, ArrayList<WidgetItem> items) { in WidgetListRowEntry()
|
D | WidgetCell.java | 39 import com.android.launcher3.model.WidgetItem; 70 protected WidgetItem mItem; 133 public void applyFromCellItem(WidgetItem item, WidgetPreviewLoader loader) { in applyFromCellItem()
|
D | WidgetsContainerView.java | 39 import com.android.launcher3.model.WidgetItem; 235 public void setWidgets(MultiHashMap<PackageItemInfo, WidgetItem> model) { in setWidgets() 249 public List<WidgetItem> getWidgetsForPackageUser(PackageUserKey packageUserKey) { in getWidgetsForPackageUser()
|
D | WidgetsBottomSheet.java | 48 import com.android.launcher3.model.WidgetItem; 117 List<WidgetItem> widgets = mLauncher.getWidgetsForPackageUser(new PackageUserKey( in onWidgetsBound()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | AddItemActivity.java | 54 import com.android.launcher3.model.WidgetItem; 187 WidgetItem item = new WidgetItem(shortcutInfo); in setupShortcut() 210 WidgetItem item = new WidgetItem(widgetInfo, getPackageManager(), mIdp); in setupWidget()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | WidgetPreviewLoader.java | 39 import com.android.launcher3.model.WidgetItem; 96 public CancellationSignal getPreview(WidgetItem item, int previewWidth, in getPreview() 292 private Bitmap generatePreview(BaseActivity launcher, WidgetItem item, Bitmap recycle, in generatePreview() 536 private final WidgetItem mInfo; 545 PreviewLoadTask(WidgetCacheKey key, WidgetItem info, int previewWidth,
|
D | LauncherModel.java | 67 import com.android.launcher3.model.WidgetItem; 206 public void bindAllWidgets(MultiHashMap<PackageItemInfo, WidgetItem> widgets); in bindAllWidgets() 1935 final MultiHashMap<PackageItemInfo, WidgetItem> widgets in bindWidgetsModel() 1956 ArrayList<WidgetItem> widgets = mBgWidgetsModel.update( in refreshAndBindWidgetsAndShortcuts()
|
D | Launcher.java | 108 import com.android.launcher3.model.WidgetItem; 243 @Thunk MultiHashMap<PackageItemInfo, WidgetItem> mAllWidgets; 3917 public void bindAllWidgets(MultiHashMap<PackageItemInfo, WidgetItem> allWidgets) { in bindAllWidgets() 3934 public List<WidgetItem> getWidgetsForPackageUser(PackageUserKey packageUserKey) { in getWidgetsForPackageUser()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | SystemShortcut.java | 14 import com.android.launcher3.model.WidgetItem; 58 final List<WidgetItem> widgets = launcher.getWidgetsForPackageUser(new PackageUserKey( in getOnClickListener()
|