Home
last modified time | relevance | path

Searched refs:PickAdapter (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DAppWidgetPickActivity.java32 import com.android.settings.ActivityPicker.PickAdapter;
47 implements AppWidgetLoader.ItemConstructor<PickAdapter.Item>{
51 List<PickAdapter.Item> mItems;
58 private AppWidgetLoader<PickAdapter.Item> mAppWidgetLoader;
66 mAppWidgetLoader = new AppWidgetLoader<PickAdapter.Item> in onCreate()
90 protected List<PickAdapter.Item> getItems() { in getItems()
96 public PickAdapter.Item createItem(Context context, AppWidgetProviderInfo info, Bundle extras) { in createItem()
134 PickAdapter.Item item = new PickAdapter.Item(context, label, icon); in createItem()
147 PickAdapter.Item item = mItems.get(which); in onClick()
DActivityPicker.java64 private PickAdapter mAdapter;
99 List<PickAdapter.Item> items = getItems(); in onCreate()
100 mAdapter = new PickAdapter(this, items); in onCreate()
129 PickAdapter.Item item = (PickAdapter.Item) mAdapter.getItem(position); in getIntentForPosition()
140 protected List<PickAdapter.Item> getItems() { in getItems()
142 List<PickAdapter.Item> items = new ArrayList<PickAdapter.Item>(); in getItems()
167 items.add(new PickAdapter.Item(this, label, icon)); in getItems()
182 protected void putIntentItems(Intent baseIntent, List<PickAdapter.Item> items) { in putIntentItems()
191 items.add(new PickAdapter.Item(this, packageManager, resolveInfo)); in putIntentItems()
199 protected static class PickAdapter extends BaseAdapter { class in ActivityPicker
[all …]