/frameworks/base/core/java/android/app/ |
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...] |
ExpandableListActivity.java | 160 ExpandableListView mList; 220 mList = (ExpandableListView)findViewById(com.android.internal.R.id.list); 221 if (mList == null) { 227 mList.setEmptyView(emptyView); 229 mList.setOnChildClickListener(this); 230 mList.setOnGroupExpandListener(this); 231 mList.setOnGroupCollapseListener(this); 246 mList.setAdapter(adapter); 258 return mList; 270 if (mList != null) [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/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...] |
/frameworks/base/core/java/android/content/pm/ |
ParceledListSlice.java | 46 private final List<T> mList; 49 mList = list; 54 mList = new ArrayList<T>(N); 65 mList.add(p.readCreator(creator, loader)); 66 if (DEBUG) Log.d(TAG, "Read inline #" + i + ": " + mList.get(mList.size()-1)); 85 mList.add(reply.readCreator(creator, loader)); 86 if (DEBUG) Log.d(TAG, "Read extra #" + i + ": " + mList.get(mList.size()-1)); 95 return mList; [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();
|
/packages/apps/Camera2/src/com/android/camera/data/ |
LocalDataList.java | 50 private LinkedList<LocalData> mList = new LinkedList<LocalData>(); 54 return mList.get(index); 58 LocalData removedItem = mList.remove(index); 68 mList.set(pos, data); 73 mList.add(data); 78 mList.add(pos, data); 83 return mList.size(); 87 Collections.sort(mList, comparator); 99 return mList.indexOf(new UriWrapper(uri));
|
/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...] |
/libcore/benchmarks/src/benchmarks/ |
ArrayListIterationBenchmark.java | 29 ArrayList<Foo> mList = new ArrayList<Foo>(); 31 for (int i = 0; i < 27; ++i) mList.add(new Foo()); 36 ArrayList<Foo> list = mList; 46 for (Foo a : mList) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
CommandQueue.java | 67 private StatusBarIconList mList; 105 mList = list; 109 synchronized (mList) { 117 synchronized (mList) { 125 synchronized (mList) { 134 synchronized (mList) { 143 synchronized (mList) { 149 synchronized (mList) { 156 synchronized (mList) { 163 synchronized (mList) { [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/Email/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...] |
/frameworks/support/v4/java/android/support/v4/app/ |
ListFragment.java | 51 mList.focusableViewAvailable(mList); 63 ListView mList; 154 mList = null; 181 if (mList != null) { 182 mList.setAdapter(adapter); 199 mList.setSelection(position); 207 return mList.getSelectedItemPosition(); 215 return mList.getSelectedItemId(); 223 return mList; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
Profile.java | 56 private ArrayList<WatchEntry> mList = new ArrayList<WatchEntry>(); 83 mList.add(e); 88 for (int i = 0; i < mList.size(); i++) { 89 if (mList.get(i).thread == thread) { 90 mList.remove(i); 98 mList.clear(); 104 if (mList.size() == 0) return; 109 for (WatchEntry entry : mList) { 140 for (int i = 0; i < mList.size(); i++) { 141 WatchEntry entry = mList.get(i) [all...] |
/frameworks/base/core/java/android/preference/ |
PreferenceFragment.java | 109 private ListView mList; 133 mList.focusableViewAvailable(mList); 202 mList = null; 337 return mList; 341 if (mList != null) { 354 mList = (ListView)rawListView; 355 if (mList == null) { 360 mList.setOnKeyListener(mListOnKeyListener); 368 Object selectedItem = mList.getSelectedItem() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderPreviewList.java | 51 private final List<ConfigurationDescription> mList = Lists.newArrayList(); 97 if (!mList.isEmpty()) { 107 for (ConfigurationDescription description : mList) { 116 mList.clear(); 128 mList.add(description); 142 if (mList.isEmpty()) { 151 for (ConfigurationDescription description : mList) { 192 mList.remove(description); 197 return mList.isEmpty(); 206 mList.add(description) [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
SlideshowEditActivity.java | 72 private ListView mList; 88 mList = getListView(); 90 mList.addFooterView(mAddSlideItem); 122 registerForContextMenu(mList); 157 mList.setSelection(mState.getInt(SLIDE_INDEX, 0)); 170 if (mList.getSelectedItemPosition() >= 0) { 171 mState.putInt(SLIDE_INDEX, mList.getSelectedItemPosition()); 222 mList.setAdapter(mSlideListAdapter); 229 int position = mList.getSelectedItemPosition(); 230 if ((position >= 0) && (position != (mList.getCount() - 1))) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintListDialog.java | 66 private LintList mList; 86 mList.dispose(); 114 mList = new LintList(site, container, null /*memento*/, true /*singleFile*/); 115 mList.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 6)); 162 mList.addSelectionListener(this); 164 mList.setResources(Collections.<IResource>singletonList(mFile)); 165 mList.selectFirst(); 166 if (mList.getSelectedMarkers().size() > 0) { 203 if (source == mList.getTreeViewer().getControl()) { 207 List<IMarker> selection = mList.getSelectedMarkers() [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
PhotoFallbackEffect.java | 61 private ArrayList<Entry> mList = new ArrayList<Entry>(); 69 mList.add(new Entry(path, rect, texture)); 73 for (int i = 0, n = mList.size(); i < n; ++i) { 74 Entry entry = mList.get(i); 82 for (int i = 0, n = mList.size(); i < n; ++i) { 83 Entry entry = mList.get(i); 164 for (int i = 0, n = mList.size(); i < n; ++i) { 165 Entry entry = mList.get(i); 173 for (int i = 0, n = mList.size(); i < n; ++i) { 174 Entry entry = mList.get(i) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ |
MailLogService.java | 67 final Queue<Pair<Long, String>> mList = new LinkedList<Pair<Long, String>>(); 91 mList.remove(); 97 mList.add(new Pair<Long, String>(System.currentTimeMillis(), message)); 103 for (final Pair<Long, String> s : mList) {
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
HomeXLarge.java | 38 ContactsListFragment mList; 47 mList = new ContactsListFragment(); 48 mList.setController(this); 51 transaction.add(R.id.contacts_list, mList);
|