Lines Matching refs:Item
33 public class AppWidgetLoader<Item extends AppWidgetLoader.LabelledItem> {
39 ItemConstructor<Item> mItemConstructor;
46 ItemConstructor<Item> itemConstructor) { in AppWidgetLoader()
56 void putCustomAppWidgets(List<Item> items, Intent intent) { in putCustomAppWidgets()
115 List<Bundle> customExtras, List<Item> items, int categoryFilter, in putAppWidgetItems()
127 Item item = mItemConstructor.createItem(mContext, info, in putAppWidgetItems()
134 public interface ItemConstructor<Item> {
135 Item createItem(Context context, AppWidgetProviderInfo info, Bundle extras); in createItem()
144 protected List<Item> getItems(Intent intent) { in getItems()
148 List<Item> items = new ArrayList<Item>(); in getItems()
160 Collections.sort(items, new Comparator<Item>() { in getItems()
163 public int compare(Item lhs, Item rhs) { in getItems()
168 List<Item> customItems = new ArrayList<Item>(); in getItems()
178 void putInstalledAppWidgets(List<Item> items, int categoryFilter) { in putInstalledAppWidgets()