Home
last modified time | relevance | path

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

12

/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
DSortedListTest.java39 SortedList<Item> mList; field in SortedListTest
111 mList = new SortedList<Item>(Item.class, mCallback); in setUp()
116 assertEquals("empty", mList.size(), 0); in testEmpty()
177 assertEquals(2, mList.size()); in clearTest()
178 mList.clear(); in clearTest()
179 assertEquals(0, mList.size()); in clearTest()
181 assertEquals(1, mList.size()); in clearTest()
186 mList.beginBatchedUpdates(); in testBatch()
188 mList.add(new Item(i)); in testBatch()
191 mList.endBatchedUpdates(); in testBatch()
[all …]
/frameworks/base/core/java/android/app/
DExpandableListActivity.java159 ExpandableListView mList; field in ExpandableListActivity
219 mList = (ExpandableListView)findViewById(com.android.internal.R.id.list); in onContentChanged()
220 if (mList == null) { in onContentChanged()
226 mList.setEmptyView(emptyView); in onContentChanged()
228 mList.setOnChildClickListener(this); in onContentChanged()
229 mList.setOnGroupExpandListener(this); in onContentChanged()
230 mList.setOnGroupCollapseListener(this); in onContentChanged()
245 mList.setAdapter(adapter); in setListAdapter()
257 return mList; in getExpandableListView()
269 if (mList != null) { in ensureList()
[all …]
DListActivity.java185 protected ListView mList; field in ListActivity
192 mList.focusableViewAvailable(mList);
241 mList = (ListView)findViewById(com.android.internal.R.id.list); in onContentChanged()
242 if (mList == null) { in onContentChanged()
248 mList.setEmptyView(emptyView); in onContentChanged()
250 mList.setOnItemClickListener(mOnClickListener); in onContentChanged()
265 mList.setAdapter(adapter); in setListAdapter()
276 mList.setSelection(position); in setSelection()
283 return mList.getSelectedItemPosition(); in getSelectedItemPosition()
290 return mList.getSelectedItemId(); in getSelectedItemId()
[all …]
DListFragment.java153 mList.focusableViewAvailable(mList);
165 ListView mList; field in ListFragment
212 mList = null; in onDestroyView()
239 if (mList != null) { in setListAdapter()
240 mList.setAdapter(adapter); in setListAdapter()
257 mList.setSelection(position); in setSelection()
265 return mList.getSelectedItemPosition(); in getSelectedItemPosition()
273 return mList.getSelectedItemId(); in getSelectedItemId()
281 return mList; in getListView()
296 mList.setEmptyView(mStandardEmptyView); in setEmptyText()
[all …]
/frameworks/base/core/java/android/os/
DLocaleList.java37 private final Locale[] mList; field in LocaleList
54 return (0 <= index && index < mList.length) ? mList[index] : null; in get()
64 return mList.length == 0; in isEmpty()
72 return mList.length; in size()
85 for (int i = 0; i < mList.length; i++) { in indexOf()
86 if (mList[i].equals(locale)) { in indexOf()
99 final Locale[] otherList = ((LocaleList) other).mList; in equals()
100 if (mList.length != otherList.length) in equals()
102 for (int i = 0; i < mList.length; i++) { in equals()
103 if (!mList[i].equals(otherList[i])) in equals()
[all …]
/frameworks/support/compat/java/android/support/v4/os/
DLocaleListHelper.java44 private final Locale[] mList; field in LocaleListHelper
63 return (0 <= index && index < mList.length) ? mList[index] : null; in get()
75 return mList.length == 0; in isEmpty()
85 return mList.length; in size()
100 for (int i = 0; i < mList.length; i++) { in indexOf()
101 if (mList[i].equals(locale)) { in indexOf()
116 final Locale[] otherList = ((LocaleListHelper) other).mList; in equals()
117 if (mList.length != otherList.length) { in equals()
120 for (int i = 0; i < mList.length; i++) { in equals()
121 if (!mList[i].equals(otherList[i])) { in equals()
[all …]
/frameworks/av/media/libstagefright/webm/
DLinkedBlockingQueue.h28 List<T> mList; variable
34 while (mList.empty()) { in front()
37 T e = *(mList.begin()); in front()
39 mList.erase(mList.begin()); in front()
55 return mList.empty(); in empty()
60 mList.clear(); in clear()
73 mList.push_back(e); in push()
/frameworks/base/core/java/android/content/pm/
DBaseParceledListSlice.java51 private final List<T> mList; field in BaseParceledListSlice
56 mList = list; in BaseParceledListSlice()
62 mList = new ArrayList<T>(N); in BaseParceledListSlice()
84 mList.add(parcelable); in BaseParceledListSlice()
86 if (DEBUG) Log.d(TAG, "Read inline #" + i + ": " + mList.get(mList.size()-1)); in BaseParceledListSlice()
108 mList.add(parcelable); in BaseParceledListSlice()
110 if (DEBUG) Log.d(TAG, "Read extra #" + i + ": " + mList.get(mList.size()-1)); in BaseParceledListSlice()
136 return mList; in getList()
154 final int N = mList.size(); in writeToParcel()
159 final Class<?> listElementClass = mList.get(0).getClass(); in writeToParcel()
[all …]
/frameworks/support/fragment/java/android/support/v4/app/
DListFragment.java52 mList.focusableViewAvailable(mList);
65 ListView mList; field in ListFragment
156 mList = null; in onDestroyView()
183 if (mList != null) { in setListAdapter()
184 mList.setAdapter(adapter); in setListAdapter()
201 mList.setSelection(position); in setSelection()
209 return mList.getSelectedItemPosition(); in getSelectedItemPosition()
217 return mList.getSelectedItemId(); in getSelectedItemId()
225 return mList; in getListView()
240 mList.setEmptyView(mStandardEmptyView); in setEmptyText()
[all …]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DObservableListAdapter.java30 private List<T> mList; field in ObservableListAdapter
50 if (mList == list) { in setList()
53 if (mList instanceof ObservableList) { in setList()
54 ((ObservableList) mList).removeOnListChangedCallback(mListChangedCallback); in setList()
56 mList = list; in setList()
57 if (mList instanceof ObservableList) { in setList()
90 ((ObservableList) mList).addOnListChangedCallback(mListChangedCallback); in setList()
97 return mList.size(); in getCount()
102 return mList.get(position); in getItem()
131 T item = mList.get(position); in getViewForResource()
/frameworks/av/camera/include/camera/
DCameraParameters2.h120 return mList.add(Pair(key, value)); in add()
124 return mList.size(); in size()
128 return mList[idx].mKey; in keyAt()
132 return mList[idx].mValue; in valueAt()
144 for (; vectorIdx < mList.size(); ++vectorIdx) { in indexOfKey()
145 if (mList[vectorIdx].mKey == key) { in indexOfKey()
160 return mList.removeAt(vectorIdx); in removeItem()
164 mList.clear(); in clear()
184 Vector<Pair> mList; member
/frameworks/base/core/java/android/preference/
DPreferenceFragment.java115 private ListView mList; field in PreferenceFragment
141 mList.focusableViewAvailable(mList);
239 if (mList != null) { in onDestroyView()
240 mList.setOnKeyListener(null); in onDestroyView()
242 mList = null; in onDestroyView()
401 return mList; in getListView()
406 if (mList != null) { in hasListView()
417 mList = (ListView)rawListView; in hasListView()
418 if (mList == null) { in hasListView()
425 if (mList != null) { in ensureList()
[all …]
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DAbsSpinnerBindingObject.java37 private ObservableList<String> mList = new ObservableArrayList<String>(); field in AbsSpinnerBindingObject
40 mList.add("Hello"); in AbsSpinnerBindingObject()
41 mList.add("World"); in AbsSpinnerBindingObject()
54 return mList; in getList()
/frameworks/base/core/java/android/widget/
DFastScroller.java103 private final AbsListView mList; field in FastScroller
249 mList = listView; in FastScroller()
336 final Context context = mList.getContext(); in setStyle()
459 mList.resolvePadding(); in onStateDependencyChanged()
479 position = mList.isLayoutRtl() ? in setScrollbarPosition()
521 final int firstVisibleItem = mList.getFirstVisiblePosition(); in onItemCountChanged()
552 textView.setLayoutDirection(mList.getLayoutDirection()); in createPreviewTextView()
727 final AbsListView list = mList; in updateContainerRect()
820 mList.removeCallbacks(mDeferHide); in setState()
926 mList.removeCallbacks(mDeferHide); in postAutoHide()
[all …]
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceFragmentCompat.java126 private RecyclerView mList; field in PreferenceFragmentCompat
152 mList.focusableViewAvailable(mList);
284 mList = listView; in onCreateView()
293 listContainer.addView(mList); in onCreateView()
374 mList = null; in onDestroyView()
562 return mList; in getListView()
676 final RecyclerView.Adapter adapter = mList.getAdapter(); in scrollToPreferenceInternal()
696 mList.scrollToPosition(position); in scrollToPreferenceInternal()
700 new ScrollToPreferenceObserver(adapter, mList, preference, key)); in scrollToPreferenceInternal()
704 if (mList == null) { in scrollToPreferenceInternal()
[all …]
/frameworks/support/v14/preference/src/android/support/v14/preference/
DPreferenceFragment.java137 private RecyclerView mList; field in PreferenceFragment
163 mList.focusableViewAvailable(mList);
295 mList = listView; in onCreateView()
304 listContainer.addView(mList); in onCreateView()
385 mList = null; in onDestroyView()
573 return mList; in getListView()
688 final RecyclerView.Adapter adapter = mList.getAdapter(); in scrollToPreferenceInternal()
708 mList.scrollToPosition(position); in scrollToPreferenceInternal()
712 new ScrollToPreferenceObserver(adapter, mList, preference, key)); in scrollToPreferenceInternal()
716 if (mList == null) { in scrollToPreferenceInternal()
[all …]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
DSwipeRefreshLayoutActivityList.java28 private ListView mList; field in SwipeRefreshLayoutActivityList
34 mList = (ListView) findViewById(R.id.content); in onCreate()
37 mList.setAdapter(arrayAdapter); in onCreate()
DSlidingPaneLayoutActivity.java67 private ListView mList; field in SlidingPaneLayoutActivity
79 mList = findViewById(R.id.left_pane); in onCreate()
85 mList.setAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, in onCreate()
87 mList.setOnItemClickListener(new ListItemClickListener()); in onCreate()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/
DGenericView.java25 private List<T> mList; field in GenericView
44 mList = list; in setList()
48 return mList; in getList()
/frameworks/native/libs/binder/
DMemoryDealer.cpp160 LinkedList<chunk_t> mList; member in android::SimpleBestFitAllocator
286 mList.insertHead(node); in SimpleBestFitAllocator()
291 while(!mList.isEmpty()) { in ~SimpleBestFitAllocator()
292 delete mList.remove(mList.head()); in ~SimpleBestFitAllocator()
325 chunk_t* cur = mList.head(); in alloc()
356 mList.insertBefore(free_chunk, split); in alloc()
367 mList.insertAfter(free_chunk, split); in alloc()
378 chunk_t* cur = mList.head(); in dealloc()
394 mList.remove(cur); in dealloc()
441 chunk_t const* cur = mList.head(); in dump_l()
/frameworks/base/core/jni/
Dandroid_os_HwRemoteBinder.cpp71 mObjectWeak(NULL), mCookie(cookie), mList(list) in HwBinderDeathRecipient()
91 sp<HwBinderDeathRecipientList> list = mList.promote(); in binderDied()
106 sp<HwBinderDeathRecipientList> list = mList.promote(); in clearReference()
164 wp<HwBinderDeathRecipientList> mList; member in android::HwBinderDeathRecipient
174 for (const sp<HwBinderDeathRecipient>& deathRecipient : mList) { in ~HwBinderDeathRecipientList()
182 mList.push_back(recipient); in add()
189 for (iter = mList.begin(); iter != mList.end(); iter++) { in remove()
191 mList.erase(iter); in remove()
200 for (const sp<HwBinderDeathRecipient>& deathRecipient : mList) { in find()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestActivity.java41 private ListView mList; field in BiDiTestActivity
78 mList = findViewById(R.id.testlist); in onCreate()
79 mList.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in onCreate()
80 mList.setFocusableInTouchMode(true); in onCreate()
85 mList.setAdapter(adapter); in onCreate()
87 mList.setOnItemClickListener(mOnClickListener); in onCreate()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java753 private final List<ShortcutInfo> mList; field in ShortcutListAsserter
761 mList = (list == null) ? new ArrayList<>(0) : new ArrayList<>(list); in ShortcutListAsserter()
770 filter(mList, ShortcutInfo::isDynamic)); in selectDynamic()
775 filter(mList, ShortcutInfo::isDeclaredInManifest)); in selectManifest()
780 filter(mList, ShortcutInfo::isPinned)); in selectPinned()
785 filter(mList, (si -> si.isPinned() in selectFloating()
791 ShortcutManagerTestUtils.filterByActivity(mList, activity)); in selectByActivity()
796 ShortcutManagerTestUtils.changedSince(mList, time)); in selectByChangedSince()
802 for (ShortcutInfo si : mList) { in selectByIds()
817 ShortcutManagerTestUtils.sortedByRank(mList)); in toSortByRank()
[all …]
/frameworks/base/core/jni/android/graphics/
DFontUtils.h37 ListHelper(JNIEnv* env, jobject list) : mEnv(env), mList(list) {} in ListHelper()
44 jobject mList; variable
DFontUtils.cpp38 return mEnv->CallIntMethod(mList, gListClassInfo.mSize); in size()
42 return mEnv->CallObjectMethod(mList, gListClassInfo.mGet, index); in get()

12