Home
last modified time | relevance | path

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

/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/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 …]
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.java74 AppWidgetLoader.ItemConstructor<KeyguardAppWidgetPickActivity.Item> {
79 private AppWidgetLoader<Item> mAppWidgetLoader;
80 private List<Item> mItems;
121 mAppWidgetLoader = new AppWidgetLoader<Item>(this, mAppWidgetManager, this); in onCreate()
145 public static class Item implements AppWidgetLoader.LabelledItem { class in KeyguardAppWidgetPickActivity
161 Item(Context context, CharSequence label) { in Item() method in KeyguardAppWidgetPickActivity.Item
434 public Item createItem(Context context, AppWidgetProviderInfo info, Bundle extras) { in createItem()
437 Item item = new Item(context, label); in createItem()
448 private final List<Item> mItems;
453 public AppWidgetAdapter(Context context, List<Item> items) { in AppWidgetAdapter()
[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()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DPop3StoreUnitTests.java538 fp.add(FetchProfile.Item.FLAGS); in testCatchClosed2()
539 fp.add(FetchProfile.Item.ENVELOPE); in testCatchClosed2()
586 fp.add(FetchProfile.Item.FLAGS); in testCatchClosed2a()
587 fp.add(FetchProfile.Item.ENVELOPE); in testCatchClosed2a()
633 fp.add(FetchProfile.Item.FLAGS); in testCatchClosed3()
634 fp.add(FetchProfile.Item.ENVELOPE); in testCatchClosed3()
645 fp.add(FetchProfile.Item.BODY); in testCatchClosed3()
795 fp.add(FetchProfile.Item.FLAGS); in checkOneUnread()
796 fp.add(FetchProfile.Item.ENVELOPE); in checkOneUnread()
813 fp.add(FetchProfile.Item.BODY); in checkOneUnread()
[all …]
DImapStoreUnitTests.java772 fp.add(FetchProfile.Item.FLAGS); in testFetchFlagEnvelope()
773 fp.add(FetchProfile.Item.ENVELOPE); in testFetchFlagEnvelope()
813 fp.add(FetchProfile.Item.STRUCTURE); in testFetchBodyStructureSimple()
852 fp.add(FetchProfile.Item.STRUCTURE); in testFetchBodyStructureMultipart()
974 fp.add(FetchProfile.Item.BODY_SANE); in testFetchBodySane()
997 fp.add(FetchProfile.Item.BODY); in testFetchBody()
1020 fp.add(FetchProfile.Item.STRUCTURE); in testFetchAttachment()
1071 fp.add(FetchProfile.Item.STRUCTURE); in testNilMessage()
1131 fp.add(FetchProfile.Item.FLAGS); in testExcessFetchResult()
2109 fp.add(FetchProfile.Item.STRUCTURE); in testFetchBodyStructureMalformed()
[all …]
/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/src/com/android/email/mail/store/
DImapFolder.java641 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal()
644 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetchInternal()
649 if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetchInternal()
653 if (fp.contains(FetchProfile.Item.BODY_SANE)) { in fetchInternal()
656 if (fp.contains(FetchProfile.Item.BODY)) { in fetchInternal()
695 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal()
711 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetchInternal()
723 if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetchInternal()
737 if (fp.contains(FetchProfile.Item.BODY) in fetchInternal()
738 || fp.contains(FetchProfile.Item.BODY_SANE)) { in fetchInternal()
/packages/apps/Stk/src/com/android/stk/
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()
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()
DStkAppService.java48 import com.android.internal.telephony.cat.Item;
903 for (Item item : menu.items) { in getItemName()
/packages/apps/Email/src/com/android/email/service/
DImapService.java224 fp.add(FetchProfile.Item.STRUCTURE); in loadUnsyncedMessages()
251 fp.add(FetchProfile.Item.FLAGS); in downloadFlagAndEnvelope()
252 fp.add(FetchProfile.Item.ENVELOPE); in downloadFlagAndEnvelope()
580 fp.add(FetchProfile.Item.FLAGS); in synchronizeMailboxGeneric()
1305 fp.add(FetchProfile.Item.ENVELOPE); in processPendingAppend()
1326 fp.add(FetchProfile.Item.BODY); in processPendingAppend()
1345 fp2.add(FetchProfile.Item.ENVELOPE); in processPendingAppend()
1449 fp.add(FetchProfile.Item.FLAGS); in searchMailboxImpl()
1450 fp.add(FetchProfile.Item.ENVELOPE); in searchMailboxImpl()
1499 fp.add(FetchProfile.Item.STRUCTURE); in searchMailboxImpl()
/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/PhaseBeam/src/com/android/phasebeam/
DPhaseBeamRS.java129 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/Galaxy4/src/com/android/galaxy4/
DGalaxyRS.java153 ScriptField_VpConsts.Item i = new ScriptField_VpConsts.Item(); in updateProjectionMatrices()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DFetchProfile.java39 public enum Item implements Fetchable { enum in FetchProfile
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java26 import android.content.ClipData.Item;
2097 data.addItem(new Item(String.valueOf(conversation.position))); in beginDragMode()