Searched refs:FeatureCapture (Results 1 – 6 of 6) sorted by relevance
/platform_testing/libraries/motion/src/platform/test/motion/view/ |
D | ViewFeatureCaptures.kt | 21 import platform.test.motion.golden.FeatureCapture in <lambda>() 34 val alpha = FeatureCapture<View, Float>("alpha") { view -> view.alpha.asDataPoint() } in view() 38 FeatureCapture<View, Float>("elevation") { view -> view.elevation.asDataPoint() } in view() 41 val x = FeatureCapture<View, Float>("x") { view -> view.x.asDataPoint() } in view() 44 val y = FeatureCapture<View, Float>("y") { view -> view.y.asDataPoint() } in view() 48 FeatureCapture<View, Point>("pos") { view -> in view()
|
D | DrawableFeatureCaptures.kt | 23 import platform.test.motion.golden.FeatureCapture in <lambda>() 28 val bounds = FeatureCapture<Drawable, Rect>("bounds") { it.bounds.asDataPoint() } in <lambda>() 29 val alpha = FeatureCapture<Drawable, Int>("alpha") { it.alpha.asDataPoint() } in <lambda>() 31 FeatureCapture<GradientDrawable, CornerRadii>("cornerRadii") { in <lambda>()
|
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/ |
D | ComposeFeatureCaptures.kt | 27 import platform.test.motion.golden.FeatureCapture 34 val size = FeatureCapture<SemanticsNode, IntSize>("size") { it.size.asDataPoint() } in <lambda>() 37 FeatureCapture<SemanticsNode, DpSize>("size") { in <lambda>() 45 FeatureCapture<SemanticsNode, DpOffset>("position") { in <lambda>() 58 FeatureCapture<SemanticsNode, Float>("alpha") { in <lambda>() 70 capture: FeatureCapture<SemanticsNode, *>, in TimeSeriesCaptureScope()
|
D | MotionTestValues.kt | 24 import platform.test.motion.golden.FeatureCapture 58 FeatureCapture(name) { dataPointType.makeDataPoint(it.get(motionTestValueKey)) }, in hasMotionTestValue() 71 capture: FeatureCapture<T, *>, in feature() 77 FeatureCapture(name) { capture.capture(it.get(motionTestValueKey)) }, in feature()
|
/platform_testing/libraries/motion/src/platform/test/motion/golden/ |
D | TimeSeriesCapture.kt | 24 class FeatureCapture<T, V : Any>( class 46 fun feature(using: FeatureCapture<in T, *>, name: String = using.name) { in capture()
|
/platform_testing/libraries/motion/compose/tests/src/platform/test/motion/compose/ |
D | MotionTestValuesTest.kt | 38 import platform.test.motion.golden.FeatureCapture 231 val times3 = FeatureCapture<Float, Float>("times3") { (it * 3).asDataPoint() } in <lambda>()
|