Searched refs:targetPosition (Results 1 – 10 of 10) sorted by relevance
231 var targetPosition: Int? in <lambda>() variable239 override var targetPosition: Int? = null in <lambda>() variable242 val target = targetPosition in <lambda>()272 if (targetPosition != null && currentPosition == null) { in <lambda>()339 .forEach { it.targetPosition = it.targetPosition?.minus(1) } in <lambda>()362 BUCKET_HEADS_UP -> incomingState?.targetPosition = i + 1 in <lambda>()363 BUCKET_PEOPLE -> peopleState?.targetPosition = i + 1 in <lambda>()364 BUCKET_ALERTING -> alertingState?.targetPosition = i + 1 in <lambda>()365 BUCKET_SILENT -> gentleState?.targetPosition = i + 1 in <lambda>()381 peopleState?.targetPosition = peopleState?.targetPosition in <lambda>()[all …]
64 final int targetPosition = mListView.getAdapter().getCount() / 2; in testSetSelection() local68 mListView.setSelection(targetPosition); in testSetSelection()77 if (child.getId() == targetPosition) { in testSetSelection()94 final int targetPosition = mListView.getAdapter().getCount() / 2; in testSetSelectionFromTop() local98 mListView.setSelectionFromTop(targetPosition, 100); in testSetSelectionFromTop()108 if (child.getId() == targetPosition) { in testSetSelectionFromTop()
62 final int targetPosition = mGridView.getAdapter().getCount() / 2; in testSetSelection() local66 mGridView.setSelection(targetPosition); in testSetSelection()75 if (child.getId() == targetPosition) { in testSetSelection()
356 final int targetPosition = findPositionForStack(position, child, false /* adding */); in positionChildAt() local357 super.positionChildAt(targetPosition, child, false /* includingParents */); in positionChildAt()467 int targetPosition = requestedPosition; in findPositionForStack() local468 targetPosition = Math.min(targetPosition, maxPosition); in findPositionForStack()469 targetPosition = Math.max(targetPosition, minPosition); in findPositionForStack()477 if ((targetPosition != requestedPosition) && (adding || targetPosition < prevPosition)) { in findPositionForStack()478 targetPosition++; in findPositionForStack()481 return targetPosition; in findPositionForStack()
351 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition() argument355 .computeScrollVectorForPosition(targetPosition); in computeScrollVectorForPosition()
443 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition() argument448 final int direction = targetPosition < firstChildPos != mShouldReverseLayout ? -1 : 1; in computeScrollVectorForPosition()
10659 public void setTargetPosition(int targetPosition) { in setTargetPosition() argument10660 mTargetPosition = targetPosition; in setTargetPosition()10912 public void jumpTo(int targetPosition) { in jumpTo() argument10913 mJumpToPosition = targetPosition; in jumpTo()11042 PointF computeScrollVectorForPosition(int targetPosition);
1311 int targetPosition = mSelectedPosition + direction; in moveDirection() local1313 if (mItemCount > 0 && targetPosition >= 0 && targetPosition < mItemCount) { in moveDirection()1314 scrollToChild(targetPosition - mFirstPosition); in moveDirection()
1138 final float targetPosition = newCheckedState ? 1 : 0; in animateThumbToCheckedState() local1139 mPositionAnimator = ObjectAnimator.ofFloat(this, THUMB_POS, targetPosition); in animateThumbToCheckedState()
462 float targetPosition = absoluteBottomPosition - getTotalBottomMargin(hostView) in pinToBottom() local466 float translationY = targetPosition - currentPosition; in pinToBottom()