Searched refs:DataPointTypes (Results 1 – 9 of 9) sorted by relevance
31 assertThat(DataPointTypes.boolean.fromJson(true)).isEqualTo(true.asDataPoint()) in boolean_fromJson_native()36 assertThat(DataPointTypes.boolean.fromJson("true")).isEqualTo(true.asDataPoint()) in boolean_fromJson_trueString()41 assertThat(DataPointTypes.boolean.fromJson("false")).isEqualTo(false.asDataPoint()) in boolean_fromJson_falseString()46 assertThat(DataPointTypes.boolean.fromJson(Something("bar"))) in boolean_fromJson_unknown()52 assertThat(DataPointTypes.float.fromJson(1.5f)).isEqualTo(1.5f.asDataPoint()) in float_fromJson_native()57 assertThat(DataPointTypes.float.fromJson(1.5)).isEqualTo(1.5f.asDataPoint()) in float_fromJson_number()62 assertThat(DataPointTypes.float.fromJson("1.5")).isEqualTo(1.5f.asDataPoint()) in float_fromJson_floatString()67 assertThat(DataPointTypes.float.fromJson("foo")).isEqualTo(DataPoint.unknownType<Float>()) in float_fromJson_unparseableString()72 assertThat(DataPointTypes.float.fromJson(Something("bar"))) in float_fromJson_unknown()78 assertThat(DataPointTypes.int.fromJson(1)).isEqualTo(1.asDataPoint()) in int_fromJson_native()[all …]
21 fun Float.asDataPoint() = DataPointTypes.float.makeDataPoint(this) in <lambda>()23 fun Boolean.asDataPoint() = DataPointTypes.boolean.makeDataPoint(this) in <lambda>()25 fun Int.asDataPoint() = DataPointTypes.int.makeDataPoint(this) in <lambda>()27 fun String.asDataPoint() = DataPointTypes.string.makeDataPoint(this) in <lambda>()30 object DataPointTypes { in <lambda>() object
32 fun Dp.asDataPoint() = DataPointTypes.dp.makeDataPoint(this) in Dp()34 fun IntSize.asDataPoint() = DataPointTypes.intSize.makeDataPoint(this) in Dp()36 fun Offset.asDataPoint() = DataPointTypes.offset.makeDataPoint(this) in Dp()38 fun DpSize.asDataPoint() = DataPointTypes.dpSize.makeDataPoint(this) in Dp()40 fun DpOffset.asDataPoint() = DataPointTypes.dpOffset.makeDataPoint(this) in Dp()42 object DataPointTypes { in Dp() object
29 import platform.test.motion.compose.DataPointTypes.dp30 import platform.test.motion.compose.DataPointTypes.dpOffset31 import platform.test.motion.compose.DataPointTypes.dpSize32 import platform.test.motion.compose.DataPointTypes.intSize33 import platform.test.motion.compose.DataPointTypes.offset
37 import platform.test.motion.golden.DataPointTypes101 singleFrame { feature(foo, DataPointTypes.float) } in featureWithDataPointType_defaultMatcherAndName()119 singleFrame { feature(foo, DataPointTypes.float, matcher = hasTestTag("foo")) } in featureWithDataPointType_matchingViaTestTag()132 feature(foo, DataPointTypes.float, matcher = hasTestTag("unknown")) in featureWithDataPointType_unknownNode()145 singleFrame { feature(foo, DataPointTypes.float, name = "bar") } in featureWithDataPointType_withCustomName()
62 import platform.test.motion.compose.DataPointTypes.offset in <lambda>()66 import platform.test.motion.golden.DataPointTypes in <lambda>()629 feature(frameCountKey, DataPointTypes.int) in <lambda>()
25 fun Rect.asDataPoint() = DataPointTypes.rect.makeDataPoint(this) in <lambda>()27 fun Point.asDataPoint() = DataPointTypes.point.makeDataPoint(this) in <lambda>()30 object DataPointTypes { in <lambda>() object
34 DataPointTypes.cornerRadii in <lambda>()
29 import platform.test.motion.view.DataPointTypes.cornerRadii30 import platform.test.motion.view.DataPointTypes.point31 import platform.test.motion.view.DataPointTypes.rect