Home
last modified time | relevance | path

Searched refs:width (Results 1 – 18 of 18) 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)
36 other.width == width in prettyPrint()
39 var result = width in prettyPrint()
DBuffer.kt19 class Buffer(width: Int, height: Int, val stride: Int, val format: Int) : Bounds(width, height) {
25 other.width == width && in prettyPrint()
31 result = 31 * result + width in prettyPrint()
DRect.kt26 val width: Int get() = right - left constant in com.android.server.wm.traces.common.Rect
32 val isEmpty: Boolean = width == 0 || height == 0 in centerX()
DRectF.kt26 val width: Float get() = right - left 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()
87 val width: Int in isRotated() constant
90 width = min(displayBounds.width(), displayBounds.height()) in isRotated()
93 width = max(displayBounds.width(), displayBounds.height()) in isRotated()
97 return Region(0, 0, width, height) in isRotated()
110 displayWidth = displayBounds.width() in isRotated()
115 displayHeight = displayBounds.width() in isRotated()
/platform_testing/libraries/media-helper/src/android/test/mediahelper/
DMediaValidationHelper.java91 int width = format.getInteger(MediaFormat.KEY_WIDTH); in validateVideoTrackMediaFormat() local
96 "Duration: %d; Width: %d; Height: %d", durationMillis, width, height)); in validateVideoTrackMediaFormat()
98 assertThat(width).isEqualTo(expWidth); in validateVideoTrackMediaFormat()
112 int width = bitmap.getWidth(); in validateImage() local
113 Log.d(TAG, String.format("Height: %d; Width: %d", height, width)); in validateImage()
115 assertThat(width).isGreaterThan(minWidth); 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.kt41 private val width: Int = 720, constant
62 val vidBitRate = (width * height * refreshRate / VIDEO_FRAME_RATE in prepare()
68 recorder.setVideoSize(width, height) in prepare()
80 width, in prepare()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/windows/
DWindowLayoutParams.kt30 val width: Int, constant in com.android.server.wm.traces.common.windowmanager.windows.WindowLayoutParams
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DCommonLauncherHelper.java110 size = appR.width(); in ensureIconVisible()
111 containerSize = containerR.width(); in ensureIconVisible()
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/
DOverviewHelper.java115 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, 5); in scrollToTopOfRecents()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DOverviewHelper.java153 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, 5); in scrollToTopOfRecents()
/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/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.kt421 width = proto?.width ?: 0, in <lambda>()
/platform_testing/libraries/automotive-helpers/standard-app-helper/src/android/platform/helpers/
DAbstractAutoStandardAppHelper.java224 int margin = (int) (Math.abs(bounds.width()) / 4); in getScrollableMargin()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityScannerHelper.java290 int buttonWidth = bounds.width(); in moveScannerCheckButton()