Home
last modified time | relevance | path

Searched refs:targetPosition (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsManager.kt231 var targetPosition: Int? in <lambda>() variable
239 override var targetPosition: Int? = null in <lambda>() variable
242 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 …]
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListSetSelectionTest.java64 final int targetPosition = mListView.getAdapter().getCount() / 2; in testSetSelection() local
68 mListView.setSelection(targetPosition); in testSetSelection()
77 if (child.getId() == targetPosition) { in testSetSelection()
94 final int targetPosition = mListView.getAdapter().getCount() / 2; in testSetSelectionFromTop() local
98 mListView.setSelectionFromTop(targetPosition, 100); in testSetSelectionFromTop()
108 if (child.getId() == targetPosition) { in testSetSelectionFromTop()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchSetSelectionTest.java62 final int targetPosition = mGridView.getAdapter().getCount() / 2; in testSetSelection() local
66 mGridView.setSelection(targetPosition); in testSetSelection()
75 if (child.getId() == targetPosition) { in testSetSelection()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskDisplayArea.java356 final int targetPosition = findPositionForStack(position, child, false /* adding */); in positionChildAt() local
357 super.positionChildAt(targetPosition, child, false /* includingParents */); in positionChildAt()
467 int targetPosition = requestedPosition; in findPositionForStack() local
468 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()
/frameworks/base/core/java/com/android/internal/widget/
DLinearSmoothScroller.java351 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition() argument
355 .computeScrollVectorForPosition(targetPosition); in computeScrollVectorForPosition()
DLinearLayoutManager.java443 public PointF computeScrollVectorForPosition(int targetPosition) { in computeScrollVectorForPosition() argument
448 final int direction = targetPosition < firstChildPos != mShouldReverseLayout ? -1 : 1; in computeScrollVectorForPosition()
DRecyclerView.java10659 public void setTargetPosition(int targetPosition) { in setTargetPosition() argument
10660 mTargetPosition = targetPosition; in setTargetPosition()
10912 public void jumpTo(int targetPosition) { in jumpTo() argument
10913 mJumpToPosition = targetPosition; in jumpTo()
11042 PointF computeScrollVectorForPosition(int targetPosition);
/frameworks/base/core/java/android/widget/
DGallery.java1311 int targetPosition = mSelectedPosition + direction; in moveDirection() local
1313 if (mItemCount > 0 && targetPosition >= 0 && targetPosition < mItemCount) { in moveDirection()
1314 scrollToChild(targetPosition - mFirstPosition); in moveDirection()
DSwitch.java1138 final float targetPosition = newCheckedState ? 1 : 0; in animateThumbToCheckedState() local
1139 mPositionAnimator = ObjectAnimator.ofFloat(this, THUMB_POS, targetPosition); in animateThumbToCheckedState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFragment.java462 float targetPosition = absoluteBottomPosition - getTotalBottomMargin(hostView) in pinToBottom() local
466 float translationY = targetPosition - currentPosition; in pinToBottom()