Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DExpandableListActivity.java163 ExpandableListView mList; field in ExpandableListActivity
223 mList = (ExpandableListView)findViewById(com.android.internal.R.id.list); in onContentChanged()
224 if (mList == null) { in onContentChanged()
230 mList.setEmptyView(emptyView); in onContentChanged()
232 mList.setOnChildClickListener(this); in onContentChanged()
233 mList.setOnGroupExpandListener(this); in onContentChanged()
234 mList.setOnGroupCollapseListener(this); in onContentChanged()
249 mList.setAdapter(adapter); in setListAdapter()
261 return mList; in getExpandableListView()
273 if (mList != null) { in ensureList()
[all …]
DListActivity.java189 protected ListView mList; field in ListActivity
196 mList.focusableViewAvailable(mList);
245 mList = (ListView)findViewById(com.android.internal.R.id.list); in onContentChanged()
246 if (mList == null) { in onContentChanged()
252 mList.setEmptyView(emptyView); in onContentChanged()
254 mList.setOnItemClickListener(mOnClickListener); in onContentChanged()
269 mList.setAdapter(adapter); in setListAdapter()
280 mList.setSelection(position); in setSelection()
287 return mList.getSelectedItemPosition(); in getSelectedItemPosition()
294 return mList.getSelectedItemId(); in getSelectedItemId()
[all …]
DListFragment.java158 mList.focusableViewAvailable(mList);
170 ListView mList; field in ListFragment
217 mList = null; in onDestroyView()
244 if (mList != null) { in setListAdapter()
245 mList.setAdapter(adapter); in setListAdapter()
262 mList.setSelection(position); in setSelection()
270 return mList.getSelectedItemPosition(); in getSelectedItemPosition()
278 return mList.getSelectedItemId(); in getSelectedItemId()
286 return mList; in getListView()
301 mList.setEmptyView(mStandardEmptyView); in setEmptyText()
[all …]
/frameworks/base/core/java/android/os/
DLocaleList.java38 private final Locale[] mList; field in LocaleList
55 return (0 <= index && index < mList.length) ? mList[index] : null; in get()
65 return mList.length == 0; in isEmpty()
73 return mList.length; in size()
86 for (int i = 0; i < mList.length; i++) { in indexOf()
87 if (mList[i].equals(locale)) { in indexOf()
100 final Locale[] otherList = ((LocaleList) other).mList; in equals()
101 if (mList.length != otherList.length) in equals()
103 for (int i = 0; i < mList.length; i++) { in equals()
104 if (!mList[i].equals(otherList[i])) in equals()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DLaunchObserverRegistryImpl.java44 private final ArrayList<ActivityMetricsLaunchObserver> mList = new ArrayList<>(); field in LaunchObserverRegistryImpl
112 mList.add(observer); in handleRegisterLaunchObserver()
116 mList.remove(observer); in handleUnregisterLaunchObserver()
121 for (int i = 0; i < mList.size(); i++) { in handleOnIntentStarted()
122 ActivityMetricsLaunchObserver o = mList.get(i); in handleOnIntentStarted()
129 for (int i = 0; i < mList.size(); i++) { in handleOnIntentFailed()
130 ActivityMetricsLaunchObserver o = mList.get(i); in handleOnIntentFailed()
139 for (int i = 0; i < mList.size(); i++) { in handleOnActivityLaunched()
140 ActivityMetricsLaunchObserver o = mList.get(i); in handleOnActivityLaunched()
148 for (int i = 0; i < mList.size(); i++) { in handleOnActivityLaunchCancelled()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java48 private ViewGroup mList; field in HardwareUiLayout
111 if (mList != null) { in updateSettings()
112 mList.setBackground(mListBackground); in updateSettings()
119 if (mList != null) { in updateEdgeMargin()
120 MarginLayoutParams params = (MarginLayoutParams) mList.getLayoutParams(); in updateEdgeMargin()
128 mList.setLayoutParams(params); in updateEdgeMargin()
151 if (mList == null) { in onMeasure()
153 mList = getListView(); in onMeasure()
154 mList.setBackground(mListBackground); in onMeasure()
158 mOldHeight = mList.getMeasuredHeight(); in onMeasure()
[all …]
/frameworks/base/core/java/android/content/pm/
DBaseParceledListSlice.java52 private final List<T> mList; field in BaseParceledListSlice
57 mList = list; in BaseParceledListSlice()
63 mList = new ArrayList<T>(N); in BaseParceledListSlice()
85 mList.add(parcelable); in BaseParceledListSlice()
87 if (DEBUG) Log.d(TAG, "Read inline #" + i + ": " + mList.get(mList.size()-1)); in BaseParceledListSlice()
109 mList.add(parcelable); in BaseParceledListSlice()
111 if (DEBUG) Log.d(TAG, "Read extra #" + i + ": " + mList.get(mList.size()-1)); in BaseParceledListSlice()
138 return mList; in getList()
156 final int N = mList.size(); in writeToParcel()
161 final Class<?> listElementClass = mList.get(0).getClass(); in writeToParcel()
[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/preference/
DPreferenceFragment.java108 private ListView mList; field in PreferenceFragment
134 mList.focusableViewAvailable(mList);
236 if (mList != null) { in onDestroyView()
237 mList.setOnKeyListener(null); in onDestroyView()
239 mList = null; in onDestroyView()
399 return mList; in getListView()
404 if (mList != null) { in hasListView()
415 mList = (ListView)rawListView; in hasListView()
416 if (mList == null) { in hasListView()
423 if (mList != null) { in ensureList()
[all …]
/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/widget/
DFastScroller.java105 private final AbsListView mList; field in FastScroller
259 mList = listView; in FastScroller()
346 final Context context = mList.getContext(); in setStyle()
470 mList.resolvePadding(); in onStateDependencyChanged()
490 position = mList.isLayoutRtl() ? in setScrollbarPosition()
533 final int firstVisibleItem = mList.getFirstVisiblePosition(); in onItemCountChanged()
564 textView.setLayoutDirection(mList.getLayoutDirection()); in createPreviewTextView()
739 final AbsListView list = mList; in updateContainerRect()
833 mList.removeCallbacks(mDeferHide); in setState()
939 mList.removeCallbacks(mDeferHide); in postAutoHide()
[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 chunk_t* removed = mList.remove(mList.head()); in ~SimpleBestFitAllocator()
298 LOG_ALWAYS_FATAL_IF(mList.head() == removed); in ~SimpleBestFitAllocator()
333 chunk_t* cur = mList.head(); in alloc()
364 mList.insertBefore(free_chunk, split); in alloc()
375 mList.insertAfter(free_chunk, split); in alloc()
386 chunk_t* cur = mList.head(); in dealloc()
402 mList.remove(cur); in dealloc()
[all …]
/frameworks/base/core/jni/
Dandroid_os_HwRemoteBinder.cpp75 mObjectWeak(NULL), mCookie(cookie), mList(list) in HwBinderDeathRecipient()
95 sp<HwBinderDeathRecipientList> list = mList.promote(); in binderDied()
110 sp<HwBinderDeathRecipientList> list = mList.promote(); in clearReference()
168 wp<HwBinderDeathRecipientList> mList; member in android::HwBinderDeathRecipient
178 for (const sp<HwBinderDeathRecipient>& deathRecipient : mList) { in ~HwBinderDeathRecipientList()
186 mList.push_back(recipient); in add()
192 for (auto iter = mList.begin(); iter != mList.end(); iter++) { in remove()
194 mList.erase(iter); in remove()
203 for(auto iter = mList.rbegin(); iter != mList.rend(); iter++) { in find()
Dandroid_util_Binder.cpp527 List< sp<JavaDeathRecipient> > mList; member in DeathRecipientList
548 mObjectWeak(NULL), mList(list) in JavaDeathRecipient()
575 sp<DeathRecipientList> list = mList.promote(); in binderDied()
590 sp<DeathRecipientList> list = mList.promote(); in clearReference()
649 wp<DeathRecipientList> mList; member in JavaDeathRecipient
665 if (mList.size() > 0) { in ~DeathRecipientList()
667 for (iter = mList.begin(); iter != mList.end(); iter++) { in ~DeathRecipientList()
677 mList.push_back(recipient); in add()
684 for (iter = mList.begin(); iter != mList.end(); iter++) { in remove()
687 mList.erase(iter); in remove()
[all …]
Dandroid_os_HwRemoteBinder.h36 std::vector<sp<HwBinderDeathRecipient>> mList; variable
/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.java765 private final List<ShortcutInfo> mList; field in ShortcutListAsserter
773 mList = (list == null) ? new ArrayList<>(0) : new ArrayList<>(list); in ShortcutListAsserter()
782 filter(mList, ShortcutInfo::isDynamic)); in selectDynamic()
787 filter(mList, ShortcutInfo::isDeclaredInManifest)); in selectManifest()
792 filter(mList, ShortcutInfo::isPinned)); in selectPinned()
797 filter(mList, (si -> si.isPinned() in selectFloating()
803 ShortcutManagerTestUtils.filterByActivity(mList, activity)); in selectByActivity()
808 ShortcutManagerTestUtils.changedSince(mList, time)); in selectByChangedSince()
814 for (ShortcutInfo si : mList) { in selectByIds()
829 ShortcutManagerTestUtils.sortedByRank(mList)); in toSortByRank()
[all …]
/frameworks/base/core/jni/android/graphics/
DFontUtils.cpp38 return mEnv->CallIntMethod(mList, gListClassInfo.mSize); in size()
42 return mEnv->CallObjectMethod(mList, gListClassInfo.mGet, index); in get()
DFontUtils.h44 ListHelper(JNIEnv* env, jobject list) : mEnv(env), mList(list) {} in ListHelper()
51 jobject mList; variable
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestProperties.h95 : mList(list), in Hwc2TestProperty()
105 if (mListIdx + 1 < mList.size()) { in advance()
117 return mList.at(mListIdx); in get()
129 const std::vector<T>& mList; variable
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.cpp152 KeyedVector<Attribute, EGLint> mList; member in android::renderengine::gl::EGLAttributeVector
175 v.mList.add(Attribute(attribute), value); in operator =()
178 operator EGLint() const { return v.mList[attribute]; } in operator EGLint()
182 EGLAttributeVector() { mList.add(Attribute(EGL_NONE), EGL_NONE); } in EGLAttributeVector()
185 mList.removeItem(Attribute(attribute)); in remove()
189 EGLint operator[](EGLint attribute) const { return mList[attribute]; } in operator []()
191 operator EGLint const*() const { return &mList.keyAt(0).v; } in operator EGLint const*()
/frameworks/av/media/libstagefright/
DACodec.cpp160 std::list<sp<AMessage> > &getList() { return mList; } in getList()
162 std::list<sp<AMessage> > mList; member
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt4928 Landroid/app/ExpandableListActivity;->mList:Landroid/widget/ExpandableListView;
7283 Landroid/app/ListActivity;->mList:Landroid/widget/ListView;
7291 Landroid/app/ListFragment;->mList:Landroid/widget/ListView;
13996 Landroid/content/pm/BaseParceledListSlice;->mList:Ljava/util/List;
51551 Landroid/os/LocaleList;->mList:[Ljava/util/Locale;
54344 Landroid/preference/PreferenceFragment;->mList:Landroid/widget/ListView;
81978 Landroid/widget/FastScroller;->mList:Landroid/widget/AbsListView;