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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapMessageListing.java35 private List<BluetoothMapMessageListingElement> mList; field in class:BluetoothMapMessageListing
38 mList = new ArrayList<BluetoothMapMessageListingElement>();
41 mList.add(element);
54 if(mList != null)
56 return mList.size();
76 return mList;
101 for (BluetoothMapMessageListingElement element : mList) {
117 Collections.sort(mList);
121 count = Math.min(count, mList.size() - offset);
123 mList
[all...]
H A DBluetoothMapConvoListing.java42 private List<BluetoothMapConvoListingElement> mList; field in class:BluetoothMapConvoListing
45 mList = new ArrayList<BluetoothMapConvoListingElement>();
48 mList.add(element);
61 if(mList != null)
63 return mList.size();
83 return mList;
105 for (BluetoothMapConvoListingElement element : mList) {
121 Collections.sort(mList);
125 count = Math.min(count, mList.size() - offset);
127 mList
[all...]
/packages/apps/Messaging/src/com/android/messaging/util/
H A DCircularArray.java29 Object mList[]; field in class:CircularArray
47 mList = new Object[mMaxCount];
56 mList[mNextWriter] = object;
88 return (E) mList[mNextWriter];
106 return (E) mList[wrappedIndex];
108 return (E) mList[index];
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
H A DMockImageList.java12 private final ArrayList<IImage> mList = new ArrayList<IImage>(); field in class:MockImageList
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);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DBytesBufferPool.java66 private final ArrayList<BytesBuffer> mList; field in class:BytesBufferPool
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/
H A DSelectSyncedCalendarsMultiAccountActivity.java41 private ExpandableListView mList; field in class:SelectSyncedCalendarsMultiAccountActivity
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
[all...]
H A DSelectVisibleCalendarsFragment.java67 private ListView mList; field in class:SelectVisibleCalendarsFragment
116 mList = (ListView)mView.findViewById(R.id.list);
122 mList.setDivider(null);
136 mList.setAdapter(mAdapter);
137 mList.setOnItemClickListener(this);
/packages/apps/Camera2/src/com/android/camera/data/
H A DFilmstripItemList.java55 private final LinkedList<FilmstripItem> mList = new LinkedList<FilmstripItem>(); field in class:FilmstripItemList
59 return mList.get(index);
71 FilmstripItem removedItem = mList.remove(index);
85 mList.set(pos, data);
90 mList.add(data);
95 mList.add(pos, data);
106 return mList.size();
110 Collections.sort(mList, comparator);
122 return mList.indexOf(new UriWrapper(uri));
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
H A DImapList.java39 private ArrayList<ImapElement> mList = new ArrayList<ImapElement>(); field in class:ImapList
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
[all...]
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/
H A DImapList.java39 private ArrayList<ImapElement> mList = new ArrayList<ImapElement>(); field in class:ImapList
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
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DProfile.java56 private ArrayList<WatchEntry> mList = new ArrayList<WatchEntry>(); field in class:Profile.Watchdog
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
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPhotoFallbackEffect.java61 private ArrayList<Entry> mList = new ArrayList<Entry>(); field in class:PhotoFallbackEffect
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
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/
H A DMailLogService.java67 final Queue<Pair<Long, String>> mList = new LinkedList<Pair<Long, String>>(); field in class:MailLogService.CircularBuffer
91 mList.remove();
97 mList.add(new Pair<Long, String>(System.currentTimeMillis(), message));
103 for (final Pair<Long, String> s : mList) {
/packages/experimental/LoaderApp/src/com/android/loaderapp/
H A DHomeXLarge.java38 ContactsListFragment mList; field in class:HomeXLarge
47 mList = new ContactsListFragment();
48 mList.setController(this);
51 transaction.add(R.id.contacts_list, mList);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DClockFragment.java58 private ListView mList;
138 mList = (ListView) v.findViewById(R.id.cities);
139 mList.setDivider(null);
186 mClockFrame = inflater.inflate(R.layout.main_clock_frame, mList, false);
189 mList.addHeaderView(mClockFrame, null, false);
195 mList.setOnTouchListener(longPressNightMode);
209 View footerView = inflater.inflate(R.layout.blank_footer_view, mList, false);
210 mList.addFooterView(footerView, null, false);
215 mList.setAdapter(mAdapter);
259 mList
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/resolver/
H A DResolverActivity.java362 final int N = mListHelper.mList.size();
366 ResolveInfo r = mListHelper.mList.get(i).ri;
403 private final List<DisplayResolveInfo> mList; field in class:ResolverActivity.ResolveListHelper
412 mList = new ArrayList<>();
433 mList.clear();
507 mList.add(new DisplayResolveInfo(ri,
545 mList.add(new DisplayResolveInfo(ro, roLabel, null, null));
573 mList.add(new DisplayResolveInfo(add, roLabel,
577 mList.add(new DisplayResolveInfo(add, roLabel,
585 return mList
[all...]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
H A DAppChooserActivity.java195 private List<DisplayAppInfo> mList; field in class:AppChooserActivity.ListAdapter
201 mList = new ArrayList<DisplayAppInfo>();
216 mList.add(info);
222 return mList.size();
227 return mList.get(position);
254 DisplayAppInfo appInfo = mList.get(position);
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DGroupsListFragment.java45 ListView mList; field in class:GroupsListFragment
65 mList = list;
H A DContactsListFragment.java54 ListView mList; field in class:ContactsListFragment
100 mList = list;
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DImageListUber.java271 private final IImageList mList; field in class:ImageListUber.MergeSlot
278 mList = list;
283 if (mOffset >= mList.getCount() - 1) return false;
284 mImage = mList.getImageAt(++mOffset);
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppOpsCategory.java251 List<AppOpEntry> mList; field in class:AppOpsCategory.AppListAdapter
260 mList = data;
266 return mList != null ? mList.size() : 0;
271 return mList.get(position);
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
H A DCallLogFragmentTest.java99 private CallLogListItemViewHolder[] mList; field in class:CallLogFragmentTest
151 mList = new CallLogListItemViewHolder[SIZE];
363 for (int i = 0; i < mList.length; i++) {
364 if (null == mList[i]) {
367 mItem = (CallLogListItemViewHolder) mList[i];
417 if (null == mList[i]) {
418 mList[i] = (CallLogListItemViewHolder)
422 bindViewForTest(mList[i], mCursor.getCount() - i - 1);
428 /** Returns the number presentation associated with the given entry in {{@link #mList}. */
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DMailboxSelectionActivity.java81 private ListView mList; field in class:MailboxSelectionActivity
89 mList = (ListView) findViewById(android.R.id.list);
90 mList.setOnItemClickListener(this);
265 mList.setAdapter(mAdapter);
/packages/apps/Settings/src/com/android/settings/
H A DTrustedCredentialsSettings.java97 private final int mList; field in class:TrustedCredentialsSettings.Tab
107 mList = list;
238 ListView lv = (ListView) mTabHost.findViewById(tab.mList);
377 return tab.mList;
414 private View mList; field in class:TrustedCredentialsSettings.AdapterData.AliasLoader
425 mList = content.findViewById(mAdapter.getListViewId(mTab));
427 mList.setVisibility(View.GONE);
504 mList.setVisibility(View.VISIBLE);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DCustomContactListFilterActivity.java84 private ExpandableListView mList; field in class:CustomContactListFilterActivity
94 mList = (ExpandableListView) findViewById(android.R.id.list);
95 mList.setOnChildClickListener(this);
96 mList.setHeaderDividersEnabled(true);
105 mList.setOnCreateContextMenuListener(this);
107 mList.setAdapter(mAdapter);

Completed in 408 milliseconds

12