Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewScroller.java71 TaskStackLayoutAlgorithm mLayoutAlgorithm; field in TaskStackViewScroller
95 mLayoutAlgorithm = layoutAlgorithm; in TaskStackViewScroller()
127 … float newScroll = mLayoutAlgorithm.updateFocusStateOnScroll(downP + mLastDeltaP, targetScroll, in setDeltaStackScroll()
152 setStackScroll(mLayoutAlgorithm.mInitialScrollP); in setStackScrollToInitialState()
183 return Utilities.clamp(scroll, mLayoutAlgorithm.mMinScrollP, mLayoutAlgorithm.mMaxScrollP); in getBoundedStackScroll()
188 if (scroll < mLayoutAlgorithm.mMinScrollP) { in getScrollAmountOutOfBounds()
189 return Math.abs(scroll - mLayoutAlgorithm.mMinScrollP); in getScrollAmountOutOfBounds()
190 } else if (scroll > mLayoutAlgorithm.mMaxScrollP) { in getScrollAmountOutOfBounds()
191 return Math.abs(scroll - mLayoutAlgorithm.mMaxScrollP); in getScrollAmountOutOfBounds()
209 …if (!LegacyRecentsImpl.getConfiguration().isLowRamDevice || stackScroll < mLayoutAlgorithm.mMinScr… in scrollToClosestTask()
[all …]
DTaskStackView.java141 TaskStackLayoutAlgorithm mLayoutAlgorithm; field in TaskStackView
243 return mLayoutAlgorithm.mStackRect.contains(x, y);
258 mLayoutAlgorithm = new TaskStackLayoutAlgorithm(context, this); in TaskStackView()
260 mStackScroller = new TaskStackViewScroller(context, this, mLayoutAlgorithm); in TaskStackView()
276 mLayoutAlgorithm.mTaskGridLayoutAlgorithm); in TaskStackView()
335 mLayoutAlgorithm.reset(); in onReload()
352 boolean isInitialized = mLayoutAlgorithm.isInitialized(); in setTasks()
369 mLayoutAlgorithm.setTaskOverridesForInitialState(mStack, false /* ignoreScrollToFront */); in updateToInitialState()
417 return mLayoutAlgorithm; in getStackAlgorithm()
422 return mLayoutAlgorithm.mTaskGridLayoutAlgorithm; in getGridAlgorithm()
[all …]
DTaskStackViewTouchHandler.java223 final TaskStackLayoutAlgorithm layoutAlgorithm = mSv.mLayoutAlgorithm; in handleTouchEvent()
405 if (x > mSv.mLayoutAlgorithm.mStackRect.left && x < mSv.mLayoutAlgorithm.mStackRect.right) { in maybeHideRecentsFromBackgroundTap()
DRecentsView.java436 Rect buttonBounds = mTaskStackView.mLayoutAlgorithm.getStackActionButtonRect();
896 mTaskStackView.mLayoutAlgorithm.getStackActionButtonRect());