/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | AppWidgetLoader.java | 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() [all …]
|
D | ActivityPicker.java | 103 List<PickAdapter.Item> items = getItems(); in onCreate() 133 PickAdapter.Item item = (PickAdapter.Item) mAdapter.getItem(position); in getIntentForPosition() 144 protected List<PickAdapter.Item> getItems() { in getItems() 146 List<PickAdapter.Item> items = new ArrayList<PickAdapter.Item>(); in getItems() 171 items.add(new PickAdapter.Item(this, label, icon)); in getItems() 186 protected void putIntentItems(Intent baseIntent, List<PickAdapter.Item> items) { in putIntentItems() 195 items.add(new PickAdapter.Item(this, packageManager, resolveInfo)); in putIntentItems() 208 public static class Item implements AppWidgetLoader.LabelledItem { class in ActivityPicker.PickAdapter 229 Item(Context context, CharSequence label, Drawable icon) { in Item() method in ActivityPicker.PickAdapter.Item 238 Item(Context context, PackageManager pm, ResolveInfo resolveInfo) { in Item() method in ActivityPicker.PickAdapter.Item [all …]
|
D | AppWidgetPickActivity.java | 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()
|
D | SmsDefaultDialog.java | 165 private class Item { class in SmsDefaultDialog.AppListAdapter 170 public Item(String label, Drawable icon, String packageName) { in Item() method in SmsDefaultDialog.AppListAdapter.Item 178 private final List<Item> mItems; 187 Item item = mItems.remove(selected); in AppListAdapter() 211 Item item = ((Item) getItem(position)); in getView() 233 Item item = (Item) getItem(position); in getPackageName() 251 private List<Item> getItems() { in getItems() 253 List<Item> items = new ArrayList<>(); in getItems() 260 items.add(new Item( in getItems()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AppWidgetLoader.java | 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() [all …]
|
D | ActivityPicker.java | 103 List<PickAdapter.Item> items = getItems(); in onCreate() 133 PickAdapter.Item item = (PickAdapter.Item) mAdapter.getItem(position); in getIntentForPosition() 144 protected List<PickAdapter.Item> getItems() { in getItems() 146 List<PickAdapter.Item> items = new ArrayList<PickAdapter.Item>(); in getItems() 171 items.add(new PickAdapter.Item(this, label, icon)); in getItems() 186 protected void putIntentItems(Intent baseIntent, List<PickAdapter.Item> items) { in putIntentItems() 195 items.add(new PickAdapter.Item(this, packageManager, resolveInfo)); in putIntentItems() 208 public static class Item implements AppWidgetLoader.LabelledItem { class in ActivityPicker.PickAdapter 229 Item(Context context, CharSequence label, Drawable icon) { in Item() method in ActivityPicker.PickAdapter.Item 238 Item(Context context, PackageManager pm, ResolveInfo resolveInfo) { in Item() method in ActivityPicker.PickAdapter.Item [all …]
|
D | AppWidgetPickActivity.java | 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()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GalleryPicker.java | 233 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/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootsFragment.java | 99 final Item item = mAdapter.getItem(position); 109 final Item item = mAdapter.getItem(position); 125 private List<Item> mApplicationItemList; 183 final Item item = mAdapter.getItem(pos); in onRightClick() 217 final Item item = getItem(v); in onActivityCreated() 247 List<Item> sortedItems = sortLoadResult(roots, excludePackage, handlerAppIntent, in onActivityCreated() 274 List<Item> sortLoadResult( in sortLoadResult() 279 final List<Item> result = new ArrayList<>(); in sortLoadResult() 330 for (Item item : otherProviders) { in sortLoadResult() 343 Intent handlerAppIntent, @Nullable String excludePackage, List<Item> result, in includeHandlerApps() [all …]
|
D | RootsAdapter.java | 36 class RootsAdapter extends ArrayAdapter<Item> { 50 List<Item> items, in RootsAdapter() 83 final Item item = getItem(position); in getView() 108 final Item item = getItem(position); in getItemViewType()
|
D | DragHost.java | 38 private final Lookup<View, Item> mDestinationLookup; 44 Lookup<View, Item> destinationLookup, in DragHost() 81 final Item item = mDestinationLookup.lookup(v); in onDragEntered()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | Pop3StoreUnitTests.java | 535 fp.add(FetchProfile.Item.FLAGS); in testCatchClosed2() 536 fp.add(FetchProfile.Item.ENVELOPE); in testCatchClosed2() 583 fp.add(FetchProfile.Item.FLAGS); in testCatchClosed2a() 584 fp.add(FetchProfile.Item.ENVELOPE); in testCatchClosed2a() 630 fp.add(FetchProfile.Item.FLAGS); in testCatchClosed3() 631 fp.add(FetchProfile.Item.ENVELOPE); in testCatchClosed3() 642 fp.add(FetchProfile.Item.BODY); in testCatchClosed3() 792 fp.add(FetchProfile.Item.FLAGS); in checkOneUnread() 793 fp.add(FetchProfile.Item.ENVELOPE); in checkOneUnread() 810 fp.add(FetchProfile.Item.BODY); in checkOneUnread() [all …]
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | CustomizeChannelListFragment.java | 59 private final List<Item> mItems = new ArrayList<>(); 112 for (Item item : mItems) { in onCreateView() 159 protected List<Item> getItemList() { in getItemList() 172 private void cleanUpOneChannelGroupItem(List<Item> items) { in cleanUpOneChannelGroupItem() 173 Iterator<Item> iter = items.iterator(); in cleanUpOneChannelGroupItem() 175 Item item = iter.next(); in cleanUpOneChannelGroupItem() 186 private void addItemForGroupBySource(List<Item> items) { in addItemForGroupBySource() 209 private void addItemForGroupByHdSd(List<Item> items) { in addItemForGroupByHdSd() 353 protected List<Item> getItemList() { in getItemList() 354 List<Item> items = new ArrayList<>(); in getItemList()
|
D | SideFragment.java | 43 public abstract class SideFragment<T extends Item> extends Fragment implements HasTrackerLabel { 193 protected void notifyItemChanged(Item item) { in notifyItemChanged() 251 private static class ItemAdapter<T extends Item> extends RecyclerView.Adapter<ViewHolder> { 317 public Item mItem; 325 public void onBind(ItemAdapter adapter, Item item) { in onBind()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkLauncherActivity.java | 32 import com.android.internal.telephony.cat.Item; 51 private ArrayList<Item> mStkMenuList = null; 91 Item item = getSelectedItem(position); in onListItemClick() 148 private Item getSelectedItem(int position) { in getSelectedItem() 149 Item item = null; in getSelectedItem() 175 mStkMenuList = new ArrayList<Item>(); in addStkMenuListItems() 197 Item item = new Item(i, stkItemName, icon); in addStkMenuListItems()
|
D | StkMenuAdapter.java | 19 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()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PopupList.java | 44 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()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | AppsRowManagerTest.java | 38 import com.android.documentsui.sidebar.Item; 82 final List<Item> rootList = new ArrayList<>(); in testUpdateList_byRootItem() 101 List<Item> hybridList = new ArrayList<>(); in testUpdateList_byHybridItem() 120 final List<Item> rootList = new ArrayList<>(); in testUpdateView_matchedState_showRow() 133 final List<Item> rootList = new ArrayList<>(); in testUpdateView_notInRecent_hideRow() 149 final List<Item> rootList = new ArrayList<>(); in testUpdateView_notHandledAction_hideRow() 163 final List<Item> rootList = new ArrayList<>(); in testUpdateView_noItems_hideRow()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | RatingSystemsFragment.java | 27 import com.android.tv.ui.sidepanel.Item; 74 protected List<Item> getItemList() { in getItemList() 81 List<Item> items = new ArrayList<>(); in getItemList() 82 List<Item> itemsHidden = new ArrayList<>(); in getItemList() 83 List<Item> itemsHiddenMultipleCountries = new ArrayList<>(); in getItemList() 115 final List<Item> allItems = new ArrayList<>(items); in getItemList()
|
D | ProgramRestrictionsFragment.java | 21 import com.android.tv.ui.sidepanel.Item; 53 protected List<Item> getItemList() { in getItemList() 54 List<Item> items = new ArrayList<>(); in getItemList()
|
D | ChannelsBlockedFragment.java | 40 import com.android.tv.ui.sidepanel.Item; 60 private final Item mLockAllItem = new BlockAllItem(); 61 private final List<Item> mItems = new ArrayList<>(); 127 protected List<Item> getItemList() { in getItemList()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/ |
D | RootsFragmentTest.java | 69 List<Item> items = mRootsFragment.sortLoadResult(createFakeRootInfoList(), in testSortLoadResult_WithCorrectOrder() 79 final List<Item> rootList = new ArrayList<>(); in testItemComparator_WithCorrectOrder() 97 final List<Item> rootList = new ArrayList<>(); in testItemComparator_differentItemTypes_WithCorrectOrder() 116 private boolean assertSortedResult(List<Item> items) { in assertSortedResult() 118 Item item = items.get(i); in assertSortedResult()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
D | ImapFolder.java | 268 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal() 271 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetchInternal() 276 if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetchInternal() 280 if (fp.contains(FetchProfile.Item.BODY_SANE)) { in fetchInternal() 283 if (fp.contains(FetchProfile.Item.BODY)) { in fetchInternal() 322 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal() 337 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetchInternal() 355 if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetchInternal() 366 if (fp.contains(FetchProfile.Item.BODY) || fp.contains(FetchProfile.Item.BODY_SANE)) { in fetchInternal()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | RuntimeDocumentClipper.java | 76 ClipData.Item item = clipData.getItemAt(i); in hasItemsToPaste() 134 final ArrayList<ClipData.Item> clipItems = new ArrayList<>(); in createStandardClipData() 142 clipItems.add(new ClipData.Item(uri)); in createStandardClipData() 162 final ArrayList<ClipData.Item> clipItems = new ArrayList<>(capacity); in createJumboClipData() 171 clipItems.add(new ClipData.Item(uri)); in createJumboClipData() 325 ClipDescription description, ArrayList<ClipData.Item> clipItems) { in createClipData()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapFolder.java | 646 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal() 649 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetchInternal() 654 if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetchInternal() 658 if (fp.contains(FetchProfile.Item.BODY_SANE)) { in fetchInternal() 661 if (fp.contains(FetchProfile.Item.BODY)) { in fetchInternal() 700 if (fp.contains(FetchProfile.Item.FLAGS)) { in fetchInternal() 716 if (fp.contains(FetchProfile.Item.ENVELOPE)) { in fetchInternal() 728 if (fp.contains(FetchProfile.Item.STRUCTURE)) { in fetchInternal() 742 if (fp.contains(FetchProfile.Item.BODY) in fetchInternal() 743 || fp.contains(FetchProfile.Item.BODY_SANE)) { in fetchInternal()
|