Home
last modified time | relevance | path

Searched refs:newScroll (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewScroller.java127 … float newScroll = mLayoutAlgorithm.updateFocusStateOnScroll(downP + mLastDeltaP, targetScroll, in setDeltaStackScroll() local
129 setStackScroll(newScroll, AnimationProps.IMMEDIATE); in setDeltaStackScroll()
131 return newScroll - targetScroll; in setDeltaStackScroll()
138 public void setStackScroll(float newScroll, AnimationProps animation) { in setStackScroll() argument
140 mStackScrollP = newScroll; in setStackScroll()
173 float newScroll = getBoundedStackScroll(curScroll); in boundScroll() local
174 if (Float.compare(newScroll, curScroll) != 0) { in boundScroll()
175 setStackScroll(newScroll); in boundScroll()
246 float newScroll = getBoundedStackScroll(curScroll); in animateBoundScroll() local
247 if (Float.compare(newScroll, curScroll) != 0) { in animateBoundScroll()
[all …]
DTaskStackAnimationHelper.java445 final float newScroll = stackScroller.getBoundedStackScroll( in startScrollToFocusedTaskAnimation() local
447 boolean willScrollToFront = newScroll > curScroll; in startScrollToFocusedTaskAnimation()
448 boolean willScroll = Float.compare(newScroll, curScroll) != 0; in startScrollToFocusedTaskAnimation()
456 mStackView.bindVisibleTaskViews(newScroll); in startScrollToFocusedTaskAnimation()
460 stackScroller.setStackScroll(newScroll, null /* animation */); in startScrollToFocusedTaskAnimation()
464 mStackView.getLayoutTaskTransforms(newScroll, stackLayout.getFocusState(), stackTasks, in startScrollToFocusedTaskAnimation()
473 " postscroll: " + newScroll); in startScrollToFocusedTaskAnimation()
484 mStackView.bindVisibleTaskViews(newScroll); in startScrollToFocusedTaskAnimation()
552 final float newScroll = stackLayout.mInitialScrollP; in startNewStackScrollAnimation() local
553 mStackView.bindVisibleTaskViews(newScroll); in startNewStackScrollAnimation()
[all …]
DTaskStackLayoutAlgorithm.java629 float newScroll = targetStackScroll; in updateFocusStateOnScroll() local
645 newScroll = lastStackScroll; in updateFocusStateOnScroll()
654 return newScroll; in updateFocusStateOnScroll()
/frameworks/base/core/java/android/widget/
DAbsListView.java3710 final int newScroll = oldScroll - incrementalDeltaY; in scrollIfNeeded() local
3718 if ((newScroll < 0 && oldScroll >= 0) || (newScroll > 0 && oldScroll <= 0)) { in scrollIfNeeded()