Home
last modified time | relevance | path

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

/platform_testing/libraries/motion/compose/tests/src/platform/test/motion/compose/
DDataPointTypesTest.kt19 import androidx.compose.ui.geometry.Offset
69 assertThat(offset).convertsJsonObject(Offset(x = 1f, y = 2.5f), """{"x":1, "y": 2.5}""") in offset_jsonConversion()
71 assertThat(offset.fromJson("unspecified")).isEqualTo(Offset.Unspecified.asDataPoint()) in offset_jsonConversion()
72 assertThat(Offset.Unspecified.asDataPoint().asJson()).isEqualTo("unspecified") in offset_jsonConversion()
74 assertThat(offset.fromJson("infinite")).isEqualTo(Offset.Infinite.asDataPoint()) in offset_jsonConversion()
75 assertThat(Offset.Infinite.asDataPoint().asJson()).isEqualTo("infinite") in offset_jsonConversion()
DComposeToolkitTest.kt42 import androidx.compose.ui.geometry.Offset in <lambda>()
237 var pointerPosition by remember { mutableStateOf(Offset.Unspecified) } in <lambda>()
244 onDragEnd = { pointerPosition = Offset.Unspecified } in <lambda>()
647 private val pointerOffsetKey = MotionTestValueKey<Offset>("pointerOffset") in <lambda>()
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/
DDataPointTypes.kt19 import androidx.compose.ui.geometry.Offset
36 fun Offset.asDataPoint() = DataPointTypes.offset.makeDataPoint(this) in Dp() method
106 val offset: DataPointType<Offset> = in Dp()
111 "unspecified" -> Offset.Unspecified in Dp()
112 "infinite" -> Offset.Infinite in Dp()
114 Offset(it.getDouble("x").toFloat(), it.getDouble("y").toFloat()) in Dp()
DComposeToolkit.kt24 import androidx.compose.ui.geometry.Offset in <lambda>()
420 class Down(val pointerId: Int, val position: Offset) : TouchEventRecorderEntry
426 class UpdatePointerTo(val pointerId: Int, val position: Offset) : TouchEventRecorderEntry
435 val lastPositions = mutableMapOf<Int, Offset>() in <lambda>()
449 override fun currentPosition(pointerId: Int): Offset? { in <lambda>()
453 override fun down(pointerId: Int, position: Offset) { in <lambda>()
466 historicalCoordinates: List<List<Offset>>, in <lambda>()
477 override fun updatePointerTo(pointerId: Int, position: Offset) { in <lambda>()
/platform_testing/libraries/compatibility-common-util/tests/assets/
Darm64_libdl.txt23 [Nr] Name Type Address Offset
72 Type Offset VirtAddr PhysAddr
123 Offset Info Type Sym. Value Sym. Name + Addend
200 Addr: 0000000000000b08 Offset: 0x000b08 Link: 2 (.dynsym)
214 Addr: 0x0000000000000b60 Offset: 0x000b60 Link: 3 (.dynstr)
Darm32_libdl.txt52 Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
95 Offset Info Type Sym.Value Sym. Name
214 Addr: 0000000000000a84 Offset: 0x000a84 Link: 2 (.dynsym)
229 Addr: 0x0000000000000ae0 Offset: 0x000ae0 Link: 3 (.dynstr)
Dx86app_process64.txt23 [Nr] Name Type Address Offset
88 Type Offset VirtAddr PhysAddr
164 Offset Info Type Sym. Value Sym. Name + Addend
185 Offset Info Type Sym. Value Sym. Name + Addend
333 Addr: 000000000000104c Offset: 0x00104c Link: 4 (.dynsym)
354 Addr: 0x00000000000010dc Offset: 0x0010dc Link: 5 (.dynstr)
Dx86app_process32.txt60 Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
126 Offset Info Type Sym.Value Sym. Name
146 Offset Info Type Sym.Value Sym. Name
303 Addr: 0000000000000dc0 Offset: 0x000dc0 Link: 4 (.dynsym)
325 Addr: 0x0000000000000e58 Offset: 0x000e58 Link: 5 (.dynstr)