HomeSort by relevance Sort by last modified time
    Searched defs:mList (Results 26 - 50 of 149) sorted by null

12 3 4 5 6

  /frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
SortedListTest.java 52 SortedList<Item> mList;
149 mList = new SortedList<Item>(Item.class, mCallback);
171 assertEquals(mList.get(i), items[i]);
172 assertEquals(mList.indexOf(items[i]), i);
178 mList.add(items[0]);
179 mList.clear();
180 mList.addAll(items, false);
186 assertEquals("empty", mList.size(), 0);
246 assertEquals(2, mList.size());
247 mList.clear()
    [all...]
  /development/tools/bugreport/src/com/android/bugreport/util/
Lines.java 32 private final ArrayList<? extends Line> mList;
76 this.mList = list;
78 mMax = mList.size();
87 mList = list;
106 return this.mList.get(pos++);
139 return new Lines<T>(mList, Math.max(mMin, from), Math.min(mMax, to));
  /frameworks/base/core/java/android/app/
ListActivity.java 185 protected ListView mList;
192 mList.focusableViewAvailable(mList);
241 mList = (ListView)findViewById(com.android.internal.R.id.list);
242 if (mList == null) {
248 mList.setEmptyView(emptyView);
250 mList.setOnItemClickListener(mOnClickListener);
265 mList.setAdapter(adapter);
276 mList.setSelection(position);
283 return mList.getSelectedItemPosition()
    [all...]
  /frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
ObservableListAdapter.java 30 private List<T> mList;
50 if (mList == list) {
53 if (mList instanceof ObservableList) {
54 ((ObservableList) mList).removeOnListChangedCallback(mListChangedCallback);
56 mList = list;
57 if (mList instanceof ObservableList) {
90 ((ObservableList) mList).addOnListChangedCallback(mListChangedCallback);
97 return mList.size();
102 return mList.get(position);
131 T item = mList.get(position)
    [all...]
  /hardware/intel/img/hwcomposer/merrifield/common/base/
HwcLayerList.h 93 hwc_display_contents_1_t *mList;
  /packages/apps/Gallery/tests/src/com/android/camera/gallery/
MockImageList.java 12 private final ArrayList<IImage> mList = new ArrayList<IImage>();
25 return mList.size();
29 return mList.get(i);
37 return mList.indexOf(image);
41 return mList.isEmpty();
45 return mList.remove(image);
49 return mList.remove(i) != null;
53 mList.add(image);
  /tools/tradefederation/core/src/com/android/tradefed/device/
ManagedDeviceList.java 67 private List<IManagedTestDevice> mList = new LinkedList<IManagedTestDevice>();
89 l.addAll(mList);
102 return mList.size();
136 for (IManagedTestDevice d : mList) {
167 Iterator<IManagedTestDevice> iterator = mList.iterator();
172 mList.add(d);
185 for (IManagedTestDevice d : mList) {
204 mList.clear();
225 mList.remove(d);
227 mList.add(d)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
VoiceRecognition.java 53 private ListView mList;
73 mList = (ListView) findViewById(R.id.list);
143 mList.setAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1,
  /packages/apps/Calendar/src/com/android/calendar/selectcalendars/
SelectVisibleCalendarsFragment.java 67 private ListView mList;
116 mList = (ListView)mView.findViewById(R.id.list);
122 mList.setDivider(null);
136 mList.setAdapter(mAdapter);
137 mList.setOnItemClickListener(this);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
PhotoFallbackEffect.java 61 private ArrayList<Entry> mList = new ArrayList<Entry>();
69 mList.add(new Entry(path, rect, texture));
73 for (int i = 0, n = mList.size(); i < n; ++i) {
74 Entry entry = mList.get(i);
82 for (int i = 0, n = mList.size(); i < n; ++i) {
83 Entry entry = mList.get(i);
164 for (int i = 0, n = mList.size(); i < n; ++i) {
165 Entry entry = mList.get(i);
173 for (int i = 0, n = mList.size(); i < n; ++i) {
174 Entry entry = mList.get(i)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
RenderPreviewList.java 52 private final List<ConfigurationDescription> mList = Lists.newArrayList();
98 if (!mList.isEmpty()) {
108 for (ConfigurationDescription description : mList) {
117 mList.clear();
129 mList.add(description);
143 if (mList.isEmpty()) {
152 for (ConfigurationDescription description : mList) {
193 mList.remove(description);
198 return mList.isEmpty();
207 mList.add(description)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
GLListProperty.java 27 private final List<IGLProperty> mList;
41 mList = new ArrayList<IGLProperty>(size);
44 mList.add(p);
51 mList = props;
54 for (IGLProperty p : mList) {
60 return mList;
64 return mList.get(index);
69 return mList.add(property);
73 return mList.remove(property);
78 mList.set(index, property)
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/util/
ConditionPriorityBlockingQueue.java 86 private final List<T> mList;
114 mList = new LinkedList<T>();
139 ListIterator<T> iter = mList.listIterator();
147 mList.remove(minObject);
289 boolean ok = mList.add(addedElement);
310 mList.clear();
331 l.addAll(mList);
348 return mList.contains(object);
360 return mList.size();
376 return mList.remove(object)
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
RootsFragment.java 103 private ListView mList;
139 mList = (ListView) view.findViewById(R.id.roots_list);
140 mList.setOnItemClickListener(mItemListener);
147 mList.setOnGenericMotionListener(
163 mList.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
168 final int pos = mList.pointToPosition(x, y);
234 mList.setAdapter(mAdapter);
243 mList.setAdapter(null);
338 mList.setOnItemLongClickListener(mItemLongClickListener);
340 mList.setOnItemLongClickListener(null)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
ActivityPage.java 53 private List mList;
114 mList = new List(container, SWT.BORDER | SWT.V_SCROLL);
115 mList.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));
147 mList.setItems(items);
153 mList.setSelection(index);
154 mList.addSelectionListener(this);
267 if (mList.getSelectionCount() < 1) {
310 mList.setEnabled(mValues.createActivity);
311 } else if (source == mList) {
312 int index = mList.getSelectionIndex()
    [all...]
  /development/apps/Development/src/com/android/development/
AppHwConfigList.java 92 if(mList == null) {
93 mList = new ArrayList<PackageInfo>();
95 mList.add(pkgInfo);
98 if (mList != null) {
99 Collections.sort(mList, sDisplayNameComparator);
104 if (mList == null) {
107 return mList.get(position);
111 return mList != null ? mList.size() : 0;
130 bindView(view, mList.get(position))
    [all...]
InstrumentationList.java 53 mList = context.getPackageManager().queryInstrumentation(mTargetPackage, 0);
54 if (mList != null) {
55 Collections.sort(mList, new InstrumentationInfo.DisplayNameComparator(mPM));
61 if (mList == null) {
64 InstrumentationInfo ii = mList.get(position);
70 return mList != null ? mList.size() : 0;
92 bindView(view, mList.get(position));
107 protected List<InstrumentationInfo> mList;
  /frameworks/base/core/java/android/content/pm/
BaseParceledListSlice.java 51 private final List<T> mList;
56 mList = list;
62 mList = new ArrayList<T>(N);
84 mList.add(parcelable);
86 if (DEBUG) Log.d(TAG, "Read inline #" + i + ": " + mList.get(mList.size()-1));
108 mList.add(parcelable);
110 if (DEBUG) Log.d(TAG, "Read extra #" + i + ": " + mList.get(mList.size()-1));
136 return mList;
    [all...]
  /frameworks/base/tests/BiDiTests/src/com/android/bidi/
BiDiTestActivity.java 41 private ListView mList;
78 mList = findViewById(R.id.testlist);
79 mList.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
80 mList.setFocusableInTouchMode(true);
85 mList.setAdapter(adapter);
87 mList.setOnItemClickListener(mOnClickListener);
  /frameworks/support/paging/rxjava2/src/main/java/androidx/paging/
RxPagedListBuilder.java 256 private PagedList<Value> mList;
308 if (mList != null) {
310 initializeKey = (Key) mList.getLastKey();
320 mList = new PagedList.Builder<>(mDataSource, mConfig)
326 } while (mList.isDetached());
327 return mList;
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapMessageListing.java 37 private List<BluetoothMapMessageListingElement> mList;
40 mList = new ArrayList<BluetoothMapMessageListingElement>();
44 mList.add(element);
56 if (mList != null) {
57 return mList.size();
76 return mList;
115 for (BluetoothMapMessageListingElement element : mList) {
140 Collections.sort(mList);
144 count = Math.min(count, mList.size() - offset);
146 mList = mList.subList(offset, offset + count)
    [all...]
  /packages/apps/Email/provider_src/com/android/email/mail/store/imap/
ImapList.java 39 private ArrayList<ImapElement> mList = new ArrayList<ImapElement>();
45 mList.add(e);
59 return mList.size();
90 return (index >= mList.size()) ? ImapElement.NONE : mList.get(index);
118 return mList.get(i);
172 if (mList != null) {
173 for (ImapElement e : mList) {
176 mList = null;
183 return mList.toString()
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
ContactsListFragment.java 54 ListView mList;
100 mList = list;
GroupsListFragment.java 45 ListView mList;
65 mList = list;
  /development/samples/ApiDemos/src/com/example/android/apis/content/
ChangedContacts.java 71 private ListView mList;
110 mList = new ListView(this);
111 mList.setLayoutParams(new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,
113 main.addView(mList);
209 mList.setAdapter(mChangeAdapter);
226 mList.setAdapter(mDeleteAdapter);

Completed in 561 milliseconds

12 3 4 5 6