Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DManifestLayoutTests.java131 int vGravity, int hGravity, boolean fraction) throws Exception { in testLayout() argument
136 activityName = (hGravity == GRAVITY_HOR_LEFT) ? TOP_LEFT_LAYOUT_ACTIVITY in testLayout()
139 activityName = (hGravity == GRAVITY_HOR_LEFT) ? BOTTOM_LEFT_LAYOUT_ACTIVITY in testLayout()
166 verifyFrameSizeAndPosition(vGravity, hGravity, expectedWidthPx, expectedHeightPx, in testLayout()
196 int vGravity, int hGravity, int expectedWidthPx, int expectedHeightPx, in verifyFrameSizeAndPosition() argument
198 final int cutoutSize = getCutoutSizeByHorGravity(hGravity); in verifyFrameSizeAndPosition()
209 if (hGravity == GRAVITY_HOR_LEFT) { in verifyFrameSizeAndPosition()
212 } else if (hGravity == GRAVITY_HOR_RIGHT){ in verifyFrameSizeAndPosition()
218 private int getCutoutSizeByHorGravity(int hGravity) { in getCutoutSizeByHorGravity() argument
227 if (hGravity == GRAVITY_HOR_LEFT) { in getCutoutSizeByHorGravity()
[all …]