Home
last modified time | relevance | path

Searched refs:clones (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
DOpReorderTest.java316 List<Item> clones = new ArrayList<Item>(itemCount); in process() local
318 clones.add(Item.clone(items.get(i))); in process()
332 apply(clones, rewritten); in process()
335 assertListsIdentical(items, clones); in process()
340 assertRecycledOpsAreNotReused(clones); in process()
361 List<Item> clones) { in assertHasTheSameItems() argument
362 String log = "has the same items\n" + toString(items) + "--\n" + toString(clones); in assertHasTheSameItems()
363 assertEquals(log, items.size(), clones.size()); in assertHasTheSameItems()
365 for (Item clone : clones) { in assertHasTheSameItems()
367 clones.remove(clone); in assertHasTheSameItems()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DExpr.java757 ArrayList<Expr> clones = new ArrayList<Expr>(); in cloneToModel() local
759 clones.add(expr.cloneToModel(model)); in cloneToModel()
761 return clones; in cloneToModel()