Searched refs:AdapterHelper (Results 1 – 10 of 10) sorted by relevance
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | AdapterHelperTest.java | 46 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 …]
|
D | OpReorderTest.java | 27 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;
|
D | BaseRecyclerViewInstrumentationTest.java | 46 protected AdapterHelper mAdapterHelper;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | OpReorderer.java | 21 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;
|
D | AdapterHelper.java | 46 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()
|
D | StaggeredGridLayoutManager.java | 1279 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:
|
D | RecyclerView.java | 40 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/ |
D | FakeExpandableAdapter.java | 137 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()
|
D | FakeAdapter.java | 114 Pair<View, Boolean> pair = AdapterHelper.getView(item, null /*parentGroup*/, parent, in getView()
|
D | AdapterHelper.java | 40 public class AdapterHelper { class
|