/frameworks/av/media/libstagefright/webm/ |
LinkedBlockingQueue.h | 28 List<T> mList; 34 while (mList.empty()) { 37 T e = *(mList.begin()); 39 mList.erase(mList.begin()); 55 return mList.empty(); 60 mList.clear(); 73 mList.push_back(e);
|
/frameworks/base/core/java/android/app/ |
ExpandableListActivity.java | 159 ExpandableListView mList; 219 mList = (ExpandableListView)findViewById(com.android.internal.R.id.list); 220 if (mList == null) { 226 mList.setEmptyView(emptyView); 228 mList.setOnChildClickListener(this); 229 mList.setOnGroupExpandListener(this); 230 mList.setOnGroupCollapseListener(this); 245 mList.setAdapter(adapter); 257 return mList; 269 if (mList != null) [all...] |
ListActivity.java | 185 protected ListView mList; 192 mList.focusableViewAvailable(mList); 241 mList = (ListView)findViewById(com.android.internal.R.id.list); 242 if (mList == null) { 248 mList.setEmptyView(emptyView); 250 mList.setOnItemClickListener(mOnClickListener); 265 mList.setAdapter(adapter); 276 mList.setSelection(position); 283 return mList.getSelectedItemPosition() [all...] |
ListFragment.java | 153 mList.focusableViewAvailable(mList); 165 ListView mList; 212 mList = null; 239 if (mList != null) { 240 mList.setAdapter(adapter); 257 mList.setSelection(position); 265 return mList.getSelectedItemPosition(); 273 return mList.getSelectedItemId(); 281 return mList; [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapMessageListing.java | 35 private List<BluetoothMapMessageListingElement> mList; 38 mList = new ArrayList<BluetoothMapMessageListingElement>(); 41 mList.add(element); 54 if(mList != null) 56 return mList.size(); 76 return mList; 101 for (BluetoothMapMessageListingElement element : mList) { 117 Collections.sort(mList); 121 count = Math.min(count, mList.size() - offset); 123 mList = mList.subList(offset, offset + count) [all...] |
BluetoothMapConvoListing.java | 42 private List<BluetoothMapConvoListingElement> mList; 45 mList = new ArrayList<BluetoothMapConvoListingElement>(); 48 mList.add(element); 61 if(mList != null) 63 return mList.size(); 83 return mList; 105 for (BluetoothMapConvoListingElement element : mList) { 121 Collections.sort(mList); 125 count = Math.min(count, mList.size() - offset); 127 mList = mList.subList(offset, offset + count) [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
CircularArray.java | 29 Object mList[]; 47 mList = new Object[mMaxCount]; 56 mList[mNextWriter] = object; 88 return (E) mList[mNextWriter]; 106 return (E) mList[wrappedIndex]; 108 return (E) mList[index];
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
AbsSpinnerBindingObject.java | 37 private ObservableList<String> mList = new ObservableArrayList<String>(); 40 mList.add("Hello"); 41 mList.add("World"); 54 return mList;
|
/libcore/benchmarks/src/benchmarks/ |
ArrayListIterationBenchmark.java | 25 ArrayList<Foo> mList = new ArrayList<Foo>(); 27 for (int i = 0; i < 27; ++i) mList.add(new Foo()); 32 ArrayList<Foo> list = mList; 42 for (Foo a : mList) {
|
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
MockImageList.java | 12 private final ArrayList<IImage> mList = new ArrayList<IImage>(); 25 return mList.size(); 29 return mList.get(i); 37 return mList.indexOf(image); 41 return mList.isEmpty(); 45 return mList.remove(image); 49 return mList.remove(i) != null; 53 mList.add(image);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
GLListProperty.java | 27 private final List<IGLProperty> mList; 41 mList = new ArrayList<IGLProperty>(size); 44 mList.add(p); 51 mList = props; 54 for (IGLProperty p : mList) { 60 return mList; 64 return mList.get(index); 69 return mList.add(property); 73 return mList.remove(property); 78 mList.set(index, property) [all...] |
/development/apps/Development/src/com/android/development/ |
ArrayAdapter.java | 37 mList = list; 43 if (mList == null) { 47 return mList.get(position); 51 return mList != null ? mList.size() : 0; 69 bindView(view, mList.get(position)); 76 private List<E> mList;
|
AppHwConfigList.java | 92 if(mList == null) { 93 mList = new ArrayList<PackageInfo>(); 95 mList.add(pkgInfo); 98 if (mList != null) { 99 Collections.sort(mList, sDisplayNameComparator); 104 if (mList == null) { 107 return mList.get(position); 111 return mList != null ? mList.size() : 0; 130 bindView(view, mList.get(position)) [all...] |
RunningProcesses.java | 84 if(mList == null) { 85 mList = new ArrayList<ListItem>(); 87 mList.add(new ListItem(app)); 89 if (mList != null) { 90 Collections.sort(mList, sDisplayNameComparator); 95 if (mList == null) { 98 return mList.get(position); 102 return mList != null ? mList.size() : 0; 121 bindView(view, mList.get(position)) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
BytesBufferPool.java | 66 private final ArrayList<BytesBuffer> mList; 69 mList = new ArrayList<BytesBuffer>(poolSize); 75 int n = mList.size(); 76 return n > 0 ? mList.remove(n - 1) : new BytesBuffer(mBufferSize); 81 if (mList.size() < mPoolSize) { 84 mList.add(buffer); 89 mList.clear();
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
SwipeRefreshLayoutActivityList.java | 28 private ListView mList; 34 mList = (ListView) findViewById(R.id.content); 37 mList.setAdapter(arrayAdapter);
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectSyncedCalendarsMultiAccountActivity.java | 41 private ExpandableListView mList; 55 mList = getExpandableListView(); 56 mList.setEmptyView(findViewById(R.id.loading)); 90 mList.setAdapter(mAdapter); 93 int count = mList.getCount(); 95 mList.expandGroup(i); 128 mList = getExpandableListView(); 129 if(mList != null) { 130 int count = mList.getCount(); 133 isExpanded[i] = mList.isGroupExpanded(i) [all...] |
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
SortedListTest.java | 39 SortedList<Item> mList; 111 mList = new SortedList<Item>(Item.class, mCallback); 116 assertEquals("empty", mList.size(), 0); 177 assertEquals(2, mList.size()); 178 mList.clear(); 179 assertEquals(0, mList.size()); 181 assertEquals(1, mList.size()); 186 mList.beginBatchedUpdates(); 188 mList.add(new Item(i)); 191 mList.endBatchedUpdates() [all...] |
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
ObservableListAdapter.java | 30 private List<T> mList; 50 if (mList == list) { 53 if (mList instanceof ObservableList) { 54 ((ObservableList) mList).removeOnListChangedCallback(mListChangedCallback); 56 mList = list; 57 if (mList instanceof ObservableList) { 90 ((ObservableList) mList).addOnListChangedCallback(mListChangedCallback); 97 return mList.size(); 102 return mList.get(position); 131 T item = mList.get(position) [all...] |
/frameworks/av/include/camera/ |
CameraParameters2.h | 120 return mList.add(Pair(key, value)); 124 return mList.size(); 128 return mList[idx].mKey; 132 return mList[idx].mValue; 144 for (; vectorIdx < mList.size(); ++vectorIdx) { 145 if (mList[vectorIdx].mKey == key) { 160 return mList.removeAt(vectorIdx); 164 mList.clear(); 184 Vector<Pair> mList;
|
/packages/apps/Camera2/src/com/android/camera/data/ |
FilmstripItemList.java | 55 private final LinkedList<FilmstripItem> mList = new LinkedList<FilmstripItem>(); 59 return mList.get(index); 71 FilmstripItem removedItem = mList.remove(index); 85 mList.set(pos, data); 90 mList.add(data); 95 mList.add(pos, data); 106 return mList.size(); 110 Collections.sort(mList, comparator); 122 return mList.indexOf(new UriWrapper(uri));
|
/frameworks/base/core/java/android/content/pm/ |
ParceledListSlice.java | 52 private final List<T> mList; 59 mList = list; 65 mList = new ArrayList<T>(N); 87 mList.add(parcelable); 89 if (DEBUG) Log.d(TAG, "Read inline #" + i + ": " + mList.get(mList.size()-1)); 111 mList.add(parcelable); 113 if (DEBUG) Log.d(TAG, "Read extra #" + i + ": " + mList.get(mList.size()-1)); 130 return mList; [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/ |
GenericView.java | 25 private List<T> mList; 44 mList = list; 48 return mList;
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
ImapList.java | 39 private ArrayList<ImapElement> mList = new ArrayList<ImapElement>(); 45 mList.add(e); 59 return mList.size(); 90 return (index >= mList.size()) ? ImapElement.NONE : mList.get(index); 118 return mList.get(i); 172 if (mList != null) { 173 for (ImapElement e : mList) { 176 mList = null; 183 return mList.toString() [all...] |
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/ |
ImapList.java | 39 private ArrayList<ImapElement> mList = new ArrayList<ImapElement>(); 45 mList.add(e); 59 return mList.size(); 90 return (index >= mList.size()) ? ImapElement.NONE : mList.get(index); 118 return mList.get(i); 172 if (mList != null) { 173 for (ImapElement e : mList) { 176 mList = null; 183 return mList.toString() [all...] |