/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 | 103 final Item item = mAdapter.getItem(position); 113 final Item item = mAdapter.getItem(position); 129 private List<Item> mApplicationItemList; 196 final Item item = mAdapter.getItem(pos); in onRightClick() 230 final Item item = getItem(v); in onActivityCreated() 275 List<Item> sortedItems = sortLoadResult( in onActivityCreated() 349 List<Item> sortLoadResult( in sortLoadResult() 359 final List<Item> result = new ArrayList<>(); in sortLoadResult() 402 final List<Item> rootList = new ArrayList<>(); in sortLoadResult() 403 final List<Item> rootListOtherUser = new ArrayList<>(); in sortLoadResult() [all …]
|
D | UserItemsCombiner.java | 42 private List<Item> mRootList; 43 private List<Item> mRootListOtherUser; 57 UserItemsCombiner setRootListForCurrentUser(List<Item> rootList) { in setRootListForCurrentUser() 62 UserItemsCombiner setRootListForOtherUser(List<Item> rootList) { in setRootListForOtherUser() 71 public List<Item> createPresentableList() { in createPresentableList() 75 final List<Item> result = new ArrayList<>(); in createPresentableList() 79 final List<Item> personalRootList; in createPresentableList() 80 final List<Item> workRootList; in createPresentableList()
|
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/DocumentsUI/tests/unit/com/android/documentsui/sidebar/ |
D | UserItemsCombinerTest.java | 53 private static final List<Item> PERSONAL_ITEMS = Lists.newArrayList( 59 private static final List<Item> WORK_ITEMS = Lists.newArrayList( 63 private static final Correspondence<Item, Item> ITEM_CORRESPONDENCE = 64 Correspondence.from((Item actual, Item expected) -> { 140 List<Item> expected = Lists.newArrayList(); in testCreatePresentableList_currentIsPersonal_personalAndWorkItems() 159 List<Item> expected = Lists.newArrayList(); in testCreatePresentableList_currentIsWork_personalAndWorkItems() 203 private static class TestItem extends Item {
|
D | RootsFragmentTest.java | 73 List<Item> items = mRootsFragment.sortLoadResult( in testSortLoadResult_WithCorrectOrder() 89 final List<Item> rootList = new ArrayList<>(); in testItemComparator_WithCorrectOrder() 107 final List<Item> rootList = new ArrayList<>(); in testItemComparator_differentItemTypes_WithCorrectOrder() 126 private boolean assertSortedResult(List<Item> items) { in assertSortedResult() 128 Item item = items.get(i); in assertSortedResult()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | ChooseSimActivity.java | 42 import com.google.android.setupdesign.items.Item; 157 Item subItem = (Item) item; in onItemSelected() 215 Item item = (Item) mItemGroup.getItemAt(mSelectedItemIndex); in onStateChange() 234 Item item = new DisableableItem(); in displaySubscriptions() 261 Item item = new DisableableItem(); in displaySubscriptions() 298 Item item = (Item) mItemGroup.getItemAt(itemIndex); in handleEnableRemovableSimError() 304 class DisableableItem extends Item implements Dividable {
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | AppsRowManagerTest.java | 42 import com.android.documentsui.sidebar.Item; 96 final List<Item> rootList = new ArrayList<>(); in testUpdateList_byRootItem() 121 List<Item> hybridList = new ArrayList<>(); in testUpdateList_byHybridItem() 141 final List<Item> rootList = new ArrayList<>(); in testUpdateView_matchedState_showRow() 155 final List<Item> rootList = new ArrayList<>(); in testUpdateView_showSelectedUserItems() 179 final List<Item> rootList = new ArrayList<>(); in testUpdateView_showSelectedUserItems_otherUser() 198 final List<Item> rootList = new ArrayList<>(); in testUpdateView_notInRecent_hideRow() 214 final List<Item> rootList = new ArrayList<>(); in testUpdateView_notHandledAction_hideRow() 228 final List<Item> rootList = new ArrayList<>(); in testUpdateView_noItems_hideRow() 242 final List<Item> rootList = new ArrayList<>(); in testUpdateView_crossProfileSearch_hideRow() [all …]
|
/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/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 | 46 public abstract class SideFragment<T extends Item> extends Fragment implements HasTrackerLabel { 199 protected void notifyItemChanged(Item item) { in notifyItemChanged() 257 private static class ItemAdapter<T extends Item> extends RecyclerView.Adapter<ViewHolder> { 323 public Item mItem; 331 public void onBind(ItemAdapter adapter, Item item) { in onBind()
|
D | DeveloperOptionFragment.java | 62 protected ImmutableList<Item> getItemList() { in getItemList() 63 ImmutableList.Builder<Item> items = ImmutableList.builder(); in getItemList() 121 ImmutableList<Item> getAdditionalDevItems(MainActivity mainActivity); in getAdditionalDevItems()
|
/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 | 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()
|
D | ParentalControlsFragment.java | 26 import com.android.tv.ui.sidepanel.Item; 56 protected List<Item> getItemList() { in getItemList() 57 List<Item> items = new ArrayList<>(); in getItemList()
|
/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/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_TRUNCATED)) { 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) in fetchInternal() 367 || fp.contains(FetchProfile.Item.BODY_TRUNCATED)) { in fetchInternal()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | AppsRowManager.java | 36 import com.android.documentsui.sidebar.Item; 62 public List<AppsRowItemData> updateList(List<Item> itemList) { in updateList() 67 for (Item item : itemList) { in updateList() 75 for (Item item : itemList) { in updateList()
|