Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DWindowUtils.java64 return new Rect(0, 0, displayBounds.height(), displayBounds.width()); in getDisplayBounds()
67 return new Rect(0, 0, displayBounds.width(), displayBounds.height()); in getDisplayBounds()
85 return new Rect(0, 0, displayBounds.height(), displayBounds.width()); in getAppPosition()
88 return new Rect(0, 0, displayBounds.width(), displayBounds.height()); in getAppPosition()
98 width = Math.min(displayBounds.width(), displayBounds.height()); in getStatusBarPosition()
101 width = Math.max(displayBounds.width(), displayBounds.height()); in getStatusBarPosition()
105 int height = resources.getDimensionPixelSize(resourceId); in getStatusBarPosition() local
107 return new Rect(0, 0, width, height); in getStatusBarPosition()
113 int displayWidth = Math.min(displayBounds.width(), displayBounds.height()); in getNavigationBarPosition()
114 int displayHeight = Math.max(displayBounds.width(), displayBounds.height()); in getNavigationBarPosition()
[all …]
DLayersTrace.java454 || this.mProto.activeBuffer.height == 0 in isActiveBufferEmpty()
463 return visibleRect.height() == 0 || visibleRect.width() == 0; in isVisibleRegionEmpty()
512 } else if (this.mProto.activeBuffer.height == 0) { in getVisibilityReason()
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/
DSimpleGLRenderer.java96 public void onSurfaceChanged(GL10 unused, int width, int height) { in onSurfaceChanged() argument
99 GLES20.glViewport(0, 0, width, height); in onSurfaceChanged()
101 float ratio = (float) width / height; in onSurfaceChanged()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DNexusLauncherStrategy.java115 int height = mDevice.getDisplayHeight(); in openAllApps() local
119 height * 6 / 7, in openAllApps()
121 height / 7, in openAllApps()
122 (height * 2 / 3) / 100); // 100 px/step in openAllApps()
DBaseLauncher3Strategy.java101 int height = mDevice.getDisplayHeight(); in openAllApps() local
105 height * 6 / 7, in openAllApps()
107 height / 7, in openAllApps()
108 (height * 2 / 3) / 100); // 100 px/step in openAllApps()
DCommonLauncherHelper.java107 size = appR.height(); in ensureIconVisible()
108 containerSize = containerR.height(); in ensureIconVisible()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/
DScreenRecorder.java40 public ScreenRecorder(int width, int height, Path outputPath, String traceFile) { in ScreenRecorder() argument
43 mHeight = height; in ScreenRecorder()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/helpers/
DAutomationUtils.java89 int height = device.getDisplayHeight(); in openQuickstep() local
107 height * 2 / 3, in openQuickstep()
108 (navBarVisibleBounds.centerY() - height * 2 / 3) / 100); // 100 px/step in openQuickstep()
237 (int) (WindowUtils.getDisplayBounds().height() * windowHeightRatio.floatValue()); in resizeSplitScreen()
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/
DRecentsTests.java128 mDevice.swipe(calcBounds.left, calcBounds.top + calcBounds.height() / 2, in testSwipeItemAwayFromRecents()
129 calcBounds.right, calcBounds.top + calcBounds.height() / 2, 5); in testSwipeItemAwayFromRecents()
DOverviewHelper.java113 int top = r.top + r.height() / 4; // top edge = top + 25% height in scrollToTopOfRecents()
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/
DScrollable.java215 int scrollSpeed = (int) (bounds.height() / durationSeconds); in calcScrollSpeed()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityScannerHelper.java291 int buttonHeight = bounds.height(); in moveScannerCheckButton()
315 int destY = avoidRect.bottom + bufferY + origRect.height()/2; in calculateDest()
317 destY = avoidRect.top - bufferY - origRect.height()/2; in calculateDest()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DOverviewHelper.java150 int top = r.top + r.height() / 4; // top edge = top + 25% height in scrollToTopOfRecents()