Home
last modified time | relevance | path

Searched refs:AdapterHelper (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
DAdapterHelperTest.java54 AdapterHelper mAdapterHelper;
56 List<AdapterHelper.UpdateOp> mFirstPassUpdates, mSecondPassUpdates;
79 mFirstPassUpdates = new ArrayList<AdapterHelper.UpdateOp>(); in cleanState()
80 mSecondPassUpdates = new ArrayList<AdapterHelper.UpdateOp>(); in cleanState()
82 mAdapterHelper = new AdapterHelper(new AdapterHelper.Callback() { in cleanState()
130 public void onDispatchFirstPass(AdapterHelper.UpdateOp updateOp) { in cleanState()
146 public void onDispatchSecondPass(AdapterHelper.UpdateOp updateOp) { in cleanState()
917 public void assertOps(List<AdapterHelper.UpdateOp> actual, in assertOps()
918 AdapterHelper.UpdateOp... expected) { in assertOps()
978 AdapterHelper.UpdateOp op(int cmd, int start, int count) { in op()
[all …]
DOpReorderTest.java30 import android.support.v7.widget.AdapterHelper.UpdateOp;
34 import static android.support.v7.widget.AdapterHelper.UpdateOp.ADD;
35 import static android.support.v7.widget.AdapterHelper.UpdateOp.MOVE;
36 import static android.support.v7.widget.AdapterHelper.UpdateOp.REMOVE;
37 import static android.support.v7.widget.AdapterHelper.UpdateOp.UPDATE;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DOpReorderer.java21 import android.support.v7.widget.AdapterHelper.UpdateOp;
22 import static android.support.v7.widget.AdapterHelper.UpdateOp.ADD;
23 import static android.support.v7.widget.AdapterHelper.UpdateOp.MOVE;
24 import static android.support.v7.widget.AdapterHelper.UpdateOp.REMOVE;
25 import static android.support.v7.widget.AdapterHelper.UpdateOp.UPDATE;
DAdapterHelper.java46 class AdapterHelper implements OpReorderer.Callback { class
72 AdapterHelper(Callback callback) { in AdapterHelper() method in AdapterHelper
76 AdapterHelper(Callback callback, boolean disableRecycler) { in AdapterHelper() method in AdapterHelper
82 AdapterHelper addUpdateOp(UpdateOp... ops) { in addUpdateOp()
DStaggeredGridLayoutManager.java1450 handleUpdate(positionStart, itemCount, AdapterHelper.UpdateOp.REMOVE);
1455 handleUpdate(positionStart, itemCount, AdapterHelper.UpdateOp.ADD);
1466 handleUpdate(from, to, AdapterHelper.UpdateOp.MOVE);
1472 handleUpdate(positionStart, itemCount, AdapterHelper.UpdateOp.UPDATE);
1483 if (cmd == AdapterHelper.UpdateOp.MOVE) {
1498 case AdapterHelper.UpdateOp.ADD:
1501 case AdapterHelper.UpdateOp.REMOVE:
1504 case AdapterHelper.UpdateOp.MOVE:
DRecyclerView.java81 import static android.support.v7.widget.AdapterHelper.Callback;
82 import static android.support.v7.widget.AdapterHelper.UpdateOp;
266 AdapterHelper mAdapterHelper;
730 mAdapterHelper = new AdapterHelper(new Callback() { in initAdapterManager()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeExpandableAdapter.java137 Pair<View, Boolean> pair = AdapterHelper.getView(item, null /*parentItem*/, parent, in getGroupView()
149 Pair<View, Boolean> pair = AdapterHelper.getView(item, parentItem, parent, mCallback, in getChildView()
DFakeAdapter.java114 Pair<View, Boolean> pair = AdapterHelper.getView(item, null, parent, mCallback, in getView()
DAdapterHelper.java39 public class AdapterHelper { class
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseRecyclerViewInstrumentationTest.java66 protected AdapterHelper mAdapterHelper;