Home
last modified time | relevance | path

Searched refs:mItems (Results 1 – 6 of 6) sorted by relevance

/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/
DHistory.java32 private ArrayList<String> mItems = new ArrayList<>(); field in History
41 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()
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
DAppNavHomeActivity.java87 private List<SampleInfo> mItems; field in AppNavHomeActivity.SampleAdapter
90 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()
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipeListAdapter.java47 private List<Item> mItems = new ArrayList<Item>(); field in RecipeListAdapter
87 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()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DComplicationSimpleConfigActivity.java154 private List<ComplicationItem> mItems; field in ComplicationSimpleConfigActivity.ConfigurationAdapter
160 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()
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/
DMainActivity.java50 private final ArrayList<ContentItem> mItems = getSampleContent(); field in MainActivity
100 return mItems.size();
122 final ContentItem item = mItems.get(position);
160 ContentItem item = mItems.get(position); in setShareIntent()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPrintCustomContent.java515 private final List<MotoGpStatItem> mItems; field in PrintCustomContent.MotoGpStatAdapter
519 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()