Home
last modified time | relevance | path

Searched refs:Size (Results 1 – 15 of 15) sorted by relevance

/platform_testing/libraries/flicker/utils/test/src/android/tools/datatypes/
DSizeTest.kt19 class SizeTest : DatatypeTest<Size>() {
20 override val valueEmpty = Size.EMPTY
21 override val valueTest = Size.from(1, 2)
22 override val valueEqual = Size.from(1, 2)
23 override val valueDifferent = Size.from(2, 3)
/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/
DSize.kt26 open class Size protected constructor(val width: Int, val height: Int) : DataType() { class
32 val EMPTY: Size in doPrintValue()
33 get() = withCache { Size(width = 0, height = 0) } in doPrintValue()
34 fun from(width: Int, height: Int): Size = withCache { Size(width, height) } in doPrintValue()
DActiveBuffer.kt27 Size(width, height) {
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/
DLayerSubject.kt19 import android.tools.datatypes.Size
81 fun hasBufferSize(expected: Size): LayerSubject = apply { in <lambda>()
82 val bufferSize = Size.from(layer.activeBuffer.width, layer.activeBuffer.height) in <lambda>()
91 fun hasLayerSize(expected: Size): LayerSubject = apply { in <lambda>()
93 Size.from(layer.screenBounds.width().toInt(), layer.screenBounds.height().toInt()) in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DDisplay.kt22 import android.tools.datatypes.Size
33 val size: Size,
105 size = Size.EMPTY, in <lambda>()
118 size: Size, in from()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/
DLayerSubjectTest.kt20 import android.tools.datatypes.Size
54 .hasBufferSize(Size.from(1440, 2960)) in canTestAssertionsOnLayer()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DMockLayerTraceEntryBuilder.kt20 import android.tools.datatypes.Size
53 size = Size.from(bounds.width(), bounds.height()), in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/
DLayerTraceEntryBuilderTest.kt24 import android.tools.datatypes.Size
116 size = Size.EMPTY, in removesLayersFromOffDisplays()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowState.kt22 import android.tools.datatypes.Size
37 val requestedSize: Size,
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DLayersTraceParser.kt26 import android.tools.datatypes.Size in <lambda>()
219 private fun newSize(sizeArgs: Args?): Size { in <lambda>()
221 return Size.EMPTY in <lambda>()
223 return Size.from( in <lambda>()
/platform_testing/libraries/compatibility-common-util/tests/assets/
Darm64_libdl.txt15 Size of this header: 64 (bytes)
16 Size of program headers: 56 (bytes)
18 Size of section headers: 64 (bytes)
24 Size EntSize Flags Link Info Align
146 Num: Value Size Type Bind Vis Ndx Name
Darm32_libdl.txt15 Size of this header: 52 (bytes)
16 Size of program headers: 32 (bytes)
18 Size of section headers: 40 (bytes)
23 [Nr] Name Type Addr Off Size ES Flg Lk Inf Al
149 Num: Value Size Type Bind Vis Ndx Name
Dx86app_process64.txt15 Size of this header: 64 (bytes)
16 Size of program headers: 56 (bytes)
18 Size of section headers: 64 (bytes)
24 Size EntSize Flags Link Info Align
250 Num: Value Size Type Bind Vis Ndx Name
Dx86app_process32.txt15 Size of this header: 52 (bytes)
16 Size of program headers: 32 (bytes)
18 Size of section headers: 40 (bytes)
23 [Nr] Name Type Addr Off Size ES Flg Lk Inf Al
214 Num: Value Size Type Bind Vis Ndx Name
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/
DWindowManagerStateBuilder.kt26 import android.tools.datatypes.Size in <lambda>()
368 requestedSize = Size.from(proto.requestedWidth, proto.requestedHeight), in <lambda>()