/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/ |
D | Bounds.kt | 19 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()
|
D | Buffer.kt | 19 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()
|
D | Rect.kt | 25 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()
|
D | RectF.kt | 25 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/ |
D | WindowUtils.kt | 73 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()
|
D | AutomationUtils.kt | 122 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/ |
D | MediaValidationHelper.java | 92 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/ |
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/flicker/src/com/android/server/wm/flicker/monitor/ |
D | ScreenRecorder.kt | 42 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/ |
D | NexusLauncherStrategy.java | 117 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()
|
D | BaseLauncher3Strategy.java | 102 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()
|
D | CommonLauncherHelper.java | 107 size = appR.height(); in ensureIconVisible() 108 containerSize = containerR.height(); in ensureIconVisible()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/windows/ |
D | WindowLayoutParams.kt | 31 val height: Int, constant in com.android.server.wm.traces.common.windowmanager.windows.WindowLayoutParams
|
/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/automotive-helpers/standard-app-helper/src/android/platform/helpers/ |
D | AbstractAutoStandardAppHelper.java | 226 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/ |
D | LayerSubject.kt | 129 val layerSize = Point(layer.screenBounds.width.toInt(), layer.screenBounds.height.toInt()) in <lambda>()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/ |
D | RegionSubject.kt | 50 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/ |
D | OverviewHelper.java | 151 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/ |
D | LayersTraceParser.kt | 208 return Buffer(width, height, stride, format) in toBuffer()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/windowmanager/ |
D | WindowManagerTraceParser.kt | 422 height = proto?.height ?: 0, in <lambda>()
|