/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/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...] |
/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...] |
/frameworks/base/core/java/android/widget/ |
FastScroller.java | 93 AbsListView mList; 134 if (mList.mIsAttached) { 137 final int viewHeight = mList.getHeight(); 154 mList = listView; 185 position = mList.isLayoutRtl() ? 208 mList.invalidate(); 219 final int viewWidth = mList.getWidth(); 224 switch (mList.getLayoutDirection()) { 234 mList.invalidate(left, top, right, bottom); 246 final int viewWidth = mList.getWidth() [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...] |
/hardware/msm7k/libgralloc/ |
allocator.cpp | 38 while(!mList.isEmpty()) { 39 delete mList.remove(mList.head()); 50 mList.insertHead(node); 86 chunk_t* cur = mList.head(); 113 mList.insertBefore(free_chunk, split); 123 mList.insertAfter(free_chunk, split); 134 chunk_t* cur = mList.head(); 150 mList.remove(cur);
|
/hardware/msm7k/libgralloc-qsd8k/ |
allocator.cpp | 38 while(!mList.isEmpty()) { 39 delete mList.remove(mList.head()); 50 mList.insertHead(node); 86 chunk_t* cur = mList.head(); 113 mList.insertBefore(free_chunk, split); 123 mList.insertAfter(free_chunk, split); 134 chunk_t* cur = mList.head(); 150 mList.remove(cur);
|
/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...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
ClockFragment.java | 53 private ListView mList; 108 mList = (ListView)v.findViewById(R.id.cities); 109 mList.setDivider(null); 110 View headerView = inflater.inflate(R.layout.blank_header_view, mList, false); 111 mList.addHeaderView(headerView); 112 mClockFrame = inflater.inflate(R.layout.main_clock_frame, mList, false); 115 mList.addHeaderView(mClockFrame, null, false); 116 View footerView = inflater.inflate(R.layout.blank_footer_view, mList, false); 118 mList.addFooterView(footerView); 120 mList.setAdapter(mAdapter) [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...] |