/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/ |
D | WindowUtils.java | 64 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 …]
|
D | LayersTrace.java | 454 || 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/ |
D | SimpleGLRenderer.java | 96 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/ |
D | NexusLauncherStrategy.java | 115 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()
|
D | BaseLauncher3Strategy.java | 101 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()
|
D | CommonLauncherHelper.java | 107 size = appR.height(); in ensureIconVisible() 108 containerSize = containerR.height(); in ensureIconVisible()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/ |
D | ScreenRecorder.java | 40 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/ |
D | AutomationUtils.java | 89 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/ |
D | RecentsTests.java | 128 mDevice.swipe(calcBounds.left, calcBounds.top + calcBounds.height() / 2, in testSwipeItemAwayFromRecents() 129 calcBounds.right, calcBounds.top + calcBounds.height() / 2, 5); in testSwipeItemAwayFromRecents()
|
D | OverviewHelper.java | 113 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/ |
D | Scrollable.java | 215 int scrollSpeed = (int) (bounds.height() / durationSeconds); in calcScrollSpeed()
|
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/ |
D | AccessibilityScannerHelper.java | 291 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/ |
D | OverviewHelper.java | 150 int top = r.top + r.height() / 4; // top edge = top + 25% height in scrollToTopOfRecents()
|