Searched defs: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.java242 public Rect mTaskRect = new Rect(); field in class:TaskStackLayoutAlgorithm
488 mTaskRect.set(mStackRect.left, mStackRect.top, mStackRect.right, mStackRect.top + height);
490 if (mTaskRect.width() <= 0 || mTaskRect.height() <= 0) {
492 Log.e(TAG, "Invalid task rect: taskRect=" + mTaskRect + " stackRect=" + mStackRect
573 int maxBottomOffset = mStackBottomOffset + mTaskRect.height();
593 int maxBottomOffset = mStackBottomOffset + mTaskRect.height();
645 mTaskRect.height() - mMinMargin, FROM_TOP);
704 int top = taskView.getTop() - mTaskRect.top;
890 * Returns the transform for the given task. This transform is relative to the mTaskRect, whic
[all...]

Completed in 58 milliseconds