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

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

Completed in 629 milliseconds