Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/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 (!Recents.getConfiguration().isLowRamDevice || stackScroll < mLayoutAlgorithm.mMinScrollP in scrollToClosestTask()
[all …]
DTaskStackView.java140 TaskStackLayoutAlgorithm mLayoutAlgorithm; field in TaskStackView
242 return mLayoutAlgorithm.mStackRect.contains(x, y);
257 mLayoutAlgorithm = new TaskStackLayoutAlgorithm(context, this); in TaskStackView()
259 mStackScroller = new TaskStackViewScroller(context, this, mLayoutAlgorithm); in TaskStackView()
274 mLayoutAlgorithm.mTaskGridLayoutAlgorithm); in TaskStackView()
333 mLayoutAlgorithm.reset(); in onReload()
350 boolean isInitialized = mLayoutAlgorithm.isInitialized(); in setTasks()
367 mLayoutAlgorithm.setTaskOverridesForInitialState(mStack, false /* ignoreScrollToFront */); in updateToInitialState()
415 return mLayoutAlgorithm; in getStackAlgorithm()
420 return mLayoutAlgorithm.mTaskGridLayoutAlgorithm; in getGridAlgorithm()
[all …]
DTaskStackViewTouchHandler.java222 final TaskStackLayoutAlgorithm layoutAlgorithm = mSv.mLayoutAlgorithm; in handleTouchEvent()
404 if (x > mSv.mLayoutAlgorithm.mStackRect.left && x < mSv.mLayoutAlgorithm.mStackRect.right) { in maybeHideRecentsFromBackgroundTap()
DRecentsView.java437 Rect buttonBounds = mTaskStackView.mLayoutAlgorithm.getStackActionButtonRect();
897 mTaskStackView.mLayoutAlgorithm.getStackActionButtonRect());