Home
last modified time | relevance | path

Searched refs:width (Results 1 – 19 of 19) sorted by relevance

/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DSize.kt19 open class Size(val width: Int, val height: Int) { constant in com.android.server.wm.traces.common.Size
21 get() = height == 0 || width == 0
33 other.width == width in prettyPrint()
36 var result = width in prettyPrint()
DBuffer.kt19 class Buffer(width: Int, height: Int, val stride: Int, val format: Int) : Size(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
DWindowManagerConditionsFactory.kt244 val windowWidth = pipWindow.frame.width.toFloat() in <lambda>()
249 val layerWidth = pipLayer.sourceBounds.width in <lambda>()
/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/libraries/flicker/src/com/android/server/wm/flicker/helpers/
DWindowUtils.kt72 Region(0, 0, displayBounds.height(), displayBounds.width()) in isRotated()
74 Region(0, 0, displayBounds.width(), displayBounds.height()) in isRotated()
91 return Region(0, 0, display.layerStackSpace.width, height) in isRotated()
103 val displayWidth = display.layerStackSpace.width in isRotated()
131 displayWidth = displayBounds.width() in isRotated()
136 displayHeight = displayBounds.width() in isRotated()
/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/service/processors/
DPipResizeProcessor.kt64 (currBounds?.width != prevBounds?.width) in getInitialState()
DPipExpandProcessor.kt91 currLayerBounds.width > prevLayerBounds.width in doProcessState()
/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/libraries/flicker/src/com/android/server/wm/flicker/traces/layers/
DLayerSubject.kt122 val bufferSize = Size(layer.activeBuffer.width, layer.activeBuffer.height) in <lambda>()
134 val layerSize = Point(layer.screenBounds.width.toInt(), layer.screenBounds.height.toInt()) in <lambda>()
/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/test/src/com/android/server/wm/flicker/layers/
DLayersTraceSubjectTest.kt236 val area = region.width * region.height in <lambda>()
/platform_testing/libraries/automotive-helpers/standard-app-helper/src/android/platform/helpers/
DAbstractAutoStandardAppHelper.java228 int margin = (int) (Math.abs(bounds.width()) / 4); in getScrollableMargin()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/windowmanager/
DWindowManagerTraceParser.kt448 width = proto?.width ?: 0, in <lambda>()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityScannerHelper.java290 int buttonWidth = bounds.width(); in moveScannerCheckButton()