Searched refs:getDisplayHeight (Results 1 – 14 of 14) sorted by relevance
126 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()
318 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()
61 int height = mDevice.getDisplayHeight(); in testMultiWindow_splitScreen()
670 (float) (mDevice.getDisplayHeight() * 2 / (bounds.height() - 100)); in testScroll()
592 public @Px int getDisplayHeight() { in getDisplayHeight() method in UiDevice593 return getDisplayHeight(Display.DEFAULT_DISPLAY); in getDisplayHeight()604 public @Px int getDisplayHeight(int displayId) { in getDisplayHeight() method in UiDevice616 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()
57 device.getDisplayHeight()); in dumpWindowHierarchy()
359 int h = getDevice().getDisplayHeight(); in getVisibleBounds()
109 assertEquals(height, mDevice.getDisplayHeight()); in testGetDisplayMetrics()217 assertEquals(mDevice.getDisplayHeight(), screenshot.getHeight()); in testTakeScreenshot()228 assertEquals(mDevice.getDisplayHeight() / 2, screenshot.getHeight()); in testTakeScreenshot_scaled()
180 method @Px public int getDisplayHeight();181 method @Px public int getDisplayHeight(int);
291 method @Px public int getDisplayHeight();292 method @Px public int getDisplayHeight(int);
155 method public int getDisplayHeight();