Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseRecyclerViewAnimationsTest.java503 static class CollectPositionResult { class in BaseRecyclerViewAnimationsTest
510 static CollectPositionResult fromScrap(RecyclerView.ViewHolder viewHolder) { in fromScrap()
511 CollectPositionResult cpr = new CollectPositionResult(); in fromScrap()
516 static CollectPositionResult fromAdapter(RecyclerView.ViewHolder viewHolder) { in fromAdapter()
517 CollectPositionResult cpr = new CollectPositionResult(); in fromAdapter()
597 public void validate(RecyclerView.State state, CollectPositionResult result, String log) { in validate()
DRecyclerViewAnimationsTest.java1555 private CollectPositionResult findByPos(RecyclerView recyclerView, in findByPos()
1561 return CollectPositionResult.fromScrap(vh); in findByPos()
1563 return CollectPositionResult.fromAdapter(vh); in findByPos()
1567 public Map<Integer, CollectPositionResult> collectPositions(RecyclerView recyclerView, in collectPositions()
1569 Map<Integer, CollectPositionResult> positionToAdapterMapping in collectPositions()
1570 = new HashMap<Integer, CollectPositionResult>(); in collectPositions()
1674 Map<Integer, CollectPositionResult> positions in positionStatesTest()
1677 for (Map.Entry<Integer, CollectPositionResult> entry : positions.entrySet()) { in positionStatesTest()
1698 Map<Integer, CollectPositionResult> positions in positionStatesTest()
1701 for (Map.Entry<Integer, CollectPositionResult> entry : positions.entrySet()) { in positionStatesTest()