Searched refs:offsetPosition (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerView.java | 1182 int offsetPosition = (int) (start + in applyDismissingParallax() local 1188 taskRect.left = offsetPosition - width; in applyDismissingParallax() 1189 taskRect.right = offsetPosition; in applyDismissingParallax() 1192 taskRect.left = offsetPosition + mDividerSize; in applyDismissingParallax() 1193 taskRect.right = offsetPosition + width + mDividerSize; in applyDismissingParallax() 1196 taskRect.top = offsetPosition - height; in applyDismissingParallax() 1197 taskRect.bottom = offsetPosition; in applyDismissingParallax() 1200 taskRect.top = offsetPosition + mDividerSize; in applyDismissingParallax() 1201 taskRect.bottom = offsetPosition + height + mDividerSize; in applyDismissingParallax()
|
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/ |
D | AdapterHelperTest.java | 105 holder.offsetPosition(-itemCount, true); in cleanState() 118 holder.offsetPosition(-itemCount, false); in cleanState() 164 holder.offsetPosition(itemCount, false); in cleanState() 186 holder.offsetPosition(to - from, false); in cleanState() 188 holder.offsetPosition(inBetweenOffset, false); in cleanState()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RecyclerView.java | 3973 holder.offsetPosition(to - from, false); in offsetPositionRecordsForMove() 3975 holder.offsetPosition(inBetweenOffset, false); in offsetPositionRecordsForMove() 3993 holder.offsetPosition(itemCount, false); in offsetPositionRecordsForInsert() 4014 holder.offsetPosition(-itemCount, applyToPreLayout); in offsetPositionRecordsForRemove() 5271 private boolean tryBindViewHolderByDeadline(ViewHolder holder, int offsetPosition, in tryBindViewHolderByDeadline() argument 5281 mAdapter.bindViewHolder(holder, offsetPosition); in tryBindViewHolderByDeadline() 5313 final int offsetPosition = mAdapterHelper.findPositionOffset(position); in bindViewToPosition() local 5314 if (offsetPosition < 0 || offsetPosition >= mAdapter.getItemCount()) { in bindViewToPosition() 5316 + "position " + position + "(offset:" + offsetPosition + ")." in bindViewToPosition() 5319 tryBindViewHolderByDeadline(holder, offsetPosition, position, FOREVER_NS); in bindViewToPosition() [all …]
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | RecyclerView.java | 4331 holder.offsetPosition(to - from, false); in offsetPositionRecordsForMove() 4333 holder.offsetPosition(inBetweenOffset, false); in offsetPositionRecordsForMove() 4351 holder.offsetPosition(itemCount, false); in offsetPositionRecordsForInsert() 4372 holder.offsetPosition(-itemCount, applyToPreLayout); in offsetPositionRecordsForRemove() 5696 private boolean tryBindViewHolderByDeadline(@NonNull ViewHolder holder, int offsetPosition, in tryBindViewHolderByDeadline() argument 5706 mAdapter.bindViewHolder(holder, offsetPosition); in tryBindViewHolderByDeadline() 5738 final int offsetPosition = mAdapterHelper.findPositionOffset(position); in bindViewToPosition() local 5739 if (offsetPosition < 0 || offsetPosition >= mAdapter.getItemCount()) { in bindViewToPosition() 5741 + "position " + position + "(offset:" + offsetPosition + ")." in bindViewToPosition() 5744 tryBindViewHolderByDeadline(holder, offsetPosition, position, FOREVER_NS); in bindViewToPosition() [all …]
|