Home
last modified time | relevance | path

Searched refs:newItems (Results 1 – 8 of 8) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAdapterView.java312 List<Object> newItems = new ArrayList<Object>(); in addViews() local
319 newItems.add(adapter.getItem(i)); in addViews()
322 if (valid && !newItems.equals(previousItems)) { in addViews()
323 …throw new RuntimeException("view is valid but current items <" + newItems + "> don't match previou… in addViews()
325 previousItems = newItems; in addViews()
/external/smali/util/src/main/java/org/jf/util/
DImmutableConverter.java152 ImmutableItem[] newItems = (ImmutableItem[])new Object[sortedSet.size()];
155 newItems[index++] = makeImmutable(item);
158 return ArraySortedSet.of(comparator, newItems);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DPick.java194 public Alternation or2 (Pick[] newItems) { in or2() argument
195 return or2(1, newItems); in or2()
200 public Alternation or2 (int itemWeight, Pick[] newItems) { in or2() argument
201 int[] itemWeights = new int[newItems.length]; in or2()
203 return or2(itemWeights, newItems); // we don't care about perf in or2()
205 public Alternation or2 (int[] itemWeights, Pick[] newItems) { in or2() argument
206 if (newItems.length != itemWeights.length) { in or2()
208 "or lengths must be equal: " + newItems.length + " != " + itemWeights.length); in or2()
211 addInternal(newItems); in or2()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DPick.java193 public Alternation or2 (Pick[] newItems) { in or2() argument
194 return or2(1, newItems); in or2()
199 public Alternation or2 (int itemWeight, Pick[] newItems) { in or2() argument
200 int[] itemWeights = new int[newItems.length]; in or2()
202 return or2(itemWeights, newItems); // we don't care about perf in or2()
204 public Alternation or2 (int[] itemWeights, Pick[] newItems) { in or2() argument
205 if (newItems.length != itemWeights.length) { in or2()
207 "or lengths must be equal: " + newItems.length + " != " + itemWeights.length); in or2()
210 addInternal(newItems); in or2()
/external/mockito/cglib-and-asm/src/org/mockito/asm/
DClassWriter.java1315 Item[] newItems = new Item[nl]; in put() local
1319 int index = j.hashCode % newItems.length; in put()
1321 j.next = newItems[index]; in put()
1322 newItems[index] = j; in put()
1326 items = newItems; in put()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DValidationReport.java148 Builder<T> addItems(Iterable<Item> newItems) {
149 items.addAll(newItems);
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tools.pas553 oldItems, newItems: TItemArray;
562 SetLength(newItems, NewCapPow2);
563 FItems := newItems;
/external/icu/icu4c/source/tools/toolutil/
Dpackage.cpp1287 Item *newItems = (Item*)uprv_malloc(max * sizeof(items[0])); in setItemCapacity() local
1289 if(newItems == NULL) { in setItemCapacity()
1295 uprv_memcpy(newItems, items, itemCount*sizeof(items[0])); in setItemCapacity()
1298 items = newItems; in setItemCapacity()