Home
last modified time | relevance | path

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

/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.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.java40 private final Locale[] mList; field in LocaleList
57 return (0 <= index && index < mList.length) ? mList[index] : null; in get()
67 return mList.length == 0; in isEmpty()
75 return mList.length; in size()
88 for (int i = 0; i < mList.length; i++) { in indexOf()
89 if (mList[i].equals(locale)) { in indexOf()
102 final Locale[] otherList = ((LocaleList) other).mList; in equals()
103 if (mList.length != otherList.length) in equals()
105 for (int i = 0; i < mList.length; i++) { in equals()
106 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/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.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/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.cpp457 List< sp<JavaDeathRecipient> > mList; member in DeathRecipientList
478 mObjectWeak(NULL), mList(list) in JavaDeathRecipient()
505 sp<DeathRecipientList> list = mList.promote(); in binderDied()
520 sp<DeathRecipientList> list = mList.promote(); in clearReference()
579 wp<DeathRecipientList> mList; member in JavaDeathRecipient
595 if (mList.size() > 0) { in ~DeathRecipientList()
597 for (iter = mList.begin(); iter != mList.end(); iter++) { in ~DeathRecipientList()
607 mList.push_back(recipient); in add()
614 for (iter = mList.begin(); iter != mList.end(); iter++) { in remove()
617 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.java764 private final List<ShortcutInfo> mList; field in ShortcutListAsserter
772 mList = (list == null) ? new ArrayList<>(0) : new ArrayList<>(list); in ShortcutListAsserter()
781 filter(mList, ShortcutInfo::isDynamic)); in selectDynamic()
786 filter(mList, ShortcutInfo::isDeclaredInManifest)); in selectManifest()
791 filter(mList, ShortcutInfo::isPinned)); in selectPinned()
796 filter(mList, (si -> si.isPinned() in selectFloating()
802 ShortcutManagerTestUtils.filterByActivity(mList, activity)); in selectByActivity()
807 ShortcutManagerTestUtils.changedSince(mList, time)); in selectByChangedSince()
813 for (ShortcutInfo si : mList) { in selectByIds()
828 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.cpp151 KeyedVector<Attribute, EGLint> mList; member in android::renderengine::gl::EGLAttributeVector
174 v.mList.add(Attribute(attribute), value); in operator =()
177 operator EGLint() const { return v.mList[attribute]; } in operator EGLint()
181 EGLAttributeVector() { mList.add(Attribute(EGL_NONE), EGL_NONE); } in EGLAttributeVector()
184 mList.removeItem(Attribute(attribute)); in remove()
188 EGLint operator[](EGLint attribute) const { return mList[attribute]; } in operator []()
190 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.txt5292 Landroid/app/ExpandableListActivity;->mList:Landroid/widget/ExpandableListView;
7778 Landroid/app/ListActivity;->mList:Landroid/widget/ListView;
7786 Landroid/app/ListFragment;->mList:Landroid/widget/ListView;
14947 Landroid/content/pm/BaseParceledListSlice;->mList:Ljava/util/List;
55266 Landroid/os/LocaleList;->mList:[Ljava/util/Locale;
58343 Landroid/preference/PreferenceFragment;->mList:Landroid/widget/ListView;
87851 Landroid/widget/FastScroller;->mList:Landroid/widget/AbsListView;