Home
last modified time | relevance | path

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

12

/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentStack.java53 private LinkedList<DocumentInfo> mList; field in DocumentStack
59 mList = new LinkedList<>(); in DocumentStack()
67 mList = new LinkedList<>(); in DocumentStack()
69 mList.add(docs[i]); in DocumentStack()
80 mList = new LinkedList<>(docs); in DocumentStack()
89 mList = new LinkedList<>(src.mList); in DocumentStack()
107 return mList.isEmpty(); in isEmpty()
111 return mList.size(); in size()
115 return mList.peekLast(); in peek()
122 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()
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.java34 private List<BluetoothMapMessageListingElement> mList; field in BluetoothMapMessageListing
37 mList = new ArrayList<BluetoothMapMessageListingElement>(); in BluetoothMapMessageListing()
40 mList.add(element); in add()
53 if(mList != null) in getCount()
55 return mList.size(); in getCount()
75 return mList; in getList()
100 for (BluetoothMapMessageListingElement element : mList) { in encode()
116 Collections.sort(mList); in sort()
120 count = Math.min(count, mList.size() - offset); in segment()
122 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/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/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DImapList.java38 private ArrayList<ImapElement> mList = new ArrayList<ImapElement>(); field in ImapList
44 mList.add(e); in add()
58 return mList.size(); in size()
87 return (index >= mList.size()) ? ImapElement.NONE : mList.get(index); in getElementOrNone()
115 return mList.get(i); in getKeyedElementOrNull()
165 if (mList != null) { in destroy()
166 for (ImapElement e : mList) { in destroy()
169 mList = null; in destroy()
176 return mList.toString(); in toString()
195 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/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/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/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/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java103 private ListView mList; field in RootsFragment
139 mList = (ListView) view.findViewById(R.id.roots_list); in onCreateView()
140 mList.setOnItemClickListener(mItemListener); in onCreateView()
147 mList.setOnGenericMotionListener( in onCreateView()
163 mList.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in onCreateView()
168 final int pos = mList.pointToPosition(x, y); in onRightClick()
234 mList.setAdapter(mAdapter); in onActivityCreated()
243 mList.setAdapter(null); in onActivityCreated()
338 mList.setOnItemLongClickListener(mItemLongClickListener); in onDisplayStateChanged()
340 mList.setOnItemLongClickListener(null); in onDisplayStateChanged()
[all …]
/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/TV/src/com/android/tv/data/
DParcelableList.java38 list.mList.add(in.readParcelable(Thread.currentThread().getContextClassLoader())); in fromParcel()
59 private final List<T> mList = new ArrayList<>(); field in ParcelableList
64 mList.addAll(initialList); in ParcelableList()
71 return new ArrayList<T>(mList); in getList()
81 out.writeInt(mList.size()); in writeToParcel()
82 for (T data : mList) { in writeToParcel()
/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/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/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/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()
/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()

12