Home
last modified time | relevance | path

Searched refs:mList (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapConvoListing.java42 private List<BluetoothMapConvoListingElement> mList; field in BluetoothMapConvoListing
45 mList = new ArrayList<BluetoothMapConvoListingElement>(); in BluetoothMapConvoListing()
48 mList.add(element); in add()
61 if(mList != null) in getCount()
63 return mList.size(); in getCount()
83 return mList; in getList()
105 for (BluetoothMapConvoListingElement element : mList) { in encode()
121 Collections.sort(mList); in sort()
125 count = Math.min(count, mList.size() - offset); in segment()
127 mList = mList.subList(offset, offset + count); in segment()
[all …]
DBluetoothMapMessageListing.java35 private List<BluetoothMapMessageListingElement> mList; field in BluetoothMapMessageListing
38 mList = new ArrayList<BluetoothMapMessageListingElement>(); in BluetoothMapMessageListing()
41 mList.add(element); in add()
54 if(mList != null) in getCount()
56 return mList.size(); in getCount()
76 return mList; in getList()
101 for (BluetoothMapMessageListingElement element : mList) { in encode()
117 Collections.sort(mList); in sort()
121 count = Math.min(count, mList.size() - offset); in segment()
123 mList = mList.subList(offset, offset + count); in segment()
[all …]
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectSyncedCalendarsMultiAccountActivity.java41 private ExpandableListView mList; field in SelectSyncedCalendarsMultiAccountActivity
55 mList = getExpandableListView(); in onCreate()
56 mList.setEmptyView(findViewById(R.id.loading)); in onCreate()
90 mList.setAdapter(mAdapter); in onResume()
93 int count = mList.getCount(); in onResume()
95 mList.expandGroup(i); in onResume()
128 mList = getExpandableListView(); in onSaveInstanceState()
129 if(mList != null) { in onSaveInstanceState()
130 int count = mList.getCount(); in onSaveInstanceState()
133 isExpanded[i] = mList.isGroupExpanded(i); in onSaveInstanceState()
[all …]
DSelectVisibleCalendarsFragment.java67 private ListView mList; field in SelectVisibleCalendarsFragment
116 mList = (ListView)mView.findViewById(R.id.list); in onCreateView()
122 mList.setDivider(null); in onCreateView()
136 mList.setAdapter(mAdapter); in onActivityCreated()
137 mList.setOnItemClickListener(this); in onActivityCreated()
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/
DImapList.java39 private ArrayList<ImapElement> mList = new ArrayList<ImapElement>(); field in ImapList
45 mList.add(e); in add()
59 return mList.size(); in size()
90 return (index >= mList.size()) ? ImapElement.NONE : mList.get(index); in getElementOrNone()
118 return mList.get(i); in getKeyedElementOrNull()
172 if (mList != null) { in destroy()
173 for (ImapElement e : mList) { in destroy()
176 mList = null; in destroy()
183 return mList.toString(); in toString()
204 for (int i = 0; i < mList.size(); i++) { in flatten()
[all …]
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
DImapList.java39 private ArrayList<ImapElement> mList = new ArrayList<ImapElement>(); field in ImapList
45 mList.add(e); in add()
59 return mList.size(); in size()
90 return (index >= mList.size()) ? ImapElement.NONE : mList.get(index); in getElementOrNone()
118 return mList.get(i); in getKeyedElementOrNull()
172 if (mList != null) { in destroy()
173 for (ImapElement e : mList) { in destroy()
176 mList = null; in destroy()
183 return mList.toString(); in toString()
204 for (int i = 0; i < mList.size(); i++) { in flatten()
[all …]
/packages/services/Car/libvehiclenetwork/include/
DVehicleNetworkDataTypes.h135 for (auto& e : mList) { in ~VehiclePropertiesHolder()
140 mList.clear(); in ~VehiclePropertiesHolder()
144 return mList; in getList()
148 List<vehicle_prop_config_t const *> mList;
245 : mList(list), in mList() function
249 return *mList; in getList()
253 if (mDeleteInDestructor && mList != NULL) { in ~VehiclePropValueListHolder()
254 for (auto pv : *mList) { in ~VehiclePropValueListHolder()
258 delete mList; in ~VehiclePropValueListHolder() local
263 List<vehicle_prop_value_t*>* mList;
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfile.java56 private ArrayList<WatchEntry> mList = new ArrayList<WatchEntry>(); field in Profile.Watchdog
83 mList.add(e); in addWatchEntry()
88 for (int i = 0; i < mList.size(); i++) { in removeWatchEntry()
89 if (mList.get(i).thread == thread) { in removeWatchEntry()
90 mList.remove(i); in removeWatchEntry()
98 mList.clear(); in removeAllWatchEntries()
104 if (mList.size() == 0) return; in processList()
109 for (WatchEntry entry : mList) { in processList()
140 for (int i = 0; i < mList.size(); i++) { in findEntry()
141 WatchEntry entry = mList.get(i); in findEntry()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemList.java55 private final LinkedList<FilmstripItem> mList = new LinkedList<FilmstripItem>(); field in FilmstripItemList
59 return mList.get(index); in get()
71 FilmstripItem removedItem = mList.remove(index); in remove()
85 mList.set(pos, data); in set()
90 mList.add(data); in add()
95 mList.add(pos, data); in add()
106 return mList.size(); in size()
110 Collections.sort(mList, comparator); in sort()
122 return mList.indexOf(new UriWrapper(uri)); in indexOf()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoFallbackEffect.java61 private ArrayList<Entry> mList = new ArrayList<Entry>(); field in PhotoFallbackEffect
69 mList.add(new Entry(path, rect, texture)); in addEntry()
73 for (int i = 0, n = mList.size(); i < n; ++i) { in getEntry()
74 Entry entry = mList.get(i); in getEntry()
82 for (int i = 0, n = mList.size(); i < n; ++i) { in draw()
83 Entry entry = mList.get(i); in draw()
164 for (int i = 0, n = mList.size(); i < n; ++i) { in setPositionProvider()
165 Entry entry = mList.get(i); in setPositionProvider()
173 for (int i = 0, n = mList.size(); i < n; ++i) { in acceptSlot()
174 Entry entry = mList.get(i); in acceptSlot()
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
DMockImageList.java12 private final ArrayList<IImage> mList = new ArrayList<IImage>(); field in MockImageList
25 return mList.size(); in getCount()
29 return mList.get(i); in getImageAt()
37 return mList.indexOf(image); in getImageIndex()
41 return mList.isEmpty(); in isEmpty()
45 return mList.remove(image); in removeImage()
49 return mList.remove(i) != null; in removeImageAt()
53 mList.add(image); in addImage()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBytesBufferPool.java66 private final ArrayList<BytesBuffer> mList; field in BytesBufferPool
69 mList = new ArrayList<BytesBuffer>(poolSize); in BytesBufferPool()
75 int n = mList.size(); in get()
76 return n > 0 ? mList.remove(n - 1) : new BytesBuffer(mBufferSize); in get()
81 if (mList.size() < mPoolSize) { in recycle()
84 mList.add(buffer); in recycle()
89 mList.clear(); in clear()
/packages/apps/Messaging/src/com/android/messaging/util/
DCircularArray.java29 Object mList[]; field in CircularArray
47 mList = new Object[mMaxCount]; in clear()
56 mList[mNextWriter] = object; in add()
88 return (E) mList[mNextWriter]; in getFree()
106 return (E) mList[wrappedIndex]; in get()
108 return (E) mList[index]; in get()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAppChooserActivity.java195 private List<DisplayAppInfo> mList; field in AppChooserActivity.ListAdapter
201 mList = new ArrayList<DisplayAppInfo>(); in ListAdapter()
216 mList.add(info); in ListAdapter()
222 return mList.size(); in getCount()
227 return mList.get(position); in getItem()
254 DisplayAppInfo appInfo = mList.get(position); in getView()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DHomeXLarge.java38 ContactsListFragment mList; field in HomeXLarge
47 mList = new ContactsListFragment(); in onCreate()
48 mList.setController(this); in onCreate()
51 transaction.add(R.id.contacts_list, mList); in onCreate()
/packages/apps/UnifiedEmail/src/com/android/mail/
DMailLogService.java67 final Queue<Pair<Long, String>> mList = new LinkedList<Pair<Long, String>>(); field in MailLogService.CircularBuffer
91 mList.remove(); in put()
97 mList.add(new Pair<Long, String>(System.currentTimeMillis(), message)); in put()
103 for (final Pair<Long, String> s : mList) { in toString()
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsCategory.java264 List<AppOpEntry> mList; field in AppOpsCategory.AppListAdapter
274 mList = data; in setData()
280 return mList != null ? mList.size() : 0; in getCount()
285 return mList.get(position); in getItem()
/packages/apps/Gallery/src/com/android/camera/gallery/
DImageListUber.java271 private final IImageList mList; field in ImageListUber.MergeSlot
278 mList = list; in MergeSlot()
283 if (mOffset >= mList.getCount() - 1) return false; in next()
284 mImage = mList.getImageAt(++mOffset); in next()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java84 private ExpandableListView mList; field in CustomContactListFilterActivity
94 mList = (ExpandableListView) findViewById(android.R.id.list); in onCreate()
95 mList.setOnChildClickListener(this); in onCreate()
96 mList.setHeaderDividersEnabled(true); in onCreate()
105 mList.setOnCreateContextMenuListener(this); in onCreate()
107 mList.setAdapter(mAdapter); in onCreate()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMailboxSelectionActivity.java81 private ListView mList; field in MailboxSelectionActivity
89 mList = (ListView) findViewById(android.R.id.list); in onCreate()
90 mList.setOnItemClickListener(this); in onCreate()
265 mList.setAdapter(mAdapter); in updateAccountList()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java220 protected final ArrayList<NameMatchCandidate> mList = new ArrayList<NameMatchCandidate>(); field in AbstractContactAggregator.MatchCandidateList
227 if (mCount >= mList.size()) { in add()
228 mList.add(new NameMatchCandidate(name, nameLookupType)); in add()
230 NameMatchCandidate candidate = mList.get(mCount); in add()
1107 if (mNameLookupCandidates.mList.get(i).mName.equals(name)) { in getLookupType()
1108 return mNameLookupCandidates.mList.get(i).mLookupType; in getLookupType()
1237 NameMatchCandidate candidate = candidates.mList.get(i); in matchAllCandidates()
DContactAggregator.java826 final NameMatchCandidate candidate = candidates.mList.get(i); in lookupApproximateNameMatches()
879 NameMatchCandidate candidate = candidates.mList.get(i); in matchAllCandidates()
DContactAggregator2.java696 final NameMatchCandidate candidate = candidates.mList.get(i); in lookupApproximateNameMatches()
755 NameMatchCandidate candidate = candidates.mList.get(i); in matchAllCandidates()
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DGroupsListFragment.java45 ListView mList; field in GroupsListFragment
65 mList = list; in onCreateView()
DContactsListFragment.java54 ListView mList; field in ContactsListFragment
100 mList = list; in onCreateView()