Home
last modified time | relevance | path

Searched refs:toPosition (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DAbstractItemHierarchy.java108 public void notifyItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in notifyItemRangeMoved() argument
113 if (toPosition < 0) { in notifyItemRangeMoved()
114 Log.w(TAG, "notifyItemRangeMoved: Invalid toPosition=" + toPosition); in notifyItemRangeMoved()
123 observer.onItemRangeMoved(this, fromPosition, toPosition, itemCount); in notifyItemRangeMoved()
DItemHierarchy.java55 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount); in onItemRangeMoved() argument
DItemGroup.java240 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
244 notifyItemRangeMoved(childPosition + fromPosition, childPosition + toPosition, itemCount); in onItemRangeMoved()
DItemAdapter.java104 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/
DPhysicsAnimator.kt174 toPosition: Float, in spring()
180 Log.d(TAG, "Springing ${getReadablePropertyName(property)} to $toPosition.") in spring()
184 SpringConfig(stiffness, dampingRatio, startVelocity, toPosition) in spring()
196 toPosition: Float, in spring()
201 property, toPosition, startVelocity, config.stiffness, config.dampingRatio) in spring()
212 toPosition: Float, in spring()
215 return spring(property, toPosition, 0f, config) in spring()
226 toPosition: Float in spring()
228 return spring(property, toPosition, 0f) in spring()
333 val toPosition = in flingThenSpring() constant
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/util/
DMediaViewModelListUpdateCallback.kt44 override fun onMoved(fromPosition: Int, toPosition: Int) { in onMoved()
45 onMoved(old[fromPosition], fromPosition, toPosition) in onMoved()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DHeaderRecyclerView.java95 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
98 toPosition++;
102 notifyItemMoved(fromPosition + i, toPosition + i);
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java179 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
183 notifyItemMoved(fromPosition, toPosition); in onItemRangeMoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java558 private PhysicsAnimator<? extends View> createSnapBackAnimation(View target, float toPosition, in createSnapBackAnimation() argument
563 toPosition, in createSnapBackAnimation()
567 return PhysicsAnimator.getInstance(target).spring(TRANSLATION_X, toPosition, startVelocity, in createSnapBackAnimation()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java844 final int toPosition = target.getAdapterPosition(); in moveIfNecessary() local
849 target, toPosition, x, y); in moveIfNecessary()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java5034 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
5036 if (mAdapterHelper.onItemRangeMoved(fromPosition, toPosition, itemCount)) { in onItemRangeMoved()
6829 public final void notifyItemMoved(int fromPosition, int toPosition) { in notifyItemMoved() argument
6830 mObservable.notifyItemMoved(fromPosition, toPosition); in notifyItemMoved()
10709 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
11202 public void notifyItemMoved(int fromPosition, int toPosition) { in notifyItemMoved() argument
11204 mObservers.get(i).onItemRangeMoved(fromPosition, toPosition, 1); in notifyItemMoved()
/frameworks/base/core/java/android/widget/
DAbsListView.java5766 final int toPosition = mResurrectToPosition; in resurrectSelection() local
5769 if (toPosition >= firstPosition && toPosition < firstPosition + childCount) { in resurrectSelection()
5770 selectedPos = toPosition; in resurrectSelection()
5784 if (toPosition < firstPosition) { in resurrectSelection()