Home
last modified time | relevance | path

Searched refs:position (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/
DUnfoldAnimationTestingUtils.kt30 initial.position != new.position in <lambda>()
45 expected.position == current.position in <lambda>()
81 val oldPosition = if (axis == Axis.X) old.position.x else old.position.y in <lambda>()
82 val newPosition = if (axis == Axis.X) new.position.x else new.position.y in <lambda>()
102 data class Icon(val name: String, val position: Point) in <lambda>() constant in android.platform.helpers.foldable.UnfoldAnimationTestingUtils.Icon
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DScreenRecorderTest.kt125 private var position = 0L variable in android.tools.monitors.ScreenRecorderTest.ScreenRecorderSeekableInputReader
127 override fun getPosition(): Long = position in getPosition()
129 override fun getLength(): Long = bytes.size.toLong() - position in getPosition()
131 override fun seekToPosition(position: Long) { in getPosition()
132 this.position = position in getPosition()
136 if (position >= bytes.size) { in read()
140 val actualLength = kotlin.math.min(readLength.toLong(), bytes.size - position) in read()
142 buffer[(offset + i).toInt()] = bytes[(position + i).toInt()] in read()
145 position += actualLength in read()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DLayersTraceParser.kt179 newTransform(layer.getChild("transform"), position = layer.getChild("position")), in <lambda>()
182 newTransform(layer.getChild("buffer_transform"), position = null), in <lambda>()
200 newTransform(display.getChild("transform"), position = null), in <lambda>()
298 private fun newTransform(transform: Args?, position: Args?) = in <lambda>()
299 Transform.from(transform?.getChild("type")?.getInt(), getMatrix(transform, position)) in <lambda>()
301 private fun getMatrix(transform: Args?, position: Args?): Matrix33 { in <lambda>()
302 val x = position?.getChild("x")?.getFloat() ?: 0f in <lambda>()
303 val y = position?.getChild("y")?.getFloat() ?: 0f in <lambda>()
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/
DComposeToolkit.kt397 onNode.performTouchInput { down(entry.pointerId, entry.position) } in <lambda>()
402 onNode.performTouchInput { updatePointerTo(entry.pointerId, entry.position) } in <lambda>()
420 class Down(val pointerId: Int, val position: Offset) : TouchEventRecorderEntry constant in platform.test.motion.compose.TouchEventRecorderEntry.Down
426 class UpdatePointerTo(val pointerId: Int, val position: Offset) : TouchEventRecorderEntry constant in platform.test.motion.compose.TouchEventRecorderEntry.UpdatePointerTo
453 override fun down(pointerId: Int, position: Offset) { in <lambda>()
454 recordedEntries.add(TouchEventRecorderEntry.Down(pointerId, position)) in <lambda>()
455 lastPositions[pointerId] = position in <lambda>()
477 override fun updatePointerTo(pointerId: Int, position: Offset) { in <lambda>()
478 recordedEntries.add(TouchEventRecorderEntry.UpdatePointerTo(pointerId, position)) in <lambda>()
479 lastPositions[pointerId] = position in <lambda>()
/platform_testing/tests/automotive/functional/profileiconlist/src/android/platform/tests/
DProfileIconsListTest.java67 int position = list.size() - 1; in testListOfProfiles() local
68 assertTrue("Guest profile not at last position", GUEST_NAME.equals(list.get(position))); in testListOfProfiles()
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/
DSquare.java88 vertexBuffer.position(0); in Square()
97 drawListBuffer.position(0); in Square()
DTriangle.java88 vertexBuffer.position(0); in Triangle()
/platform_testing/libraries/motion/src/platform/test/motion/filmstrip/
DVideoRenderer.kt133 encodedDataBuffer.position(bufferInfo.offset) in <lambda>()