Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAdapterHelperTest.java46 AdapterHelper mAdapterHelper;
48 List<AdapterHelper.UpdateOp> mFirstPassUpdates, mSecondPassUpdates;
75 mFirstPassUpdates = new ArrayList<AdapterHelper.UpdateOp>(); in cleanState()
76 mSecondPassUpdates = new ArrayList<AdapterHelper.UpdateOp>(); in cleanState()
78 mAdapterHelper = new AdapterHelper(new AdapterHelper.Callback() { in cleanState()
125 public void onDispatchFirstPass(AdapterHelper.UpdateOp updateOp) { in cleanState()
141 public void onDispatchSecondPass(AdapterHelper.UpdateOp updateOp) { in cleanState()
826 public void assertOps(List<AdapterHelper.UpdateOp> actual, in assertOps()
827 AdapterHelper.UpdateOp... expected) { in assertOps()
887 AdapterHelper.UpdateOp op(int cmd, int start, int count) { in op()
[all …]
DOpReorderTest.java27 import android.support.v7.widget.AdapterHelper.UpdateOp;
30 import static android.support.v7.widget.AdapterHelper.UpdateOp.ADD;
31 import static android.support.v7.widget.AdapterHelper.UpdateOp.MOVE;
32 import static android.support.v7.widget.AdapterHelper.UpdateOp.REMOVE;
33 import static android.support.v7.widget.AdapterHelper.UpdateOp.UPDATE;
DBaseRecyclerViewInstrumentationTest.java46 protected AdapterHelper mAdapterHelper;
/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
70 AdapterHelper(Callback callback) { in AdapterHelper() method in AdapterHelper
74 AdapterHelper(Callback callback, boolean disableRecycler) { in AdapterHelper() method in AdapterHelper
80 AdapterHelper addUpdateOp(UpdateOp... ops) { in addUpdateOp()
DStaggeredGridLayoutManager.java1279 handleUpdate(positionStart, itemCount, AdapterHelper.UpdateOp.REMOVE);
1284 handleUpdate(positionStart, itemCount, AdapterHelper.UpdateOp.ADD);
1295 handleUpdate(from, to, AdapterHelper.UpdateOp.MOVE);
1300 handleUpdate(positionStart, itemCount, AdapterHelper.UpdateOp.UPDATE);
1311 if (cmd == AdapterHelper.UpdateOp.MOVE) {
1326 case AdapterHelper.UpdateOp.ADD:
1329 case AdapterHelper.UpdateOp.REMOVE:
1332 case AdapterHelper.UpdateOp.MOVE:
DRecyclerView.java40 import static android.support.v7.widget.AdapterHelper.UpdateOp;
41 import static android.support.v7.widget.AdapterHelper.Callback;
172 AdapterHelper mAdapterHelper;
455 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 /*parentGroup*/, parent, in getView()
DAdapterHelper.java40 public class AdapterHelper { class