Home
last modified time | relevance | path

Searched refs:Float (Results 1 – 25 of 39) sorted by relevance

12

/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/
DMatrix33.kt33 val dsdx: Float,
34 val dtdx: Float,
35 val tx: Float = 0F,
36 val dsdy: Float,
37 val dtdy: Float,
38 val ty: Float = 0F
56 fun identity(x: Float, y: Float): Matrix33 = withCache { in <lambda>()
60 fun rot270(x: Float, y: Float): Matrix33 = withCache { in <lambda>()
64 fun rot180(x: Float, y: Float): Matrix33 = withCache { in <lambda>()
68 fun rot90(x: Float, y: Float): Matrix33 = withCache { in <lambda>()
[all …]
/platform_testing/libraries/motion/src/platform/test/motion/view/
DViewFeatureCaptures.kt34 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()
DAnimationSampling.kt27 val sampleAt: List<Float>,
DViewToolkit.kt174 fun seekTo(progress: Float): FrameId in seekTo()
182 override fun seekTo(progress: Float): FrameId { in seekTo()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowLayoutParams.kt34 val horizontalMargin: Float = 0f,
35 val verticalMargin: Float = 0f,
40 val alpha: Float = 0f,
41 val screenBrightness: Float = 0f,
42 val buttonBrightness: Float = 0f,
44 val preferredRefreshRate: Float = 0f,
166 horizontalMargin: Float, in from()
167 verticalMargin: Float, in from()
172 alpha: Float, in from()
173 screenBrightness: Float, in from()
[all …]
DDisplayContent.kt177 fun dpiFromPx(size: Float, densityDpi: Int): Float { in <lambda>()
178 val densityRatio: Float = densityDpi.toFloat() / DENSITY_DEFAULT in <lambda>()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DDisableAnimationsRule.kt49 data class AnimationState(val transitions: Float, val windows: Float, val animators: Float)
DSettingRule.kt8 listOf(Boolean::class, Int::class, Long::class, Float::class, String::class)
39 Float::class -> valueAsString.toFloat() in getSettingValue()
/platform_testing/libraries/flicker/utils/test/src/android/tools/datatypes/
DMatrix33Test.kt71 createManualMatrix: (tx: Float, ty: Float) -> Matrix33, in <lambda>()
72 createMatrix: (tx: Float, ty: Float) -> Matrix33 in <lambda>()
/platform_testing/libraries/motion/src/platform/test/motion/golden/
DDataPointTypes.kt21 fun Float.asDataPoint() = DataPointTypes.float.makeDataPoint(this) in <lambda>() method
46 val float: DataPointType<Float> = in <lambda>()
51 is Float -> it in <lambda>()
/platform_testing/libraries/motion/compose/values/src/platform/test/motion/compose/values/
DMotionTestValues.kt33 val alpha = MotionTestValueKey<Float>("alpha")
/platform_testing/libraries/flicker/utils/src/android/tools/
DFloatFormatter.kt26 fun format(value: Float): String { in format()
/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/
DDataPointTypesTest.kt67 assertThat(DataPointTypes.float.fromJson("foo")).isEqualTo(DataPoint.unknownType<Float>()) in float_fromJson_unparseableString()
73 .isEqualTo(DataPoint.unknownType<Float>()) in float_fromJson_unknown()
93 assertThat(DataPointTypes.int.fromJson("foo")).isEqualTo(DataPoint.unknownType<Float>()) in int_fromJson_unparseableString()
99 .isEqualTo(DataPoint.unknownType<Float>()) in int_fromJson_unknown()
/platform_testing/libraries/tapl-common/src/android/platform/test/scenario/tapl_common/
DTaplUiObject.kt87 fun scroll(direction: Direction, percent: Float, verifyIsScrollable: Boolean = false) { in scroll()
116 percent: Float, in scrollWithFling()
132 fun fling(gestureDirection: Direction, percent: Float, verifyIsScrollable: Boolean = false) { in fling()
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DBetterFling.kt55 percentage: Float = DEFAULT_PERCENTAGE, in fling()
69 private fun Number.dpToPx(): Float { in Number()
DBetterSwipe.kt301 private fun PointF.lerp(amount: Float, b: PointF) = in lerp()
304 private fun lerp(start: Float, stop: Float, amount: Float): Float = start + (stop - start) * amount in lerp()
DBetterScroll.kt32 percentage: Float = DEFAULT_PERCENTAGE, in scroll()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DLayerProperties.kt35 override val shadowRadius: Float = 0f,
36 override val cornerRadius: Float = 0f,
129 shadowRadius: Float, in from()
130 cornerRadius: Float, in from()
DILayerProperties.kt38 val shadowRadius: Float
39 val cornerRadius: Float
DTransform.kt138 private data class Vec2(val x: Float, val y: Float)
161 private fun multiplyVec2(matrix: Matrix33, x: Float, y: Float): Vec2 { in multiplyVec2()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBugReportDurationCollector.java32 public class BugReportDurationCollector extends BaseCollectionListener<Float> {
/platform_testing/libraries/motion/tests/src/platform/test/motion/testing/
DSampleScene.kt36 addUpdateListener { box.x = it.animatedValue as Float } in createSlideLeftAnimator()
/platform_testing/libraries/motion/compose/tests/src/platform/test/motion/compose/
DMotionTestValuesTest.kt211 vararg expectedDataPoints: DataPoint<Float> in TimeSeries()
230 val foo = MotionTestValueKey<Float>("foo")
231 val times3 = FeatureCapture<Float, Float>("times3") { (it * 3).asDataPoint() } in <lambda>()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/
DSensorInjectionController.kt51 fun setValue(value: Float) { in setValue()
/platform_testing/libraries/motion/src/platform/test/motion/filmstrip/
DFilmstrip.kt104 val scale: Float
134 scale: Float in render()
191 scale: Float

12