Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/utils/src/android/tools/helpers/
DWindowUtils.kt119 val displayWidth = display.layerStackSpace.width() in getNavigationBarPosition() constant
126 Region(0, displayHeight - navBarHeight, displayWidth, displayHeight) in getNavigationBarPosition()
129 Region(displayWidth - navBarWidth, 0, displayWidth, displayHeight) in getNavigationBarPosition()
143 val displayWidth: Int in estimateNavigationBarPosition() constant
146 displayWidth = displayBounds.width() in estimateNavigationBarPosition()
150 displayWidth = displayBounds.height() in estimateNavigationBarPosition()
160 Region(0, displayHeight - navBarHeight, displayWidth, displayHeight) in estimateNavigationBarPosition()
163 Region(displayWidth - navBarWidth, 0, displayWidth, displayHeight) in estimateNavigationBarPosition()
DAutomationUtils.kt105 height = this.displayWidth in openQuickstep()
190 this.displayWidth / 2, in openQuickStepAndClearRecentAppsFromOverview()
192 this.displayWidth, in openQuickStepAndClearRecentAppsFromOverview()
268 Point(0, this.displayWidth / 2) in UiDevice()
270 Point(this.displayWidth / 2, 0) in UiDevice()
290 Point(this.displayWidth, this.displayWidth / 2) in exitSplitScreenFromBottom()
292 Point(this.displayWidth / 2, this.displayHeight) in exitSplitScreenFromBottom()
314 this.displayWidth / 2, in resizeSplitScreen()
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DUiObjectUtils.kt39 .isIn(uiDevice.displayWidth / 2 - 1..uiDevice.displayWidth / 2 + 1) in assertInHorizontalCentre()
85 .that(this.stableBounds.centerX() > uiDevice.displayWidth / 2) in assertCenterOnTheRightSide()
92 .that(this.stableBounds.centerX() < uiDevice.displayWidth / 2) in assertCenterOnTheLeftSide()
102 .that(this.stableBounds.left >= uiDevice.displayWidth / 2) in assertOnTheRightSide()
112 .that(this.stableBounds.right <= uiDevice.displayWidth / 2) in assertOnTheLeftSide()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DCommonUtils.java171 final int displayWidth = getUiDevice().getDisplayWidth() - DEFAULT_MARGIN; in swipe() local
175 final int marginWidth = (Math.abs(displayWidth - objWidth)) / 2; in swipe()
199 displayWidth, in swipe()
206 displayWidth, in swipe()
/platform_testing/libraries/uinput-device-test-helper/src/android/platform/helpers/uinput/
DUInputStylus.kt31 val displayWidth: 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/
DUnfoldAnimationTestingUtils.kt85 if (oldPosition < uiDevice.displayWidth / 2) { in <lambda>()
DFoldableRule.kt203 get() = uiDevice.displayWidth * uiDevice.displayHeight