Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/
DTaskGridLayoutAlgorithm.java57 private float mAppAspectRatio; field in TaskGridLayoutAlgorithm
86 boolean landscapeTaskView = mAppAspectRatio > 1; in TaskGridRectInfo()
106 if (maxTaskHeight >= maxTaskWidth / mAppAspectRatio + mTitleBarHeight) { in TaskGridRectInfo()
110 taskHeight = (int) (maxTaskWidth / mAppAspectRatio + mTitleBarHeight + 0.5); in TaskGridRectInfo()
115 taskWidth = (int) ((taskHeight - mTitleBarHeight) * mAppAspectRatio + 0.5); in TaskGridRectInfo()
295 mAppAspectRatio = (float) usableWidth / (float) usableHeight;