Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/utils/src/android/tools/helpers/
DWindowUtils.kt118 val displayHeight = display.layerStackSpace.height() in getNavigationBarPosition() constant
126 Region(0, displayHeight - navBarHeight, displayWidth, displayHeight) in getNavigationBarPosition()
129 Region(displayWidth - navBarWidth, 0, displayWidth, displayHeight) in getNavigationBarPosition()
131 requestedRotation == Rotation.ROTATION_270 -> Region(0, 0, navBarWidth, displayHeight) in getNavigationBarPosition()
144 val displayHeight: Int in estimateNavigationBarPosition() constant
147 displayHeight = displayBounds.height() in estimateNavigationBarPosition()
151 displayHeight = displayBounds.width() in estimateNavigationBarPosition()
160 Region(0, displayHeight - navBarHeight, displayWidth, displayHeight) in estimateNavigationBarPosition()
163 Region(displayWidth - navBarWidth, 0, displayWidth, displayHeight) in estimateNavigationBarPosition()
165 requestedRotation == Rotation.ROTATION_270 -> Region(0, 0, navBarWidth, displayHeight) in estimateNavigationBarPosition()
DAutomationUtils.kt110 height = this.displayHeight in openQuickstep()
191 this.displayHeight / 2, in openQuickStepAndClearRecentAppsFromOverview()
193 this.displayHeight / 2, in openQuickStepAndClearRecentAppsFromOverview()
292 Point(this.displayWidth / 2, this.displayHeight) in exitSplitScreenFromBottom()
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DUiObjectUtils.kt32 .isIn(uiDevice.displayHeight / 2 - 1..uiDevice.displayHeight / 2 + 1) in <lambda>()
48 .that(this.stableBounds.centerY() > uiDevice.displayHeight / 2) in assertCentreOnBottomSide()
58 .that(this.stableBounds.centerY() < uiDevice.displayHeight / 2) in assertCentreOnTopSide()
68 .that(this.stableBounds.top > uiDevice.displayHeight / 2) in assertTopOnBottomSide()
78 .that(this.stableBounds.top < uiDevice.displayHeight / 2) in assertTopOnTopSide()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DCommonUtils.java170 final int displayHeight = getUiDevice().getDisplayHeight() - DEFAULT_MARGIN; in swipe() local
174 final int marginHeight = (Math.abs(displayHeight - objHeight)) / 2; in swipe()
182 displayHeight, in swipe()
189 displayHeight, in swipe()
/platform_testing/libraries/uinput-device-test-helper/src/android/platform/helpers/uinput/
DUInputStylus.kt32 val displayHeight: Int, constant in android.platform.helpers.uinput.UInputStylus
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DBaseOrientationRule.kt56 if (displayWidth > displayHeight) {
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/
DFoldableRule.kt203 get() = uiDevice.displayWidth * uiDevice.displayHeight