HomeSort by relevance Sort by last modified time
    Searched refs:newList (Results 1 - 25 of 259) sorted by null

1 2 3 4 5 6 7 8 91011

  /frameworks/support/paging/runtime/src/main/java/android/support/v7/recyclerview/extensions/
ListAdapterHelper.java 193 * @param newList The new List.
196 public void setList(final List<T> newList) {
197 if (newList == mList) {
205 if (newList == null) {
213 mUpdateCallback.onInserted(0, newList.size());
214 mList = newList;
230 return newList.size();
236 oldList.get(oldItemPosition), newList.get(newItemPosition));
242 oldList.get(oldItemPosition), newList.get(newItemPosition));
250 latchList(newList, result)
    [all...]
  /libcore/ojluni/src/main/java/sun/security/jca/
Providers.java 165 public static void setProviderList(ProviderList newList) {
167 setSystemProviderList(newList);
169 changeThreadProviderList(newList);
183 ProviderList newList = list.removeInvalid();
184 if (newList != list) {
185 changeThreadProviderList(newList);
186 list = newList;
192 ProviderList newList = list.removeInvalid();
193 if (newList != list) {
194 setSystemProviderList(newList);
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/level2/core/
getElementsByTagNameNS01.java 70 NodeList newList;
72 newList = doc.getElementsByTagNameNS(namespaceURI, localName);
73 assertSize("throw_Size", 37, newList);
getElementsByTagNameNS08.java 67 NodeList newList;
70 newList = docElem.getElementsByTagNameNS("*", "*");
71 assertSize("listSize", 35, newList); // 36 on the RI, which supports entity references
getElementsByTagNameNS02.java 76 NodeList newList;
81 newList = doc.getElementsByTagNameNS("*", "employee");
82 assertSize("employeeCount", 5, newList);
83 newElement = (Element) newList.item(3);
getElementsByTagNameNS09.java 78 NodeList newList;
85 newList = docElem.getElementsByTagNameNS("*", "employee");
86 assertSize("employeeCount", 5, newList);
87 newElement = (Element) newList.item(3);
  /frameworks/support/paging/runtime/src/main/java/android/arch/paging/
SparseDiffHelper.java 34 final PageArrayList<T> oldList, final PageArrayList<T> newList,
40 if (!newList.isImmutable()) {
48 T newItem = newList.get(newItemPosition);
62 return newList.size();
68 T newItem = newList.get(newItemPosition);
81 T newItem = newList.get(newItemPosition);
ContiguousDiffHelper.java 34 final NullPaddedList<T> oldList, final NullPaddedList<T> newList,
40 if (!newList.isImmutable()) {
48 T newItem = newList.mList.get(newItemPosition);
62 return newList.mList.size();
68 T newItem = newList.mList.get(newItemPosition);
81 T newItem = newList.mList.get(newItemPosition);
137 final NullPaddedList<T> oldList, final NullPaddedList<T> newList,
142 && newList.getLeadingNullCount() == 0
143 && newList.getTrailingNullCount() == 0) {
151 final int trailingNew = newList.getTrailingNullCount()
    [all...]
PagedListAdapterHelper.java 286 PagedList<T> newList, List<T> diffSnapshot,
290 (NullPaddedList<T>) mList, (ContiguousPagedList<T>) newList, diffResult);
294 mList = newList;
295 newList.addWeakCallback((PagedList<T>) diffSnapshot, mPagedListCallback);
  /packages/apps/Settings/src/com/android/settings/search/
SearchResultDiffCallback.java 32 public SearchResultDiffCallback(List<SearchResult> oldList, List<SearchResult> newList) {
34 mNewList = newList;
  /external/javassist/src/main/javassist/expr/
ExprEditor.java 156 NewOp newList;
163 newList = null;
201 context.newList = new NewOp(context.newList, pos,
205 NewOp newList = context.newList;
206 if (newList != null
207 && minfo.getConstPool().isConstructor(newList.type,
210 newList.type, newList.pos)
    [all...]
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
ProtobufArrayList.java 68 List<E> newList = new ArrayList<E>(capacity);
69 newList.addAll(list);
70 return new ProtobufArrayList<E>(newList);
  /libcore/luni/src/test/java/tests/org/w3c/dom/
GetElementsByTagNameNS.java 73 NodeList newList;
75 newList = doc.getElementsByTagNameNS(namespaceURI, localName);
77 assertEquals("throw_Size", 36, newList.getLength());
82 NodeList newList;
87 newList = doc.getElementsByTagNameNS("*", "employee");
88 assertEquals("employeeCount", 5, newList.getLength());
89 newElement = (Element) newList.item(3);
178 NodeList newList;
181 newList = docElem.getElementsByTagNameNS("*", "*");
182 assertEquals("listSize", 35, newList.getLength())
    [all...]
  /frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
LockTargetStateAnalysis.java 100 List<LockTarget> newList = new ArrayList<>(state1.getTargets());
102 if (!newList.contains(otherTarget)) {
103 newList.add(otherTarget);
107 return new LockTargetState(base.getType(), newList);
  /external/icu/icu4c/source/common/
ulist.c 38 UList *newList = NULL;
44 newList = (UList *)uprv_malloc(sizeof(UList));
45 if (newList == NULL) {
50 newList->curr = NULL;
51 newList->head = NULL;
52 newList->tail = NULL;
53 newList->size = 0;
54 newList->currentIndex = -1;
56 return newList;
  /frameworks/support/paging/runtime/src/androidTest/java/android/arch/paging/
ContiguousDiffHelperTest.java 54 private void validateTwoListDiff(StringPagedList oldList, StringPagedList newList,
56 DiffUtil.DiffResult diffResult = ContiguousDiffHelper.computeDiff(oldList, newList,
60 ContiguousDiffHelper.dispatchDiff(listUpdateCallback, oldList, newList, diffResult);
  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/
CheckableListAdapter.java 104 ArrayList<CheckableItem> newList = new ArrayList<CheckableItem>();
107 newList.add(item);
122 addAll(newList);
  /frameworks/base/services/core/java/com/android/server/hdmi/
HdmiUtils.java 219 List<T> newList = new ArrayList<>();
220 newList.addAll(a);
221 newList.addAll(b);
222 return Collections.unmodifiableList(newList);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
ManageApplications.java 126 final List<Preference> newList = new ArrayList<>(apps.size() + 1);
133 newList.add(bindPreference(recycle, entry));
140 if (newList.size() > 0) {
141 for (Preference prefToAdd : newList) {
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
ULocaleCollationTest.java 308 List<UiListItem> newList = names.getUiList(list, false, collator);
309 if (!expected.equals(newList)) {
310 if (expected.size() != newList.size()) {
311 errln(list.toString() + ": wrong size" + expected + ", " + newList);
315 assertEquals(i+"", expected.get(i), newList.get(i));
319 assertEquals(list.toString(), expected, newList);
  /external/icu/icu4c/source/tools/pkgdata/
pkgtypes.c 139 CharList *newList;
140 newList = uprv_malloc(sizeof(CharList));
143 if(newList == NULL) {
147 newList->str = str;
148 newList->next = l;
149 return newList;
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
ULocaleCollationTest.java 307 List<UiListItem> newList = names.getUiList(list, false, collator);
308 if (!expected.equals(newList)) {
309 if (expected.size() != newList.size()) {
310 errln(list.toString() + ": wrong size" + expected + ", " + newList);
314 assertEquals(i+"", expected.get(i), newList.get(i));
318 assertEquals(list.toString(), expected, newList);
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
LinkedNode.java 68 public static <T extends LinkedNode> List<T> newList() {
  /libcore/ojluni/src/main/java/java/security/
Security.java 289 ProviderList newList = ProviderList.insertAt(list, provider, position - 1);
290 if (list == newList) {
295 Providers.setProviderList(newList);
296 return newList.getIndex(providerName) + 1;
372 ProviderList newList = ProviderList.remove(list, name);
373 Providers.setProviderList(newList);
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/conversation/
SimSelectorView.java 137 public void bindData(final List<SubscriptionListEntry> newList) {
139 addAll(newList);

Completed in 1728 milliseconds

1 2 3 4 5 6 7 8 91011