/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 | 99 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 …]
|
D | SmsDefaultDialog.java | 145 private class Item { class in SmsDefaultDialog.AppListAdapter 150 public Item(String label, Drawable icon, String packageName) { in Item() method in SmsDefaultDialog.AppListAdapter.Item 158 private final List<Item> mItems; 167 Item item = mItems.remove(selected); in AppListAdapter() 191 Item item = ((Item) getItem(position)); in getView() 213 Item item = (Item) getItem(position); in getPackageName() 231 private List<Item> getItems() { in getItems() 233 List<Item> items = new ArrayList<>(); in getItems() 240 items.add(new Item( in getItems()
|
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/Settings/src/com/android/settings/dashboard/ |
D | DashboardData.java | 52 private final List<Item> mItems; 85 public List<Item> getItemList() { in getItemList() 94 for (final Item item : mItems) { in getItemEntityById() 210 mItems.add(new Item(object, type, mId + nameSpace, object == mExpandedCondition)); in countItem() 221 mItems.add(new Item(tile, R.layout.suggestion_tile, Objects.hash(tile.title), false)); in countSuggestion() 338 final private List<Item> mOldItems; 339 final private List<Item> mNewItems; 341 public ItemsDataDiffCallback(List<Item> oldItems, List<Item> newItems) { 369 if (mOldItems.get(oldItemPosition).type == Item.TYPE_CONDITION_CARD) { 379 private static class Item { [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | PopupPopulator.java | 59 public enum Item { enum in PopupPopulator 68 Item(int layoutId, boolean isShortcut) { in Item() method in PopupPopulator.Item 74 public static @NonNull Item[] getItemsToPopulate(@NonNull List<String> shortcutIds, in getItemsToPopulate() 85 Item[] items = new Item[numItems]; in getItemsToPopulate() 87 items[i] = Item.SHORTCUT; in getItemsToPopulate() 91 items[0] = Item.NOTIFICATION; in getItemsToPopulate() 96 items[numItems - 1 - i] = iconsOnly ? Item.SYSTEM_SHORTCUT_ICON : Item.SYSTEM_SHORTCUT; in getItemsToPopulate() 101 public static Item[] reverseItems(Item[] items) { in reverseItems() 104 Item[] reversedArray = new Item[numItems]; in reverseItems()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SideFragment.java | 161 public void setItems(List<Item> items) { in setItems() 196 protected void notifyItemChanged(Item item) { in notifyItemChanged() 232 protected abstract List<Item> getItemList(); in getItemList() 267 private List<Item> mItems; 269 private ItemAdapter(LayoutInflater layoutInflater, List<Item> items) { in ItemAdapter() 274 private void reset(List<Item> items) { in reset() 304 private Item getItem(int position) { in getItem() 308 private void clearRadioGroup(Item item) { in clearRadioGroup() 329 public Item mItem; 337 public void onBind(ItemAdapter adapter, Item item) { in onBind()
|
D | CustomizeChannelListFragment.java | 57 private final List<Item> mItems = new ArrayList<>(); 104 for (Item item : mItems) { in onCreateView() 148 protected List<Item> getItemList() { in getItemList() 161 private void cleanUpOneChannelGroupItem(List<Item> items) { in cleanUpOneChannelGroupItem() 162 Iterator<Item> iter = items.iterator(); in cleanUpOneChannelGroupItem() 164 Item item = iter.next(); in cleanUpOneChannelGroupItem() 175 private void addItemForGroupBySource(List<Item> items) { in addItemForGroupBySource() 198 private void addItemForGroupByHdSd(List<Item> items) { in addItemForGroupByHdSd() 344 protected List<Item> getItemList() { in getFragment() 345 List<Item> items = new ArrayList<>(); in getFragment()
|
/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/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutsItemView.java | 123 public void addShortcutView(View shortcutView, PopupPopulator.Item shortcutType) { in addShortcutView() 127 private void addShortcutView(View shortcutView, PopupPopulator.Item shortcutType, int index) { in addShortcutView() 128 if (shortcutType == PopupPopulator.Item.SHORTCUT) { in addShortcutView() 133 if (shortcutType == PopupPopulator.Item.SYSTEM_SHORTCUT_ICON) { in addShortcutView() 182 final PopupPopulator.Item widgetsItem = mSystemShortcutIcons == null in enableWidgetsIfExist() 183 ? PopupPopulator.Item.SYSTEM_SHORTCUT in enableWidgetsIfExist() 184 : PopupPopulator.Item.SYSTEM_SHORTCUT_ICON; in enableWidgetsIfExist() 190 if (widgetsItem == PopupPopulator.Item.SYSTEM_SHORTCUT_ICON) { in enableWidgetsIfExist() 202 if (widgetsItem == PopupPopulator.Item.SYSTEM_SHORTCUT_ICON) { in enableWidgetsIfExist()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkLauncherActivity.java | 33 import com.android.internal.telephony.cat.Item; 52 private ArrayList<Item> mStkMenuList = null; 92 Item item = getSelectedItem(position); in onListItemClick() 149 private Item getSelectedItem(int position) { in getSelectedItem() 150 Item item = null; in getSelectedItem() 173 mStkMenuList = new ArrayList<Item>(); in addStkMenuListItems() 184 Item item = new Item(i + 1, stkItemName, mBitMap); 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()
|
D | StkMenuActivity.java | 39 import com.android.internal.telephony.cat.Item; 138 Item item = getSelectedItem(position); in onListItemClick() 379 Item stkItem = getSelectedItem(position); in onContextItemSelected() 463 private Item getSelectedItem(int position) { in getSelectedItem() 464 Item item = null; in getSelectedItem()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootsFragment.java | 88 final Item item = mAdapter.getItem(position); 98 final Item item = mAdapter.getItem(position); 169 final Item item = mAdapter.getItem(pos); in onRightClick() 199 final Item item = mAdapter.getItem(position); in onActivityCreated() 223 List<Item> sortedItems = sortLoadResult(result, handlerAppIntent); in onActivityCreated() 242 private List<Item> sortLoadResult( in sortLoadResult() 244 final List<Item> result = new ArrayList<>(); in sortLoadResult() 288 private void includeHandlerApps(Intent handlerAppIntent, List<Item> result) { in includeHandlerApps() 370 final Item item = mAdapter.getItem(pos); in onDragEntered() 414 final Item item = mAdapter.getItem(position); in onViewHovered() [all …]
|
D | RootsAdapter.java | 36 class RootsAdapter extends ArrayAdapter<Item> { 45 List<Item> items, in RootsAdapter() 78 final Item item = getItem(position); in getView() 103 final Item item = getItem(position); in getItemViewType()
|
/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/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | RatingSystemsFragment.java | 28 import com.android.tv.ui.sidepanel.Item; 75 protected List<Item> getItemList() { in getItemList() 82 List<Item> items = new ArrayList<>(); in getItemList() 83 List<Item> itemsHidden = new ArrayList<>(); in getItemList() 84 List<Item> itemsHiddenMultipleCountries = new ArrayList<>(); in getItemList() 115 final List<Item> allItems = new ArrayList<>(items); in getItemList()
|
D | ChannelsBlockedFragment.java | 38 import com.android.tv.ui.sidepanel.Item; 58 private final Item mLockAllItem = new BlockAllItem(); 59 private final List<Item> mItems = new ArrayList<>(); 113 protected List<Item> getItemList() { in getItemList()
|
/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/services/Car/car-support-lib/src/android/support/car/app/menu/ |
D | CarMenu.java | 45 public void sendResult(List<Item> results) { in sendResult() 52 for (Item item : results) { in sendResult() 107 public interface Item { interface in CarMenu 153 static class ItemImpl implements Item { 363 public Item build() { in build()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | RuntimeDocumentClipper.java | 76 ClipData.Item item = clipData.getItemAt(i); in hasItemsToPaste() 117 final ArrayList<ClipData.Item> clipItems = new ArrayList<>(); in createStandardClipData() 127 clipItems.add(new ClipData.Item(uri)); in createStandardClipData() 150 final ArrayList<ClipData.Item> clipItems = new ArrayList<>(capacity); in createJumboClipData() 161 clipItems.add(new ClipData.Item(uri)); in createJumboClipData() 316 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()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/ |
D | BandController_GridModelTest.java | 254 for (TestEnvironment.Item item: env.items) { in verifySelection() 292 private List<Item> items = new ArrayList<>(); 314 items.add(new Item( in setupGrid() 452 public static final class Item { class in BandController_GridModelTest.TestEnvironment 456 public Item(String n, Rect r) { in Item() method in BandController_GridModelTest.TestEnvironment.Item
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | ImapService.java | 259 fp.add(FetchProfile.Item.STRUCTURE); in loadUnsyncedMessages() 286 fp.add(FetchProfile.Item.FLAGS); in downloadFlagAndEnvelope() 287 fp.add(FetchProfile.Item.ENVELOPE); in downloadFlagAndEnvelope() 630 fp.add(FetchProfile.Item.FLAGS); in synchronizeMailboxGeneric() 1373 fp.add(FetchProfile.Item.ENVELOPE); in processPendingAppend() 1394 fp.add(FetchProfile.Item.BODY); in processPendingAppend() 1413 fp2.add(FetchProfile.Item.ENVELOPE); in processPendingAppend() 1524 fp.add(FetchProfile.Item.FLAGS); in searchMailboxImpl() 1525 fp.add(FetchProfile.Item.ENVELOPE); in searchMailboxImpl() 1580 fp.add(FetchProfile.Item.STRUCTURE); in searchMailboxImpl()
|