Home
last modified time | relevance | path

Searched refs:ActiveBuffer (Results 1 – 10 of 10) sorted by relevance

/platform_testing/libraries/flicker/utils/test/src/android/tools/datatypes/
DActiveBufferTest.kt19 class ActiveBufferTest : DatatypeTest<ActiveBuffer>() {
20 override val valueEmpty = ActiveBuffer.EMPTY
21 override val valueTest = ActiveBuffer.from(1, 2, 3, 4)
22 override val valueEqual = ActiveBuffer.from(1, 2, 3, 4)
23 override val valueDifferent = ActiveBuffer.from(5, 6, 7, 8)
/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/
DActiveBuffer.kt26 class ActiveBuffer private constructor(width: Int, height: Int, val stride: Int, val format: Int) : class
31 val EMPTY: ActiveBuffer in doPrintValue()
32 get() = withCache { ActiveBuffer(width = 0, height = 0, stride = 0, format = 0) } in doPrintValue()
33 fun from(width: Int, height: Int, stride: Int, format: Int): ActiveBuffer = withCache { in doPrintValue()
34 ActiveBuffer(width, height, stride, format) in doPrintValue()
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/
DLayerTest.kt22 import android.tools.datatypes.ActiveBuffer
69 activeBuffer = ActiveBuffer.from(100, 100, 1, 0) in useVisibleRegionIfCompositionStateIsAvailableForVisibility()
78 activeBuffer = ActiveBuffer.from(100, 100, 1, 0) in useVisibleRegionIfCompositionStateIsAvailableForVisibility()
91 activeBuffer = ActiveBuffer.from(100, 100, 1, 0) in fallbackOnLayerBoundsIfCompositionStateIsNotAvailableForVisibility()
100 activeBuffer = ActiveBuffer.from(100, 100, 1, 0) in fallbackOnLayerBoundsIfCompositionStateIsNotAvailableForVisibility()
110 activeBuffer = ActiveBuffer.from(100, 100, 1, 0) in fallbackOnLayerBoundsIfCompositionStateIsNotAvailableForVisibility()
122 activeBuffer: ActiveBuffer = ActiveBuffer.EMPTY in makeLayerWithDefaults()
DLayerTraceEntryBuilderTest.kt23 import android.tools.datatypes.ActiveBuffer
88 activeBuffer = ActiveBuffer.EMPTY, in removesLayersFromOffDisplays()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DLayerProperties.kt22 import android.tools.datatypes.ActiveBuffer
30 override val activeBuffer: ActiveBuffer = ActiveBuffer.EMPTY,
124 activeBuffer: ActiveBuffer, in from()
DILayerProperties.kt22 import android.tools.datatypes.ActiveBuffer
33 val activeBuffer: ActiveBuffer
DLayer.kt22 import android.tools.datatypes.ActiveBuffer
322 activeBuffer: ActiveBuffer, in from()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DMockLayerBuilder.kt21 import android.tools.datatypes.ActiveBuffer in <lambda>()
77 ActiveBuffer.from(absoluteBounds.width(), absoluteBounds.height(), 1, 1), in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DLayersTraceParser.kt24 import android.tools.datatypes.ActiveBuffer in <lambda>()
243 private fun newActiveBuffer(buffer: Args?): ActiveBuffer { in <lambda>()
245 return ActiveBuffer.EMPTY in <lambda>()
247 return ActiveBuffer.from( in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/
DWindowManagerStateHelperTest.kt25 import android.tools.datatypes.ActiveBuffer in <lambda>()
110 activeBuffer = ActiveBuffer.from(1, 1, 1, 1), in <lambda>()