Home
last modified time | relevance | path

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

/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DMultiDisplayTest.java126 assertEquals(height, mDevice.getDisplayHeight(secondaryDisplayId)); in testMultiDisplay_displayMetrics()
148 assertTrue(mDevice.getDisplayHeight(secondaryDisplayId) >= mDevice.getDisplayWidth( in testMultiDisplay_orientations()
152 assertTrue(mDevice.getDisplayHeight(secondaryDisplayId) <= mDevice.getDisplayWidth( in testMultiDisplay_orientations()
DUiDeviceTest.java318 int height = mDevice.getDisplayHeight(); in testClick()
334 int height = mDevice.getDisplayHeight(); in testSwipe()
363 int height = mDevice.getDisplayHeight(); in testSwipe_withPointArray()
407 mDevice.wait(d -> d.getDisplayHeight() <= d.getDisplayWidth(), TIMEOUT_MS)); in testSetOrientation_landscapePortrait()
411 mDevice.wait(d -> d.getDisplayHeight() >= d.getDisplayWidth(), TIMEOUT_MS)); in testSetOrientation_landscapePortrait()
DMultiWindowTest.java61 int height = mDevice.getDisplayHeight(); in testMultiWindow_splitScreen()
DUiObject2Test.java670 (float) (mDevice.getDisplayHeight() * 2 / (bounds.height() - 100)); in testScroll()
/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DUiDevice.java592 public @Px int getDisplayHeight() { in getDisplayHeight() method in UiDevice
593 return getDisplayHeight(Display.DEFAULT_DISPLAY); in getDisplayHeight()
604 public @Px int getDisplayHeight(int displayId) { in getDisplayHeight() method in UiDevice
616 if (x >= getDisplayWidth() || y >= getDisplayHeight()) { in click()
618 x, y, getDisplayWidth(), getDisplayHeight())); in click()
1032 if (getDisplayHeight() >= getDisplayWidth()) { in setOrientationPortrait()
1052 if (getDisplayHeight(displayId) >= getDisplayWidth(displayId)) { in setOrientationPortrait()
1068 if (getDisplayWidth() >= getDisplayHeight()) { in setOrientationLandscape()
1088 if (getDisplayWidth(displayId) >= getDisplayHeight(displayId)) { in setOrientationLandscape()
DAccessibilityNodeInfoDumper.java57 device.getDisplayHeight()); in dumpWindowHierarchy()
DUiObject.java359 int h = getDevice().getDisplayHeight(); in getVisibleBounds()
/test/uiautomator/uiautomator/src/androidTest/java/androidx/test/uiautomator/
DUiDeviceTest.java109 assertEquals(height, mDevice.getDisplayHeight()); in testGetDisplayMetrics()
217 assertEquals(mDevice.getDisplayHeight(), screenshot.getHeight()); in testTakeScreenshot()
228 assertEquals(mDevice.getDisplayHeight() / 2, screenshot.getHeight()); in testTakeScreenshot_scaled()
/test/uiautomator/uiautomator/api/
Drestricted_2.3.0-beta01.txt180 method @Px public int getDisplayHeight();
181 method @Px public int getDisplayHeight(int);
D2.3.0-beta01.txt180 method @Px public int getDisplayHeight();
181 method @Px public int getDisplayHeight(int);
Dcurrent.txt291 method @Px public int getDisplayHeight();
292 method @Px public int getDisplayHeight(int);
Drestricted_current.txt291 method @Px public int getDisplayHeight();
292 method @Px public int getDisplayHeight(int);
D2.2.0.txt155 method public int getDisplayHeight();
Drestricted_2.2.0.txt155 method public int getDisplayHeight();