Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentStack.java55 private LinkedList<DocumentInfo> mList; field in DocumentStack
61 mList = new LinkedList<>(); in DocumentStack()
69 mList = new LinkedList<>(); in DocumentStack()
71 mList.add(docs[i]); in DocumentStack()
82 mList = new LinkedList<>(docs); in DocumentStack()
91 mList = new LinkedList<>(src.mList); in DocumentStack()
109 return mList.isEmpty(); in isEmpty()
113 return mList.size(); in size()
117 return mList.peekLast(); in peek()
124 return mList.get(index); in get()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapConvoListing.java42 private List<BluetoothMapConvoListingElement> mList; field in BluetoothMapConvoListing
45 mList = new ArrayList<BluetoothMapConvoListingElement>(); in BluetoothMapConvoListing()
49 mList.add(element); in add()
61 if (mList != null) { in getCount()
62 return mList.size(); in getCount()
81 return mList; in getList()
103 for (BluetoothMapConvoListingElement element : mList) { in encode()
119 Collections.sort(mList); in sort()
123 count = Math.min(count, mList.size() - offset); in segment()
125 mList = mList.subList(offset, offset + count); in segment()
[all …]
DBluetoothMapMessageListing.java37 private List<BluetoothMapMessageListingElement> mList; field in BluetoothMapMessageListing
40 mList = new ArrayList<BluetoothMapMessageListingElement>(); in BluetoothMapMessageListing()
44 mList.add(element); in add()
56 if (mList != null) { in getCount()
57 return mList.size(); in getCount()
76 return mList; in getList()
115 for (BluetoothMapMessageListingElement element : mList) { in encode()
140 Collections.sort(mList); in sort()
144 count = Math.min(count, mList.size() - offset); in segment()
146 mList = mList.subList(offset, offset + count); in segment()
[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/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/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/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/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/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/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java114 private ListView mList; field in RootsFragment
152 mList = (ListView) view.findViewById(R.id.roots_list); in onCreateView()
153 mList.setOnItemClickListener(mItemListener); in onCreateView()
160 mList.setOnGenericMotionListener( in onCreateView()
176 mList.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in onCreateView()
177 mList.setSelector(new ColorDrawable(Color.TRANSPARENT)); in onCreateView()
182 final int pos = mList.pointToPosition(x, y); in onRightClick()
224 mDragListener = DragHoverListener.create(listener, mList); in onActivityCreated()
225 mList.setOnDragListener(mDragListener); in onActivityCreated()
250 mList.setAdapter(mAdapter); in onActivityCreated()
[all …]
/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/TV/src/com/android/tv/data/
DParcelableList.java33 list.mList.add(in.readParcelable(Thread.currentThread().getContextClassLoader())); in fromParcel()
53 private final List<T> mList = new ArrayList<>(); field in ParcelableList
58 mList.addAll(initialList); in ParcelableList()
63 return new ArrayList<T>(mList); in getList()
73 out.writeInt(mList.size()); in writeToParcel()
74 for (T data : mList) { in writeToParcel()
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java160 private final ArrayList<SdpSearchInstance> mList = new ArrayList<SdpSearchInstance>(); field in SdpManager.SdpSearchTracker
163 mList.clear(); in clear()
167 return mList.add(inst); in add()
171 return mList.remove(inst); in remove()
175 if (mList.size() > 0) { in getNext()
176 return mList.get(0); in getNext()
184 for (SdpSearchInstance inst : mList) { in getSearchInstance()
195 for (SdpSearchInstance inst : mList) { in isSearching()
/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/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/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java96 private ExpandableListView mList; field in CustomContactListFilterActivity
104 mList = (ExpandableListView) findViewById(android.R.id.list); in onCreate()
105 mList.setOnChildClickListener(this); in onCreate()
106 mList.setHeaderDividersEnabled(true); in onCreate()
107 mList.setChildDivider(new ColorDrawable(Color.TRANSPARENT)); in onCreate()
109 mList.addOnLayoutChangeListener(new View.OnLayoutChangeListener() { in onCreate()
114 mList.setIndicatorBounds( in onCreate()
115 mList.getWidth() - getResources().getDimensionPixelSize( in onCreate()
117 mList.getWidth() - getResources().getDimensionPixelSize( in onCreate()
124 mList.setOnCreateContextMenuListener(this); in onCreate()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsCategory.java249 List<AppOpEntry> mList; field in AppOpsCategory.AppListAdapter
258 mList = data; in setData()
264 return mList != null ? mList.size() : 0; in getCount()
269 return mList.get(position); in getItem()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appops/
DAppOpsCategory.java249 List<AppOpEntry> mList; field in AppOpsCategory.AppListAdapter
258 mList = data; in setData()
264 return mList != null ? mList.size() : 0; in getCount()
269 return mList.get(position); in getItem()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DModuleLicensesPreferenceControllerTest.java149 List<Preference> mList = new ArrayList<>(); field in ModuleLicensesPreferenceControllerTest.MockPreferenceGroup
157 mList.add(preference); in addPreference()
163 return mList.size(); in getPreferenceCount()
168 return mList.get(index); in getPreference()
/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/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.java221 protected final ArrayList<NameMatchCandidate> mList = new ArrayList<NameMatchCandidate>(); field in AbstractContactAggregator.MatchCandidateList
228 if (mCount >= mList.size()) { in add()
229 mList.add(new NameMatchCandidate(name, nameLookupType)); in add()
231 NameMatchCandidate candidate = mList.get(mCount); in add()
1112 if (mNameLookupCandidates.mList.get(i).mName.equals(name)) { in getLookupType()
1113 return mNameLookupCandidates.mList.get(i).mLookupType; in getLookupType()
1242 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()