Searched refs:stackScroll (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskStackLayoutAlgorithm.java | 581 public void addUnfocusedTaskOverride(Task task, float stackScroll) { in addUnfocusedTaskOverride() argument 583 mFocusedRange.offset(stackScroll); in addUnfocusedTaskOverride() 584 mUnfocusedRange.offset(stackScroll); in addUnfocusedTaskOverride() 588 … float unfocusedTaskProgress = stackScroll + mUnfocusedRange.getAbsoluteX(unfocusedRangeX); in addUnfocusedTaskOverride() 599 public void addUnfocusedTaskOverride(TaskView taskView, float stackScroll) { in addUnfocusedTaskOverride() argument 600 mFocusedRange.offset(stackScroll); in addUnfocusedTaskOverride() 601 mUnfocusedRange.offset(stackScroll); in addUnfocusedTaskOverride() 607 float unfocusedTaskProgress = stackScroll + mUnfocusedRange.getAbsoluteX(unfocusedRangeX); in addUnfocusedTaskOverride() 768 public TaskViewTransform getStackTransform(Task task, float stackScroll, in getStackTransform() argument 770 return getStackTransform(task, stackScroll, mFocusState, transformOut, frontTransform, in getStackTransform() [all …]
|
D | TaskStackViewScroller.java | 206 float stackScroll = getStackScroll(); in scrollToClosestTask() local 209 …if (!LegacyRecentsImpl.getConfiguration().isLowRamDevice || stackScroll < mLayoutAlgorithm.mMinScr… in scrollToClosestTask() 210 || stackScroll > mLayoutAlgorithm.mMaxScrollP) { in scrollToClosestTask() 223 fling(0 /* downScrollP */, 0 /* downY */, algorithm.percentageToScroll(stackScroll), in scrollToClosestTask() 229 ValueAnimator animator = ObjectAnimator.ofFloat(stackScroll, newScrollP); in scrollToClosestTask() 230 mFlingAnimationUtils.apply(animator, algorithm.percentageToScroll(stackScroll), in scrollToClosestTask() 235 float newScrollP = algorithm.getClosestTaskP(stackScroll, in scrollToClosestTask()
|
D | TaskStackViewTouchHandler.java | 270 float stackScroll = mScroller.getStackScroll(); in handleTouchEvent() local 274 stackScroll); in handleTouchEvent() local
|
D | TaskStackView.java | 730 public void getLayoutTaskTransforms(float stackScroll, int focusState, ArrayList<Task> tasks, in getLayoutTaskTransforms() argument 736 mLayoutAlgorithm.getStackTransform(task, stackScroll, focusState, transform, null, in getLayoutTaskTransforms() 978 float stackScroll = mStackScroller.getStackScroll(); in setRelativeFocusedTask() local 992 if (Float.compare(taskP, stackScroll) <= 0) { in setRelativeFocusedTask() 1000 if (Float.compare(taskP, stackScroll) >= 0) { in setRelativeFocusedTask()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/lowram/ |
D | TaskStackLowRamLayoutAlgorithm.java | 122 public TaskViewTransform getTransform(int taskIndex, float stackScroll, in getTransform() argument 131 y = getTaskTopFromIndex(taskIndex) - percentageToScroll(stackScroll); in getTransform() 137 y = (windowHeight - mTaskRect.height()) / 2 - percentageToScroll(stackScroll); in getTransform()
|