Home
last modified time | relevance | path

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

/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/base/core/java/android/content/pm/
DParceledListSlice.java52 private final List<T> mList; field in ParceledListSlice
59 mList = list; in ParceledListSlice()
65 mList = new ArrayList<T>(N); in ParceledListSlice()
87 mList.add(parcelable); in ParceledListSlice()
89 if (DEBUG) Log.d(TAG, "Read inline #" + i + ": " + mList.get(mList.size()-1)); in ParceledListSlice()
111 mList.add(parcelable); in ParceledListSlice()
113 if (DEBUG) Log.d(TAG, "Read extra #" + i + ": " + mList.get(mList.size()-1)); in ParceledListSlice()
130 return mList; in getList()
136 for (int i=0; i<mList.size(); i++) { in describeContents()
137 contents |= mList.get(i).describeContents(); in describeContents()
[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/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/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/av/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/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.java102 private final AbsListView mList; field in FastScroller
248 mList = listView; in FastScroller()
335 final Context context = mList.getContext(); in setStyle()
458 mList.resolvePadding(); in onStateDependencyChanged()
478 position = mList.isLayoutRtl() ? in setScrollbarPosition()
520 final int firstVisibleItem = mList.getFirstVisiblePosition(); in onItemCountChanged()
551 textView.setLayoutDirection(mList.getLayoutDirection()); in createPreviewTextView()
726 final AbsListView list = mList; in updateContainerRect()
819 mList.removeCallbacks(mDeferHide); in setState()
925 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);
281 mList = listView; in onCreateView()
289 listContainer.addView(mList); in onCreateView()
370 mList = null; in onDestroyView()
558 return mList; in getListView()
672 final RecyclerView.Adapter adapter = mList.getAdapter(); in scrollToPreferenceInternal()
692 mList.scrollToPosition(position); in scrollToPreferenceInternal()
696 new ScrollToPreferenceObserver(adapter, mList, preference, key)); in scrollToPreferenceInternal()
700 if (mList == null) { in scrollToPreferenceInternal()
[all …]
/frameworks/support/v14/preference/src/android/support/v14/preference/
DPreferenceFragment.java137 private RecyclerView mList; field in PreferenceFragment
162 mList.focusableViewAvailable(mList);
293 mList = listView; in onCreateView()
301 listContainer.addView(mList); in onCreateView()
382 mList = null; in onDestroyView()
568 return mList; in getListView()
683 final RecyclerView.Adapter adapter = mList.getAdapter(); in scrollToPreferenceInternal()
703 mList.scrollToPosition(position); in scrollToPreferenceInternal()
707 new ScrollToPreferenceObserver(adapter, mList, preference, key)); in scrollToPreferenceInternal()
711 if (mList == null) { in scrollToPreferenceInternal()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootsFragment.java66 private ListView mList; field in RootsFragment
92 mList = (ListView) view.findViewById(R.id.roots_list); in onCreateView()
93 mList.setOnItemClickListener(mItemListener); in onCreateView()
94 mList.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in onCreateView()
122 mList.setAdapter(mAdapter); in onActivityCreated()
130 mList.setAdapter(null); in onActivityCreated()
146 mList.setOnItemLongClickListener(mItemLongClickListener); in onDisplayStateChanged()
148 mList.setOnItemLongClickListener(null); in onDisplayStateChanged()
149 mList.setLongClickable(false); in onDisplayStateChanged()
166 mList.setItemChecked(i, true); in onCurrentRootChanged()
[all …]
/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/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 = (ListView) 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/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestActivity.java41 private ListView mList; field in BiDiTestActivity
78 mList = (ListView) 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.java737 private final List<ShortcutInfo> mList; field in ShortcutListAsserter
745 mList = (list == null) ? new ArrayList<>(0) : new ArrayList<>(list); in ShortcutListAsserter()
754 filter(mList, ShortcutInfo::isDynamic)); in selectDynamic()
759 filter(mList, ShortcutInfo::isDeclaredInManifest)); in selectManifest()
764 filter(mList, ShortcutInfo::isPinned)); in selectPinned()
769 ShortcutManagerTestUtils.filterByActivity(mList, activity)); in selectByActivity()
774 ShortcutManagerTestUtils.changedSince(mList, time)); in selectByChangedSince()
780 for (ShortcutInfo si : mList) { in selectByIds()
795 ShortcutManagerTestUtils.sortedByRank(mList)); in toSortByRank()
799 c.accept(mList); in call()
[all …]
/frameworks/native/services/surfaceflinger/RenderEngine/
DRenderEngine.cpp317 KeyedVector<Attribute, EGLint> mList; member in android::EGLAttributeVector
341 v.mList.add(attribute, value); in operator =()
344 operator EGLint () const { return v.mList[attribute]; } in operator EGLint()
348 mList.add(EGL_NONE, EGL_NONE); in EGLAttributeVector()
352 mList.removeItem(attribute); in remove()
359 return mList[attribute]; in operator []()
362 operator EGLint const* () const { return &mList.keyAt(0).v; } in operator EGLint const*()
/frameworks/base/core/jni/
Dandroid_util_Binder.cpp351 List< sp<JavaDeathRecipient> > mList; member in DeathRecipientList
372 mObjectWeak(NULL), mList(list) in JavaDeathRecipient()
399 sp<DeathRecipientList> list = mList.promote(); in binderDied()
414 sp<DeathRecipientList> list = mList.promote(); in clearReference()
474 wp<DeathRecipientList> mList; member in JavaDeathRecipient
490 if (mList.size() > 0) { in ~DeathRecipientList()
492 for (iter = mList.begin(); iter != mList.end(); iter++) { in ~DeathRecipientList()
502 mList.push_back(recipient); in add()
509 for (iter = mList.begin(); iter != mList.end(); iter++) { in remove()
512 mList.erase(iter); in remove()
[all …]
/frameworks/av/media/libstagefright/
DACodec.cpp111 std::list<sp<AMessage> > &getList() { return mList; } in getList()
113 std::list<sp<AMessage> > mList; member