Searched refs:mTaskRect (Results 1 – 2 of 2) sorted by relevance
51 private Rect mTaskRect = new Rect(); field in TaskStackLowRamLayoutAlgorithm71 mTaskRect.set(0, 0, width, isLandscape ? width * 2 / 3 : width); in initialize()72 mPaddingLeftRight = (windowWidth - mTaskRect.width()) / 2; in initialize()73 mPaddingEndTopBottom = (windowHeight - mTaskRect.height()) / 2; in initialize()103 int bottomOfCurrentTask = (windowHeight + mTaskRect.height()) / 2; in getFrontOfStackTransform()104 int y = bottomOfCurrentTask + mTaskRect.height() + mPadding * 2; in getFrontOfStackTransform()117 int topOfCurrentTask = (windowHeight - mTaskRect.height()) / 2; in getBackOfStackTransform()118 int y = topOfCurrentTask - (mTaskRect.height() + mPadding) * 2; in getBackOfStackTransform()137 y = (windowHeight - mTaskRect.height()) / 2 - percentageToScroll(stackScroll); in getTransform()177 return (float) scroll / (mTaskRect.height() + mPadding); in scrollToPercentage()[all …]
171 public Rect mTaskRect = new Rect(); field in TaskStackLayoutAlgorithm400 mTaskRect.set(mStackRect.left, mStackRect.top, mStackRect.right, mStackRect.top + height); in initialize()402 if (mTaskRect.width() <= 0 || mTaskRect.height() <= 0) { in initialize()404 Log.e(TAG, "Invalid task rect: taskRect=" + mTaskRect + " stackRect=" + mStackRect in initialize()474 int maxBottomOffset = mStackBottomOffset + mTaskRect.height(); in update()494 int maxBottomOffset = mStackBottomOffset + mTaskRect.height(); in update()545 mTaskRect.height() - mMinMargin, FROM_TOP); in setTaskOverridesForInitialState()604 int top = taskView.getTop() - mTaskRect.top; in addUnfocusedTaskOverride()894 int x = (mStackRect.width() - mTaskRect.width()) / 2; in getStackTransform()903 int centerYOffset = (mStackRect.top - mTaskRect.top) + in getStackTransform()[all …]