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.java65 TaskStackLayoutAlgorithm mLayoutAlgorithm; field in TaskStackViewScroller
84 mLayoutAlgorithm = layoutAlgorithm; in TaskStackViewScroller()
115 … float newScroll = mLayoutAlgorithm.updateFocusStateOnScroll(downP + mLastDeltaP, targetScroll, in setDeltaStackScroll()
140 setStackScroll(mLayoutAlgorithm.mInitialScrollP); in setStackScrollToInitialState()
171 return Utilities.clamp(scroll, mLayoutAlgorithm.mMinScrollP, mLayoutAlgorithm.mMaxScrollP); in getBoundedStackScroll()
176 if (scroll < mLayoutAlgorithm.mMinScrollP) { in getScrollAmountOutOfBounds()
177 return Math.abs(scroll - mLayoutAlgorithm.mMinScrollP); in getScrollAmountOutOfBounds()
178 } else if (scroll > mLayoutAlgorithm.mMaxScrollP) { in getScrollAmountOutOfBounds()
179 return Math.abs(scroll - mLayoutAlgorithm.mMaxScrollP); in getScrollAmountOutOfBounds()
250 float deltaP = mLayoutAlgorithm.getDeltaPForY(mFlingDownY, mScroller.getCurrY()); in computeScroll()
DTaskStackView.java136 TaskStackLayoutAlgorithm mLayoutAlgorithm; field in TaskStackView
225 return mLayoutAlgorithm.mFreeformRect.contains(x, y);
237 return mLayoutAlgorithm.mStackRect.contains(x, y);
252 mLayoutAlgorithm = new TaskStackLayoutAlgorithm(context, this); in TaskStackView()
254 mStackScroller = new TaskStackViewScroller(context, this, mLayoutAlgorithm); in TaskStackView()
325 int ffBgAlpha = mLayoutAlgorithm.getStackState().freeformBackgroundAlpha; in onReload()
331 mLayoutAlgorithm.reset(); in onReload()
345 boolean isInitialized = mLayoutAlgorithm.isInitialized(); in setTasks()
363 mLayoutAlgorithm.setTaskOverridesForInitialState(mStack, false /* ignoreScrollToFront */); in updateToInitialState()
421 return mLayoutAlgorithm; in getStackAlgorithm()
[all …]
DTaskStackViewTouchHandler.java223 final TaskStackLayoutAlgorithm layoutAlgorithm = mSv.mLayoutAlgorithm; in handleTouchEvent()
392 if (x > mSv.mLayoutAlgorithm.mStackRect.left && x < mSv.mLayoutAlgorithm.mStackRect.right) { in maybeHideRecentsFromBackgroundTap()
399 Rect freeformRect = mSv.mLayoutAlgorithm.mFreeformRect; in maybeHideRecentsFromBackgroundTap()
DRecentsView.java352 Rect buttonBounds = mTaskStackView.mLayoutAlgorithm.mStackActionButtonRect; in onMeasure()
786 Rect actionButtonRect = new Rect(mTaskStackView.mLayoutAlgorithm.mStackActionButtonRect); in getStackActionButtonBoundsFromStackLayout()