Home
last modified time | relevance | path

Searched refs:Item (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DAppWidgetLoader.java33 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()
[all …]
DAppWidgetPickActivity.java47 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.java99 List<PickAdapter.Item> items = getItems(); 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()
204 public static class Item implements AppWidgetLoader.LabelledItem { class in ActivityPicker.PickAdapter
225 Item(Context context, CharSequence label, Drawable icon) { in Item() method in ActivityPicker.PickAdapter.Item
234 Item(Context context, PackageManager pm, ResolveInfo resolveInfo) { in Item() method in ActivityPicker.PickAdapter.Item
[all …]
DKeyguardAppWidgetPickActivity.java72 AppWidgetLoader.ItemConstructor<KeyguardAppWidgetPickActivity.Item> {
77 private AppWidgetLoader<Item> mAppWidgetLoader;
78 private List<Item> mItems;
117 mAppWidgetLoader = new AppWidgetLoader<Item>(this, mAppWidgetManager, this); in onCreate()
141 public static class Item implements AppWidgetLoader.LabelledItem { class in KeyguardAppWidgetPickActivity
157 Item(Context context, CharSequence label) { in Item() method in KeyguardAppWidgetPickActivity.Item
430 public Item createItem(Context context, AppWidgetProviderInfo info, Bundle extras) { in createItem()
433 Item item = new Item(context, label); in createItem()
444 private final List<Item> mItems;
449 public AppWidgetAdapter(Context context, List<Item> items) { in AppWidgetAdapter()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java233 Item item = mAdapter.mItems.get(position); in onSlideShowClicked()
341 ArrayList<Item> allItems = new ArrayList<Item>(); in workerRun()
376 private void checkImageList(ArrayList<Item> allItems) { in checkImageList()
384 Item item = null; in checkImageList()
396 item = new Item(data.mType, in checkImageList()
403 final Item finalItem = item; in checkImageList()
413 private void updateItem(Item item) { in updateItem()
426 private void checkBucketIds(ArrayList<Item> allItems) { in checkBucketIds()
460 Item item = new Item(Item.TYPE_NORMAL_FOLDERS, key, in checkBucketIds()
465 final Item finalItem = item; in checkBucketIds()
[all …]
/packages/apps/Stk/src/com/android/stk/
DStkMenuAdapter.java19 import com.android.internal.telephony.cat.Item;
34 public class StkMenuAdapter extends ArrayAdapter<Item> {
38 public StkMenuAdapter(Context context, List<Item> items, in StkMenuAdapter()
47 final Item item = getItem(position); in getView()
DStkMenuActivity.java34 import com.android.internal.telephony.cat.Item;
111 Item item = getSelectedItem(position); in onListItemClick()
226 Item stkItem = getSelectedItem(position); in onOptionsItemSelected()
302 private Item getSelectedItem(int position) { in getSelectedItem()
303 Item item = null; in getSelectedItem()
DStkAppService.java46 import com.android.internal.telephony.cat.Item;
897 for (Item item : menu.items) { in getItemName()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPopupList.java44 public static class Item { class in PopupList
48 public Item(int id, String title) { in Item() method in PopupList.Item
60 private final ArrayList<Item> mItems = new ArrayList<Item>();
79 mItems.add(new Item(id, title)); in addItem()
172 public Item findItem(int id) { in findItem()
173 for (Item item : mItems) { in findItem()
DSelectionMenu.java51 PopupList.Item item = mPopupList.findItem(R.id.action_select_all); in updateSelectAllMode()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DPop3StoreUnitTests.java539 fp.add(FetchProfile.Item.FLAGS); in testCatchClosed2()
540 fp.add(FetchProfile.Item.ENVELOPE); in testCatchClosed2()
587 fp.add(FetchProfile.Item.FLAGS); in testCatchClosed2a()
588 fp.add(FetchProfile.Item.ENVELOPE); in testCatchClosed2a()
634 fp.add(FetchProfile.Item.FLAGS); in testCatchClosed3()
635 fp.add(FetchProfile.Item.ENVELOPE); in testCatchClosed3()
646 fp.add(FetchProfile.Item.BODY); in testCatchClosed3()
796 fp.add(FetchProfile.Item.FLAGS); in checkOneUnread()
797 fp.add(FetchProfile.Item.ENVELOPE); in checkOneUnread()
814 fp.add(FetchProfile.Item.BODY); in checkOneUnread()
[all …]
DImapStoreUnitTests.java770 fp.add(FetchProfile.Item.FLAGS); in testFetchFlagEnvelope()
771 fp.add(FetchProfile.Item.ENVELOPE); in testFetchFlagEnvelope()
811 fp.add(FetchProfile.Item.STRUCTURE); in testFetchBodyStructureSimple()
850 fp.add(FetchProfile.Item.STRUCTURE); in testFetchBodyStructureMultipart()
972 fp.add(FetchProfile.Item.BODY_SANE); in testFetchBodySane()
995 fp.add(FetchProfile.Item.BODY); in testFetchBody()
1018 fp.add(FetchProfile.Item.STRUCTURE); in testFetchAttachment()
1069 fp.add(FetchProfile.Item.STRUCTURE); in testNilMessage()
1129 fp.add(FetchProfile.Item.FLAGS); in testExcessFetchResult()
2107 fp.add(FetchProfile.Item.STRUCTURE); in testFetchBodyStructureMalformed()
[all …]
/packages/apps/Email/src/com/android/email/mail/store/
DImapFolder.java546 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal()
549 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetchInternal()
554 if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetchInternal()
558 if (fp.contains(FetchProfile.Item.BODY_SANE)) { in fetchInternal()
561 if (fp.contains(FetchProfile.Item.BODY)) { in fetchInternal()
598 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal()
614 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetchInternal()
626 if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetchInternal()
640 if (fp.contains(FetchProfile.Item.BODY) in fetchInternal()
641 || fp.contains(FetchProfile.Item.BODY_SANE)) { in fetchInternal()
DPop3Store.java652 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetch()
671 if (fp.contains(FetchProfile.Item.BODY)) { in fetch()
674 else if (fp.contains(FetchProfile.Item.BODY_SANE)) { in fetch()
682 else if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetch()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
DFetchProfile.java39 public enum Item implements Fetchable { enum in FetchProfile
/packages/apps/Email/src/com/android/email/
DMessagingController.java470 fp.add(FetchProfile.Item.BODY); in loadUnsyncedMessages()
487 fp.add(FetchProfile.Item.STRUCTURE); in loadUnsyncedMessages()
495 fp.add(FetchProfile.Item.BODY_SANE); in loadUnsyncedMessages()
533 fp.add(FetchProfile.Item.FLAGS); in downloadFlagAndEnvelope()
534 fp.add(FetchProfile.Item.ENVELOPE); in downloadFlagAndEnvelope()
673 fp.add(FetchProfile.Item.FLAGS); in searchMailboxImpl()
674 fp.add(FetchProfile.Item.ENVELOPE); in searchMailboxImpl()
675 fp.add(FetchProfile.Item.STRUCTURE); in searchMailboxImpl()
676 fp.add(FetchProfile.Item.BODY_SANE); in searchMailboxImpl()
867 fp.add(FetchProfile.Item.FLAGS); in synchronizeMailboxGeneric()
[all …]
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/
DGrassRS.java183 ScriptField_Blade.Item item = new ScriptField_Blade.Item(); in createBlades()
227 private void createBlade(ScriptField_Blade.Item blades) { in createBlade()
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/
DGalaxyRS.java112 ScriptField_VpConsts.Item i = new ScriptField_VpConsts.Item(); in updateProjectionMatrices()
/packages/wallpapers/NoiseField/src/com/android/noisefield/
DNoiseFieldRS.java114 ScriptField_VpConsts.Item i = new ScriptField_VpConsts.Item(); in updateProjectionMatrices()
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
DPhaseBeamRS.java129 ScriptField_VpConsts.Item i = new ScriptField_VpConsts.Item(); in updateProjectionMatrices()
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/
DGalaxyRS.java151 ScriptField_VpConsts.Item i = new ScriptField_VpConsts.Item(); in updateProjectionMatrices()
/packages/apps/Email/src/com/android/email/activity/
DMessageListFragment.java761 data.addItem(new ClipData.Item( in onItemLongClick()