Home
last modified time | relevance | path

Searched refs:mWindowRect (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/
DTaskGridLayoutAlgorithm.java48 private Rect mWindowRect; field in TaskGridLayoutAlgorithm
85 boolean landscapeWindow = mWindowRect.width() > mWindowRect.height(); in TaskGridRectInfo()
101 int maxTaskWidth = (mWindowRect.width() - 2 * mPaddingLeftRight in TaskGridRectInfo()
103 int maxTaskHeight = (mWindowRect.height() - 2 * mPaddingTopBottom in TaskGridRectInfo()
119 int emptySpaceX = mWindowRect.width() - 2 * mPaddingLeftRight in TaskGridRectInfo()
121 int emptySpaceY = mWindowRect.height() - 2 * mPaddingTopBottom in TaskGridRectInfo()
129 xOffsets[taskIndex] = mWindowRect.left + in TaskGridRectInfo()
131 yOffsets[taskIndex] = mWindowRect.top + in TaskGridRectInfo()
274 mWindowRect = windowRect;
276 mPaddingLeftRight = (int) (0.025f * Math.min(mWindowRect.width(), mWindowRect.height()));
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/lowram/
DTaskStackLowRamLayoutAlgorithm.java44 private Rect mWindowRect; field in TaskStackLowRamLayoutAlgorithm
65 mWindowRect = windowRect; in initialize()
66 if (mWindowRect.height() > 0) { in initialize()
67 int windowHeight = mWindowRect.height() - mSystemInsets.bottom; in initialize()
68 int windowWidth = mWindowRect.width() - mSystemInsets.right - mSystemInsets.left; in initialize()
96 if (mWindowRect == null) { in getFrontOfStackTransform()
102 int windowHeight = mWindowRect.height() - mSystemInsets.bottom; in getFrontOfStackTransform()
110 if (mWindowRect == null) { in getBackOfStackTransform()
116 int windowHeight = mWindowRect.height() - mSystemInsets.bottom; in getBackOfStackTransform()
136 int windowHeight = mWindowRect.height() - mSystemInsets.bottom; in getTransform()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackView.java194 private Rect mWindowRect = new Rect(); field in TaskStackView
838 mWindowRect.set(mStableWindowRect); in updateLayoutToStableBounds()
841 mLayoutAlgorithm.initialize(mDisplayRect, mWindowRect, mStackBounds); in updateLayoutToStableBounds()
1199 mWindowRect.set(0, 0, width, height); in onMeasure()
1204 mLayoutAlgorithm.initialize(mDisplayRect, mWindowRect, mStackBounds); in onMeasure()
1921 mLayoutAlgorithm, getResources(), mWindowRect)); in onBusEvent()
1923 mLayoutAlgorithm.initialize(mDisplayRect, mWindowRect, mStackBounds); in onBusEvent()
2268 writer.print(" window="); writer.print(Utilities.dumpRect(mWindowRect)); in dump()