/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
MockSet.java | 22 ArrayList<MediaItem> mItems = new ArrayList<MediaItem>(); 36 mItems.add(new MockItem(childPath)); 46 return mItems.size(); 52 int end = Math.min(start + count, mItems.size()); 55 result.add(mItems.get(i)); 72 int result = mItems.size();
|
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
StyleResourceValue.java | 32 private HashMap<String, ResourceValue> mItems = new HashMap<String, ResourceValue>(); 56 return mItems.get(name); 60 mItems.put(value.getName(), value); 69 mItems.clear(); 70 mItems.putAll(((StyleResourceValue)value).mItems); 80 return mItems.get(name);
|
AdapterBinding.java | 31 private final List<DataBindingItem> mItems = new ArrayList<DataBindingItem>(); 55 mItems.add(item); 59 return mItems.size(); 63 return mItems.get(index); 79 return mItems.iterator();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AddAdapter.java | 39 private final ArrayList<ListItem> mItems = new ArrayList<ListItem>(); 73 mItems.add(new ListItem(res, R.string.group_wallpapers, 93 return mItems.size(); 97 return mItems.get(position);
|
/frameworks/base/media/libstagefright/include/ |
M3UParser.h | 59 Vector<Item> mItems;
|
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ |
SimpleMenu.java | 41 private ArrayList<SimpleMenuItem> mItems; 46 mItems = new ArrayList<SimpleMenuItem>(); 78 mItems.add(findInsertIndex(mItems, order), item); 97 SimpleMenuItem item = mItems.get(i); 111 if ((index < 0) || (index >= mItems.size())) { 114 mItems.remove(index); 118 mItems.clear(); 124 SimpleMenuItem item = mItems.get(i); 134 return mItems.size() [all...] |
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MusicRetriever.java | 42 List<Item> mItems = new ArrayList<Item>(); 88 // add each song to mItems 91 mItems.add(new Item( 108 if (mItems.size() <= 0) return null; 109 return mItems.get(mRandom.nextInt(mItems.size()));
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenu.java | 40 private ArrayList<ActionMenuItem> mItems; 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.get(index).invoke() [all...] |
MenuBuilder.java | 87 private ArrayList<MenuItemImpl> mItems; 190 mItems = new ArrayList<MenuItemImpl>(); 397 mItems.add(findInsertIndex(mItems, ordering), item); 476 final int maxRemovable = mItems.size() - i; 478 while ((numRemoved++ < maxRemovable) && (mItems.get(i).getGroupId() == group)) { 499 if ((index < 0) || (index >= mItems.size())) return; 501 mItems.remove(index); 523 mItems.clear(); 531 final int N = mItems.size() [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
DialogDetailsView.java | 115 private final ArrayList<String> mItems; 120 mItems = new ArrayList<String>(details.size()); 131 mLocationIndex = mItems.size(); 189 mItems.add(value); 204 return mItems.size(); 223 tv.setText(mItems.get(position)); 228 mItems.set(mLocationIndex, address);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
FakeAdapter.java | 71 mItems.add(new AdapterItem(dataBindingItem, typeIndex, mItems.size(), index++)); 82 return mItems.size(); 86 return mItems.get(position); 94 return mItems.get(position).getType(); 99 AdapterItem item = mItems.get(position);
|
BaseAdapter.java | 103 protected final List<AdapterItem> mItems = new ArrayList<AdapterItem>(); 123 return mItems.size() == 0;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/ |
ListValueCellEditor.java | 32 private String[] mItems; 52 mItems = new String[items.length]; 53 System.arraycopy(items, 0, mItems, 0, items.length); 54 setItems(mItems);
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/ |
PkgCategory.java | 25 private final List<PkgItem> mItems = new ArrayList<PkgItem>(); 53 return mItems; 70 mItems.size());
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
MenuScenario.java | 33 private MenuItem[] mItems; 54 mItems = new MenuItem[mParams.numItems]; 75 mItems[i] = item; 141 if (mItems[i] == item) return i;
|
/frameworks/base/include/media/stagefright/foundation/ |
AMessage.h | 136 Item mItems[kMaxNumItems];
|
/frameworks/base/core/java/android/content/ |
ClipData.java | 149 final ArrayList<Item> mItems = new ArrayList<Item>(); 332 mItems.add(item); 347 mItems.add(item); 447 mItems.add(item); 459 return mItems.size(); 467 return mItems.get(index); 484 final int N = mItems.size(); 487 Item item = mItems.get(i); 516 mItems.add(new Item(text, intent, uri));
|
/packages/apps/Browser/src/com/android/browser/ |
PieControlXLarge.java | 164 List<MenuItem> mItems; 171 mItems = new ArrayList<MenuItem>(); 175 mItems.clear(); 179 mItems.add(item); 187 return mItems.size(); 192 return mItems.get(position); 209 final MenuItem item = mItems.get(position);
|
/packages/apps/Browser/src/com/android/browser/view/ |
PieMenu.java | 80 private List<PieItem> mItems; 122 mItems = new ArrayList<PieItem>(); 153 mItems.add(item); 160 mItems.remove(item); 164 mItems.clear(); 210 for (PieItem item : mItems) { 268 for (PieItem item : mItems) { 441 for (PieItem item : mItems) {
|
/frameworks/support/v4/java/android/support/v4/view/ |
ViewPager.java | 88 private final ArrayList<ItemInfo> mItems = new ArrayList<ItemInfo>(); 270 for (int i = 0; i < mItems.size(); i++) { 271 final ItemInfo ii = mItems.get(i); 275 mItems.clear(); 341 if (!always && mCurItem == item && mItems.size() != 0) { 355 for (int i=0; i<mItems.size(); i++) { 356 mItems.get(i).scrolling = true; 550 mItems.add(ii); 552 mItems.add(index, ii); 559 boolean needPopulate = mItems.size() < 3 && mItems.size() < mAdapter.getCount() [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestListAdapter.java | 142 mRows.addAll(result.mItems); 152 List<TestListItem> mItems; 158 mItems = items;
|
/frameworks/base/include/media/stagefright/ |
MetaData.h | 223 KeyedVector<uint32_t, typed_data> mItems;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
GlobalActions.java | 62 private ArrayList<Action> mItems; 190 mItems = Lists.newArrayList( 267 for (int i = 0; i < mItems.size(); i++) { 268 final Action action = mItems.get(i); 294 for (int i = 0; i < mItems.size(); i++) { 295 final Action action = mItems.get(i);
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/ |
DirListActivity.java | 158 private ListItem[] mItems; 164 mItems = items; 173 label.setText(mItems[position].getName()); 176 if (mItems[position].isDirectory()) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
TimeClustering.java | 353 private ArrayList<SmallItem> mItems = new ArrayList<SmallItem>(); 359 mItems.add(item); 363 return mItems.size(); 367 int n = mItems.size(); 368 return (n == 0) ? null : mItems.get(n - 1); 372 return mItems; 376 int n = mItems.size(); 381 long t = mItems.get(i).dateInMs;
|