/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);
|
/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...] |
InstrumentationList.java | 52 mList = context.getPackageManager().queryInstrumentation(mTargetPackage, 0); 53 if (mList != null) { 54 Collections.sort(mList, new InstrumentationInfo.DisplayNameComparator(mPM)); 60 if (mList == null) { 63 InstrumentationInfo ii = mList.get(position); 69 return mList != null ? mList.size() : 0; 91 bindView(view, mList.get(position)); 106 protected List<InstrumentationInfo> mList;
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectSyncedCalendarsMultiAccountActivity.java | 41 private ExpandableListView mList; 55 mList = getExpandableListView(); 67 mList.setAdapter(mAdapter); 70 int count = mList.getCount(); 72 mList.expandGroup(i); 114 mList = getExpandableListView(); 115 if(mList != null) { 116 int count = mList.getCount(); 119 isExpanded[i] = mList.isGroupExpanded(i); 131 mList = getExpandableListView() [all...] |
SelectVisibleCalendarsFragment.java | 64 private ListView mList; 110 mList = (ListView)mView.findViewById(R.id.list); 116 mList.setDivider(null); 129 mList.setAdapter(mAdapter); 130 mList.setOnItemClickListener(this);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
CommandQueue.java | 65 private StatusBarIconList mList; 97 mList = list; 101 synchronized (mList) { 109 synchronized (mList) { 117 synchronized (mList) { 126 synchronized (mList) { 135 synchronized (mList) { 141 synchronized (mList) { 148 synchronized (mList) { 155 synchronized (mList) { [all...] |
/frameworks/base/services/surfaceflinger/DisplayHardware/ |
HWComposer.cpp | 42 mModule(0), mHwc(0), mList(0), mCapacity(0), 63 free(mList); 88 if (!mList || mCapacity < numLayers) { 89 free(mList); 91 mList = (hwc_layer_list_t*)malloc(size); 94 mList->flags = HWC_GEOMETRY_CHANGED; 95 mList->numHwLayers = numLayers; 101 int err = mHwc->prepare(mHwc, mList); 105 size_t count = mList->numHwLayers; 107 hwc_layer& l(mList->hwLayers[i]) [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/base/services/surfaceflinger/ |
MessageQueue.h | 38 List< sp<MessageBase> > mList; 41 inline LIST::iterator begin() { return mList.begin(); } 42 inline LIST::const_iterator begin() const { return mList.begin(); } 43 inline LIST::iterator end() { return mList.end(); } 44 inline LIST::const_iterator end() const { return mList.end(); } 45 inline bool isEmpty() const { return mList.empty(); }
|
MessageQueue.cpp | 34 LIST::iterator cur(mList.begin()); 35 LIST::iterator end(mList.end()); 38 mList.insert(cur, node); 43 mList.insert(++end, node); 48 mList.erase(pos);
|
/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; 205 mList.invalidate(); 216 int viewWidth = mList.getWidth(); 217 mList.invalidate(viewWidth - mThumbW, mThumbY, viewWidth, mThumbY + mThumbH); 229 final int viewWidth = mList.getWidth(); 286 if (mList.getWidth() > 0 && mList.getHeight() > 0) [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 | 102 private ListView mList; 126 mList.focusableViewAvailable(mList); 195 mList = null; 330 return mList; 334 if (mList != null) { 347 mList = (ListView)rawListView; 348 if (mList == null) { 353 mList.setOnKeyListener(mListOnKeyListener); 361 Object selectedItem = mList.getSelectedItem() [all...] |
/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);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
SlideshowEditActivity.java | 69 private ListView mList; 85 mList = getListView(); 87 mList.addFooterView(mAddSlideItem); 152 mList.setSelection(mState.getInt(SLIDE_INDEX, 0)); 165 if (mList.getSelectedItemPosition() >= 0) { 166 mState.putInt(SLIDE_INDEX, mList.getSelectedItemPosition()); 217 mList.setAdapter(mSlideListAdapter); 224 int position = mList.getSelectedItemPosition(); 225 if ((position >= 0) && (position != (mList.getCount() - 1))) { 252 int position = mList.getSelectedItemPosition() [all...] |
/frameworks/base/libs/binder/ |
MemoryDealer.cpp | 158 LinkedList<chunk_t> mList; 274 mList.insertHead(node); 279 while(!mList.isEmpty()) { 280 delete mList.remove(mList.head()); 313 chunk_t* cur = mList.head(); 344 mList.insertBefore(free_chunk, split); 355 mList.insertAfter(free_chunk, split); 366 chunk_t* cur = mList.head(); 382 mList.remove(cur) [all...] |
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestActivity.java | 41 private ListView mList; 78 mList = (ListView) findViewById(R.id.testlist); 79 mList.setChoiceMode(ListView.CHOICE_MODE_SINGLE); 80 mList.setFocusableInTouchMode(true); 85 mList.setAdapter(adapter); 87 mList.setOnItemClickListener(mOnClickListener);
|
/frameworks/base/core/java/com/android/internal/app/ |
ResolverActivity.java | 192 final int N = mAdapter.mList.size(); 196 ResolveInfo r = mAdapter.mList.get(i).ri; 231 private List<DisplayResolveInfo> mList; 271 mList = new ArrayList<DisplayResolveInfo>(); 296 mList.add(new DisplayResolveInfo(ri, 334 mList.add(new DisplayResolveInfo(ro, roLabel, null, null)); 363 mList.add(new DisplayResolveInfo(add, roLabel, 367 mList.add(new DisplayResolveInfo(add, roLabel, 375 if (mList == null) { 379 return mList.get(position).ri [all...] |