Home
last modified time | relevance | path

Searched refs:targetScroll (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
H A DRecentsView.java1076 int targetScroll = clearAllScroll + (mIsRtl ? clearAllWidth : -clearAllWidth); in getSnapToLastTaskScrollDiff() local
1077 return screenStart - targetScroll; in getSnapToLastTaskScrollDiff()
1082 int targetScroll = getScrollForPage(indexOfChild(getFocusedTaskView())); in getSnapToFocusedTaskScrollDiff() local
1087 targetScroll += mIsRtl ? clearAllFocusScrollDiff : -clearAllFocusScrollDiff; in getSnapToFocusedTaskScrollDiff()
1089 return screenStart - targetScroll; in getSnapToFocusedTaskScrollDiff()
4963 int targetScroll = getScrollForPage(targetPage) + normalTaskEnd - lastTaskEnd;
4967 ? getScrollForPage(targetPage - 1) < targetScroll
4968 : getScrollForPage(targetPage - 1) > targetScroll)) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayout.java1182 int targetScroll = targetScrollForView(expandableView, positionInLinearLayout);
1184 targetScroll = Math.max(0, Math.min(targetScroll, getScrollRange()));
1187 if (mOwnScrollY < targetScroll || outOfViewScroll < mOwnScrollY) {
1188 setOwnScrollY(targetScroll);
1647 int targetScroll = targetScrollForView(expandableView, positionInLinearLayout);
1652 if (mOwnScrollY < targetScroll || outOfViewScroll < mOwnScrollY) {
1653 mScroller.startScroll(mScrollX, mOwnScrollY, 0, targetScroll - mOwnScrollY);