Searched defs:mItems (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
H A DRecyclerItemAdapterTest.java32 private Item[] mItems = new Item[5]; field in class:RecyclerItemAdapterTest
45 mItems[i] = item;
54 assertEquals("Adapter should return the first item", mItems[0], adapter.getItem(0));
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DItemAdapterTest.java32 private Item[] mItems = new Item[5]; field in class:ItemAdapterTest
43 mItems[i] = item;
52 assertEquals("Adapter should return the first item", mItems[0], adapter.getItem(0));
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.h83 Vector<Item> mItems; member in struct:android::M3UParser
/frameworks/base/core/java/android/view/
H A DKeyboardShortcutGroup.java34 private final List<KeyboardShortcutInfo> mItems; field in class:KeyboardShortcutGroup
45 mItems = new ArrayList<>(checkNotNull(items));
64 mItems = new ArrayList<>(checkNotNull(items));
78 mItems = new ArrayList<>();
80 source.readTypedList(mItems, KeyboardShortcutInfo.CREATOR);
95 return mItems;
109 mItems.add(item);
120 dest.writeTypedList(mItems);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DSettingsDrawerAdapter.java33 private final ArrayList<Item> mItems = new ArrayList<>(); field in class:SettingsDrawerAdapter
42 mItems.clear();
44 mItems.add(null);
48 mItems.add(tile);
54 mItems.add(category);
61 mItems.add(tile);
68 return mItems.get(position) != null ? mItems.get(position).tile : null;
73 return mItems.size();
78 return mItems
[all...]
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/
H A DAppListFragment.java45 private List<Item> mItems; field in class:AppListFragment
59 final Item item = mItems.get(position);
100 mItems = new ArrayList(N);
103 mItems.add(new Item(ri.loadLabel(pm).toString(), new ComponentName(
111 return mItems.size();
116 return mItems.get(position);
136 final Item item = mItems.get(position);
H A DBrowserListFragment.java53 private List<Item> mItems = new ArrayList(); field in class:BrowserListFragment
102 final Item item = mItems.get(position);
136 mItems.clear();
139 mItems.add(new Item(children.get(i)));
174 return mItems.size();
179 return mItems.get(position);
199 final Item item = mItems.get(position);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeAdapter.java46 private final List<AdapterItem> mItems = new ArrayList<AdapterItem>(); field in class:FakeAdapter
78 mItems.add(new AdapterItem(dataBindingItem, typeIndex, mItems.size(), index++));
91 return mItems.size();
96 return mItems.get(position);
106 return mItems.get(position).getType();
112 AdapterItem item = mItems.get(position);
H A DFakeExpandableAdapter.java41 protected final List<AdapterItem> mItems = new ArrayList<AdapterItem>(); field in class:FakeExpandableAdapter
84 AdapterItem item = new AdapterItem(dataBindingItem, typeIndex, mItems.size(),
86 mItems.add(item);
103 AdapterItem item = mItems.get(groupPosition);
113 return mItems.size();
118 AdapterItem item = mItems.get(groupPosition);
124 return mItems.get(groupPosition);
136 AdapterItem item = mItems.get(groupPosition);
147 AdapterItem parentItem = mItems.get(groupPosition);
212 return mItems
[all...]
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
H A DMainActivity.java64 private final String[] mItems; field in class:MainActivity.MyAdapter
82 mItems = new String[ITEMS.length * COPIES];
85 mItems[i * ITEMS.length + j] = ITEMS[j];
92 return mItems.length;
97 return mItems[position];
124 v.getTypedDrawable().bind(new BitmapRequestKeyImpl(mItems[position]));
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DArrayObjectAdapter.java26 private ArrayList<Object> mItems = new ArrayList<Object>(); field in class:ArrayObjectAdapter
51 return mItems.size();
56 return mItems.get(index);
68 return mItems.indexOf(item);
88 add(mItems.size(), item);
99 mItems.add(index, item);
115 mItems.addAll(index, items);
126 int index = mItems.indexOf(item);
128 mItems.remove(index);
142 mItems
[all...]
H A DSparseArrayObjectAdapter.java11 private SparseArray<Object> mItems = new SparseArray<Object>(); field in class:SparseArrayObjectAdapter
36 return mItems.size();
41 return mItems.valueAt(position);
51 return mItems.indexOfValue(item);
61 return mItems.indexOfKey(key);
82 int index = mItems.indexOfKey(key);
84 if (mItems.valueAt(index) != item) {
85 mItems.setValueAt(index, item);
89 mItems.append(key, item);
90 index = mItems
[all...]
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
H A DGridTest.java31 int[] mItems; field in class:GridTest.Provider
36 mItems = items;
48 return mItems[index];
71 return mItems[index];
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DTileList.java87 public final T[] mItems; field in class:TileList.Tile
94 mItems = (T[]) Array.newInstance(klass, size);
102 return mItems[pos - mStartPosition];
/frameworks/base/core/tests/coretests/src/android/view/menu/
H A DMenuScenario.java33 private MenuItem[] mItems; field in class:MenuScenario
54 mItems = new MenuItem[mParams.numItems];
75 mItems[i] = item;
141 if (mItems[i] == item) return i;
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h219 Item mItems[kMaxNumItems]; member in struct:android::AMessage
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java190 final ArrayList<SentenceLevelAdapter.SentenceWordItem> mItems =
191 textInfoParams.mItems;
192 final int itemsSize = mItems.size();
195 splitTextInfos[j] = mItems.get(j).mTextInfo;
355 final ArrayList<SentenceWordItem> mItems; field in class:SpellCheckerService.SentenceLevelAdapter.SentenceTextInfoParams
359 mItems = items;
426 final SentenceWordItem item = originalTextInfoParams.mItems.get(i);
/frameworks/base/core/java/android/widget/
H A DDayPickerPagerAdapter.java44 private final SparseArray<ViewHolder> mItems = new SparseArray<>(); field in class:DayPickerPagerAdapter
99 final int count = mItems.size();
101 final SimpleMonthView monthView = mItems.valueAt(i).calendar;
121 final ViewHolder oldMonthView = mItems.get(oldPosition, null);
129 final ViewHolder newMonthView = mItems.get(newPosition, null);
264 mItems.put(position, holder);
276 mItems.remove(position);
287 final SimpleMonthView v = mItems.get(position).calendar;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenu.java40 private ArrayList<ActionMenuItem> mItems; field in class:ActionMenu
44 mItems = new ArrayList<ActionMenuItem>();
66 mItems.add(order, item);
122 mItems.clear();
129 final ArrayList<ActionMenuItem> items = mItems;
141 return mItems.get(findItemIndex(id));
145 return mItems.get(index);
149 final ArrayList<ActionMenuItem> items = mItems;
164 final ArrayList<ActionMenuItem> items = mItems;
188 return mItems
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentsCreateFragment.java211 @Nullable private List<DocumentStack> mItems; field in class:RecentsCreateFragment.DocumentStackAdapter
214 return mItems.get(position);
219 return mItems == null ? 0 : mItems.size();
223 return mItems == null ? true : mItems.isEmpty();
227 mItems = items;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java198 private QSDetailItems mItems; field in class:BluetoothTile.BluetoothDetailAdapter
229 mItems = QSDetailItems.convertOrInflate(context, convertView, parent);
230 mItems.setTagSuffix("Bluetooth");
231 mItems.setEmptyState(R.drawable.ic_qs_bluetooth_detail_empty,
233 mItems.setCallback(this);
236 return mItems;
240 if (mItems == null) return;
241 mItems.setItemsVisible(visible);
245 if (mItems == null) return;
267 mItems
[all...]
H A DCastTile.java180 private QSDetailItems mItems; field in class:CastTile.CastDetailAdapter
209 mItems = QSDetailItems.convertOrInflate(context, convertView, parent);
210 mItems.setTagSuffix("Cast");
213 mItems.addOnAttachStateChangeListener(new OnAttachStateChangeListener() {
226 mItems.setEmptyState(R.drawable.ic_qs_cast_detail_empty,
228 mItems.setCallback(this);
231 return mItems;
235 if (mItems == null) return;
272 mItems.setItems(items);
H A DWifiTile.java269 private QSDetailItems mItems; field in class:WifiTile.WifiDetailAdapter
305 mItems = QSDetailItems.convertOrInflate(context, convertView, parent);
306 mItems.setTagSuffix("Wifi");
307 mItems.setCallback(this);
308 mItems.setEmptyState(R.drawable.ic_qs_wifi_detail_empty,
312 return mItems;
347 if (mItems == null) return;
348 mItems.setItemsVisible(visible);
352 if (mItems == null) return;
369 mItems
[all...]
/frameworks/base/core/java/android/content/
H A DClipData.java167 final ArrayList<Item> mItems; field in class:ClipData
651 mItems = new ArrayList<Item>();
652 mItems.add(item);
667 mItems = new ArrayList<Item>();
668 mItems.add(item);
680 mItems = new ArrayList<Item>(other.mItems);
796 mItems.add(item);
808 return mItems.size();
816 return mItems
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDetailItems.java57 private Item[] mItems; field in class:QSDetailItems
144 mItems = items;
160 return mItems != null ? mItems.length : 0;
165 return mItems[position];
175 final Item item = mItems[position];

Completed in 663 milliseconds

12