Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectSyncedCalendarsMultiAccountActivity.java41 private ExpandableListView mList; field in SelectSyncedCalendarsMultiAccountActivity
55 mList = getExpandableListView(); in onCreate()
69 mList.setAdapter(mAdapter); in onCreate()
72 int count = mList.getCount(); in onCreate()
74 mList.expandGroup(i); in onCreate()
112 mList = getExpandableListView(); in onSaveInstanceState()
113 if(mList != null) { in onSaveInstanceState()
114 int count = mList.getCount(); in onSaveInstanceState()
117 isExpanded[i] = mList.isGroupExpanded(i); in onSaveInstanceState()
129 mList = getExpandableListView(); in onRestoreInstanceState()
[all …]
DSelectVisibleCalendarsFragment.java64 private ListView mList; field in SelectVisibleCalendarsFragment
110 mList = (ListView)mView.findViewById(R.id.list); in onCreateView()
116 mList.setDivider(null); in onCreateView()
129 mList.setAdapter(mAdapter); in onActivityCreated()
130 mList.setOnItemClickListener(this); in onActivityCreated()
/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/Email/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/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/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/Mms/src/com/android/mms/ui/
DSlideshowEditActivity.java72 private ListView mList; field in SlideshowEditActivity
88 mList = getListView(); in onCreate()
90 mList.addFooterView(mAddSlideItem); in onCreate()
122 registerForContextMenu(mList); in onCreate()
157 mList.setSelection(mState.getInt(SLIDE_INDEX, 0)); in onResume()
170 if (mList.getSelectedItemPosition() >= 0) { in onSaveInstanceState()
171 mState.putInt(SLIDE_INDEX, mList.getSelectedItemPosition()); in onSaveInstanceState()
222 mList.setAdapter(mSlideListAdapter); in initSlideList()
229 int position = mList.getSelectedItemPosition(); in onPrepareOptionsMenu()
230 if ((position >= 0) && (position != (mList.getCount() - 1))) { in onPrepareOptionsMenu()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoFallbackEffect.java59 private ArrayList<Entry> mList = new ArrayList<Entry>(); field in PhotoFallbackEffect
67 mList.add(new Entry(path, rect, texture)); in addEntry()
71 for (int i = 0, n = mList.size(); i < n; ++i) { in getEntry()
72 Entry entry = mList.get(i); in getEntry()
80 for (int i = 0, n = mList.size(); i < n; ++i) { in draw()
81 Entry entry = mList.get(i); in draw()
162 for (int i = 0, n = mList.size(); i < n; ++i) { in setPositionProvider()
163 Entry entry = mList.get(i); in setPositionProvider()
171 for (int i = 0, n = mList.size(); i < n; ++i) { in acceptSlot()
172 Entry entry = mList.get(i); in acceptSlot()
/packages/apps/DeskClock/src/com/android/deskclock/
DClockFragment.java53 private ListView mList; field in ClockFragment
108 mList = (ListView)v.findViewById(R.id.cities); in onCreateView()
109 mList.setDivider(null); in onCreateView()
110 View headerView = inflater.inflate(R.layout.blank_header_view, mList, false); in onCreateView()
111 mList.addHeaderView(headerView); in onCreateView()
112 mClockFrame = inflater.inflate(R.layout.main_clock_frame, mList, false); in onCreateView()
115 mList.addHeaderView(mClockFrame, null, false); in onCreateView()
116 View footerView = inflater.inflate(R.layout.blank_footer_view, mList, false); in onCreateView()
118 mList.addFooterView(footerView); in onCreateView()
120 mList.setAdapter(mAdapter); in onCreateView()
[all …]
DAlarmClock.java443 private final ListView mList; field in AlarmClock.AlarmItemAdapter
496 mList.requestChildRectangleOnScreen(v, rect, false);
508 mList = list; in AlarmItemAdapter()
1059 for (int i = 0; i < mList.getCount(); i++) { in getViewById()
1060 View v = mList.getChildAt(i); in getViewById()
/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/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java72 private final int mList; field in TrustedCredentialsSettings.Tab
79 mList = list; in Tab()
160 ListView lv = (ListView) mTabHost.findViewById(tab.mList); in addTab()
216 View mList; field in TrustedCredentialsSettings.TrustedCertificateAdapter.AliasLoader
220 mList = content.findViewById(mTab.mList); in onPreExecute()
222 mList.setVisibility(View.GONE); in onPreExecute()
255 mList.setVisibility(View.VISIBLE); in onPostExecute()
/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/Contacts/tests/src/com/android/contacts/calllog/
DCallLogFragmentTest.java100 private View[] mList; field in CallLogFragmentTest
143 mList = new View[SIZE]; in testCallViewIsNotVisibleForPrivateAndUnknownNumbers()
361 for (int i = 0; i < mList.length; i++) { in checkCallStatus()
362 if (null == mList[i]) { in checkCallStatus()
365 mItem = (CallLogListItemViews) mList[i].getTag(); in checkCallStatus()
416 if (null == mList[i]) { in buildViewListFromDb()
417 mList[i] = mAdapter.newStandAloneView(mActivity, mParentView); in buildViewListFromDb()
419 mAdapter.bindStandAloneView(mList[i], mActivity, mCursor); in buildViewListFromDb()
/packages/apps/Email/tests/src/com/android/email/activity/
DMessageOrderManagerTest.java351 private final long[] mList; field in MessageOrderManagerTest.MyCursor
354 mList = (idList == null) ? new long[0] : idList; in MyCursor()
366 return mList.length; in getCount()
375 return mList[mPos]; in getLong()
/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/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java85 private ExpandableListView mList; field in CustomContactListFilterActivity
95 mList = (ExpandableListView) findViewById(android.R.id.list); in onCreate()
96 mList.setOnChildClickListener(this); in onCreate()
97 mList.setHeaderDividersEnabled(true); in onCreate()
106 mList.setOnCreateContextMenuListener(this); in onCreate()
108 mList.setAdapter(mAdapter); in onCreate()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java208 private final ArrayList<NameMatchCandidate> mList = new ArrayList<NameMatchCandidate>(); field in ContactAggregator.MatchCandidateList
215 if (mCount >= mList.size()) { in add()
216 mList.add(new NameMatchCandidate(name, nameLookupType)); in add()
218 NameMatchCandidate candidate = mList.get(mCount); in add()
1502 if (mNameLookupCandidates.mList.get(i).mName.equals(name)) { in getLookupType()
1503 return mNameLookupCandidates.mList.get(i).mLookupType; in getLookupType()
1633 final NameMatchCandidate candidate = candidates.mList.get(i); in lookupApproximateNameMatches()
1686 NameMatchCandidate candidate = candidates.mList.get(i); in matchAllCandidates()