HomeSort by relevance Sort by last modified time
    Searched full:positionstart (Results 1 - 25 of 59) sorted by null

1 2 3

  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/
OpReorderer.java 67 if (moveOp.positionStart < moveOp.itemCount) {
69 if (removeOp.positionStart == moveOp.positionStart
70 && removeOp.itemCount == moveOp.itemCount - moveOp.positionStart) {
75 if (removeOp.positionStart == moveOp.itemCount + 1 &&
76 removeOp.itemCount == moveOp.positionStart - moveOp.itemCount) {
82 if (moveOp.itemCount < removeOp.positionStart) {
83 removeOp.positionStart--;
84 } else if (moveOp.itemCount < removeOp.positionStart + removeOp.itemCount) {
98 if (moveOp.positionStart <= removeOp.positionStart)
    [all...]
AdapterHelper.java 135 int tmpStart = op.positionStart;
137 int tmpEnd = op.positionStart + op.itemCount;
139 for (int position = op.positionStart; position < tmpEnd; position++) {
189 int tmpStart = op.positionStart;
191 int tmpEnd = op.positionStart + op.itemCount;
193 for (int position = op.positionStart; position < tmpEnd; position++) {
246 int tmpStart = updatePositionWithPostponed(op.positionStart, op.cmd);
248 Log.d(TAG, "pos:" + op.positionStart + ",updatedPos:" + tmpStart);
251 int offsetPositionForPartial = op.positionStart;
264 final int pos = op.positionStart + (positionMultiplier * p)
    [all...]
StaggeredGridLayoutManager.java     [all...]
RecyclerView.java     [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ObjectAdapter.java 45 * @param positionStart The position of the first item that changed.
48 public void onItemRangeChanged(int positionStart, int itemCount) {
55 * @param positionStart The position of the first inserted item.
58 public void onItemRangeInserted(int positionStart, int itemCount) {
65 * @param positionStart The position of the first removed item.
68 public void onItemRangeRemoved(int positionStart, int itemCount) {
81 public void notifyItemRangeChanged(int positionStart, int itemCount) {
83 mObservers.get(i).onItemRangeChanged(positionStart, itemCount);
87 public void notifyItemRangeInserted(int positionStart, int itemCount) {
89 mObservers.get(i).onItemRangeInserted(positionStart, itemCount)
    [all...]
SparseArrayObjectAdapter.java 68 * @param positionStart The position of first item that has changed.
71 public void notifyArrayItemRangeChanged(int positionStart, int itemCount) {
72 notifyItemRangeChanged(positionStart, itemCount);
ItemBridgeAdapter.java 151 public void onItemRangeChanged(int positionStart, int itemCount) {
152 ItemBridgeAdapter.this.notifyItemRangeChanged(positionStart, itemCount);
155 public void onItemRangeInserted(int positionStart, int itemCount) {
156 ItemBridgeAdapter.this.notifyItemRangeInserted(positionStart, itemCount);
159 public void onItemRangeRemoved(int positionStart, int itemCount) {
160 ItemBridgeAdapter.this.notifyItemRangeRemoved(positionStart, itemCount);
ArrayObjectAdapter.java 75 * @param positionStart The position of first item that has changed.
78 public void notifyArrayItemRangeChanged(int positionStart, int itemCount) {
79 notifyItemRangeChanged(positionStart, itemCount);
ControlBarPresenter.java 110 public void onItemRangeChanged(int positionStart, int itemCount) {
113 bindControlToAction(positionStart + i, mPresenter);
PlaybackControlsPresenter.java 82 public void onItemRangeChanged(int positionStart, int itemCount) {
85 bindControlToAction(positionStart + i, mPresenter);
GridLayoutManager.java     [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
ListRowDataAdapter.java 68 private void doNotify(int eventType, int positionStart, int itemCount) {
71 notifyItemRangeChanged(positionStart, itemCount);
74 notifyItemRangeInserted(positionStart, itemCount);
77 notifyItemRangeRemoved(positionStart, itemCount);
89 public void onItemRangeChanged(int positionStart, int itemCount) {
90 if (positionStart <= mLastVisibleRowIndex) {
91 onEventFired(ON_ITEM_RANGE_CHANGED, positionStart,
92 Math.min(itemCount, mLastVisibleRowIndex - positionStart + 1));
97 public void onItemRangeInserted(int positionStart, int itemCount) {
98 if (positionStart <= mLastVisibleRowIndex)
    [all...]
BaseRowFragment.java 99 public void onItemRangeInserted(int positionStart, int itemCount) {
BaseRowSupportFragment.java 101 public void onItemRangeInserted(int positionStart, int itemCount) {
  /frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
ObservableList.java 63 * @param positionStart The starting index that has changed.
66 public abstract void onItemRangeChanged(T sender, int positionStart, int itemCount);
71 * @param positionStart The insertion index
74 public abstract void onItemRangeInserted(T sender, int positionStart, int itemCount);
89 * @param positionStart The starting index of the deleted items.
92 public abstract void onItemRangeRemoved(T sender, int positionStart, int itemCount);
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
SectionBreakDocumentsAdapterWrapper.java 193 public void onItemRangeChanged(int positionStart, int itemCount) {
197 public void onItemRangeChanged(int positionStart, int itemCount, Object payload) {
199 notifyItemRangeChanged(toViewPosition(positionStart), itemCount, payload);
202 public void onItemRangeInserted(int positionStart, int itemCount) {
204 if (positionStart < mBreakPosition) {
207 notifyItemRangeInserted(toViewPosition(positionStart), itemCount);
210 public void onItemRangeRemoved(int positionStart, int itemCount) {
212 if (positionStart < mBreakPosition) {
215 notifyItemRangeRemoved(toViewPosition(positionStart), itemCount);
  /frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/
HeaderRecyclerView.java 76 public void onItemRangeChanged(int positionStart, int itemCount) {
77 notifyItemRangeChanged(positionStart, itemCount);
81 public void onItemRangeInserted(int positionStart, int itemCount) {
82 notifyItemRangeInserted(positionStart, itemCount);
92 public void onItemRangeRemoved(int positionStart, int itemCount) {
93 notifyItemRangeRemoved(positionStart, itemCount);
  /packages/apps/TV/src/com/android/tv/ui/sidepanel/
SideFragment.java 210 * <code>positionStart</code> to the end without structural changes.
212 protected void notifyItemsChanged(int positionStart) {
213 notifyItemsChanged(positionStart, mAdapter.getItemCount() - positionStart);
216 protected void notifyItemsChanged(int positionStart, int itemCount) {
218 notifyItemChanged(positionStart++);
  /frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
AdapterHelperTest.java 94 public void offsetPositionsForRemovingInvisible(int positionStart, int itemCount) {
95 final int positionEnd = positionStart + itemCount;
99 } else if (holder.mPosition >= positionStart) {
100 holder.flagRemovedAndOffsetPosition(positionStart - 1, -itemCount, true);
106 public void offsetPositionsForRemovingLaidOutOrNewView(int positionStart,
108 final int positionEnd = positionStart + itemCount;
112 } else if (holder.mPosition >= positionStart) {
113 holder.flagRemovedAndOffsetPosition(positionStart - 1, -itemCount, false);
119 public void markViewHoldersUpdated(int positionStart, int itemCount, Object payload) {
120 final int positionEnd = positionStart + itemCount
    [all...]
OpReorderTest.java 388 items.add(op.positionStart + i, newItem);
393 mRemovedItems.add(items.remove(op.positionStart));
397 items.add(op.itemCount, items.remove(op.positionStart));
401 final int index = op.positionStart + i;
412 copy.add(new UpdateOp(op.cmd, op.positionStart, op.itemCount, null));
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
PermissionsFrameFragment.java 159 public void onItemRangeInserted(int positionStart, int itemCount) {
164 public void onItemRangeRemoved(int positionStart, int itemCount) {
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
AnimatedRecyclerView.java 659 public void onItemsAdded(RecyclerView recyclerView, int positionStart, int itemCount) {
660 if (positionStart < mFirstPosition) {
666 public void onItemsRemoved(RecyclerView recyclerView, int positionStart, int itemCount) {
667 if (positionStart < mFirstPosition) {
  /frameworks/support/v14/preference/src/android/support/v14/preference/
PreferenceFragment.java 747 public void onItemRangeChanged(int positionStart, int itemCount) {
752 public void onItemRangeChanged(int positionStart, int itemCount, Object payload) {
757 public void onItemRangeInserted(int positionStart, int itemCount) {
762 public void onItemRangeRemoved(int positionStart, int itemCount) {
    [all...]
  /frameworks/support/v7/preference/src/android/support/v7/preference/
PreferenceFragmentCompat.java 736 public void onItemRangeChanged(int positionStart, int itemCount) {
741 public void onItemRangeChanged(int positionStart, int itemCount, Object payload) {
746 public void onItemRangeInserted(int positionStart, int itemCount) {
751 public void onItemRangeRemoved(int positionStart, int itemCount) {
  /frameworks/data-binding/extensions/library/src/main/java/android/databinding/
ViewDataBinding.java     [all...]

Completed in 1337 milliseconds

1 2 3