Searched refs:mItems (Results 1 – 6 of 6) sorted by relevance
32 private ArrayList<String> mItems = new ArrayList<>(); field in History41 while (mItems.size() > mMaxSize) { in ensureMaxSize()42 mItems.remove(0); in ensureMaxSize()47 mItems.clear(); in load()49 mItems.addAll(Arrays.asList( in load()55 String[] items = mItems.toArray(new String[mItems.size()]); in save()65 mItems.removeIf(v -> v.equals(fitem)); in add()66 mItems.add(item); in add()73 for (int i = mItems.size() - 1; i >= 0; i--) { in addAllTo()74 col.add(mItems.get(i)); in addAllTo()
87 private List<SampleInfo> mItems; field in AppNavHomeActivity.SampleAdapter90 mItems = items; in SampleAdapter()95 return mItems.size(); in getCount()100 return mItems.get(position); in getItem()116 tv.setText(mItems.get(position).name); in getView()
47 private List<Item> mItems = new ArrayList<Item>(); field in RecipeListAdapter87 mItems.addAll(items); in appendItemsToList()95 return mItems.size(); in getCount()100 return mItems.get(position); in getItem()147 return mItems.isEmpty(); in isEmpty()171 return mItems.get(position).name; in getItemName()
154 private List<ComplicationItem> mItems; field in ComplicationSimpleConfigActivity.ConfigurationAdapter160 mItems = items; in ConfigurationAdapter()188 imageView.setImageDrawable(mItems.get(position).icon); in onBindViewHolder()191 textView.setText(mItems.get(position).title); in onBindViewHolder()198 return mItems.size(); in getItemCount()202 return mItems.get(position); in getItem()
50 private final ArrayList<ContentItem> mItems = getSampleContent(); field in MainActivity100 return mItems.size();122 final ContentItem item = mItems.get(position);160 ContentItem item = mItems.get(position); in setShareIntent()
515 private final List<MotoGpStatItem> mItems; field in PrintCustomContent.MotoGpStatAdapter519 mItems = items; in MotoGpStatAdapter()524 return new ArrayList<MotoGpStatItem>(mItems); in cloneItems()529 return mItems.size(); in getCount()534 return mItems.get(position); in getItem()