Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DBounds.kt19 open class Bounds(val width: Int, val height: Int) { constant in com.android.server.wm.traces.common.Bounds
21 get() = height == 0 || width == 0
27 get() = Bounds(width, height)
35 other.height == height && in prettyPrint()
40 result = 31 * result + height in prettyPrint()
DBuffer.kt19 class Buffer(width: Int, height: Int, val stride: Int, val format: Int) : Bounds(width, height) {
24 other.height == height && in prettyPrint()
30 var result = height in prettyPrint()
DRect.kt25 val height: Int get() = bottom - top constant in com.android.server.wm.traces.common.Rect
32 val isEmpty: Boolean = width == 0 || height == 0 in centerX()
DRectF.kt25 val height: Float get() = bottom - top constant in com.android.server.wm.traces.common.RectF
32 get() = width == 0f || height == 0f
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/helpers/
DWindowUtils.kt73 Region(0, 0, displayBounds.height(), displayBounds.width()) in isRotated()
75 Region(0, 0, displayBounds.width(), displayBounds.height()) in isRotated()
90 width = min(displayBounds.width(), displayBounds.height()) in isRotated()
93 width = max(displayBounds.width(), displayBounds.height()) in isRotated()
96 val height = resources.getDimensionPixelSize(resourceId) in isRotated() constant
97 return Region(0, 0, width, height) in isRotated()
111 displayHeight = displayBounds.height() in isRotated()
114 displayWidth = displayBounds.height() in isRotated()
DAutomationUtils.kt122 val height: Int in openQuickstep() constant
125 height = this.displayWidth in openQuickstep()
126 endX = height * 2 / 3 in openQuickstep()
130 height = this.displayHeight in openQuickstep()
132 endY = height * 2 / 3 in openQuickstep()
332 val destHeight = (displayBounds.height() * windowHeightRatio.toFloat()).toInt() in resizeSplitScreen()
/platform_testing/libraries/media-helper/src/android/test/mediahelper/
DMediaValidationHelper.java92 int height = format.getInteger(MediaFormat.KEY_HEIGHT); in validateVideoTrackMediaFormat() local
96 "Duration: %d; Width: %d; Height: %d", durationMillis, width, height)); in validateVideoTrackMediaFormat()
99 assertThat(height).isEqualTo(expHeight); in validateVideoTrackMediaFormat()
111 int height = bitmap.getHeight(); in validateImage() local
113 Log.d(TAG, String.format("Height: %d; Width: %d", height, width)); in validateImage()
114 assertThat(height).isGreaterThan(minHeight); in validateImage()
/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/flicker/src/com/android/server/wm/flicker/monitor/
DScreenRecorder.kt42 private val height: Int = 1280, constant
62 val vidBitRate = (width * height * refreshRate / VIDEO_FRAME_RATE in prepare()
68 recorder.setVideoSize(width, height) in prepare()
81 height, in prepare()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DNexusLauncherStrategy.java117 int height = mDevice.getDisplayHeight(); in openAllApps() local
121 height * 6 / 7, in openAllApps()
123 height / 7, in openAllApps()
124 (height * 2 / 3) / 100); // 100 px/step in openAllApps()
DBaseLauncher3Strategy.java102 int height = mDevice.getDisplayHeight(); in openAllApps() local
106 height * 6 / 7, in openAllApps()
108 height / 7, in openAllApps()
109 (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/traces/common/windowmanager/windows/
DWindowLayoutParams.kt31 val height: Int, constant in com.android.server.wm.traces.common.windowmanager.windows.WindowLayoutParams
/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/automotive-helpers/standard-app-helper/src/android/platform/helpers/
DAbstractAutoStandardAppHelper.java226 margin = (int) (Math.abs(bounds.height()) / 4); in getScrollableMargin()
241 int scrollSpeed = (int) (bounds.height() / timeSeconds); in getScrollSpeed()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/layers/
DLayerSubject.kt129 val layerSize = Point(layer.screenBounds.width.toInt(), layer.screenBounds.height.toInt()) in <lambda>()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/
DRegionSubject.kt50 private val android.graphics.Rect.area get() = this.width() * this.height() in <lambda>()
51 private val Rect.area get() = this.width * this.height in <lambda>()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DOverviewHelper.java151 int top = r.top + r.height() / 4; // top edge = top + 25% height in scrollToTopOfRecents()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/layers/
DLayersTraceParser.kt208 return Buffer(width, height, stride, format) in toBuffer()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/windowmanager/
DWindowManagerTraceParser.kt422 height = proto?.height ?: 0, in <lambda>()