Searched refs:mTaskRect (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/lowram/
H A DTaskStackLowRamLayoutAlgorithm.java51 private Rect mTaskRect = new Rect(); field in class:TaskStackLowRamLayoutAlgorithm
71 mTaskRect.set(0, 0, width, isLandscape ? width * 2 / 3 : width);
72 mPaddingLeftRight = (windowWidth - mTaskRect.width()) / 2;
73 mPaddingEndTopBottom = (windowHeight - mTaskRect.height()) / 2;
103 int bottomOfCurrentTask = (windowHeight + mTaskRect.height()) / 2;
104 int y = bottomOfCurrentTask + mTaskRect.height() + mPadding * 2;
117 int topOfCurrentTask = (windowHeight - mTaskRect.height()) / 2;
118 int y = topOfCurrentTask - (mTaskRect.height() + mPadding) * 2;
137 y = (windowHeight - mTaskRect.height()) / 2 - percentageToScroll(stackScroll);
177 return (float) scroll / (mTaskRect
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackLayoutAlgorithm.java171 public Rect mTaskRect = new Rect(); field in class:TaskStackLayoutAlgorithm
400 mTaskRect.set(mStackRect.left, mStackRect.top, mStackRect.right, mStackRect.top + height);
402 if (mTaskRect.width() <= 0 || mTaskRect.height() <= 0) {
404 Log.e(TAG, "Invalid task rect: taskRect=" + mTaskRect + " stackRect=" + mStackRect
474 int maxBottomOffset = mStackBottomOffset + mTaskRect.height();
494 int maxBottomOffset = mStackBottomOffset + mTaskRect.height();
545 mTaskRect.height() - mMinMargin, FROM_TOP);
604 int top = taskView.getTop() - mTaskRect.top;
765 * Returns the transform for the given task. This transform is relative to the mTaskRect, whic
[all...]

Completed in 62 milliseconds