Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DVelocityTrackerTest.java66 assertVelocity(TOLERANCE_EXACT, "Expect exact bound when no movement occurs."); in testNoMovement()
73 assertVelocity(TOLERANCE_TIGHT, "Expect tight bound for linear motion."); in testLinearMovement()
85 assertVelocity(TOLERANCE_WEAK, "Expect weak bound when there is acceleration."); in testAcceleratingMovement()
97 assertVelocity(TOLERANCE_WEAK, "Expect weak bound when there is deceleration."); in testDeceleratingMovement()
106 assertVelocity(TOLERANCE_TIGHT, "Expect tight bound for linear motion."); in testLinearSharpDirectionChange()
110 assertVelocity(TOLERANCE_WEAK, "Expect weak bound after 100ms of new direction."); in testLinearSharpDirectionChange()
112 assertVelocity(TOLERANCE_TIGHT, "Expect tight bound after 200ms of new direction."); in testLinearSharpDirectionChange()
121 assertVelocity(TOLERANCE_TIGHT, "Expect tight bound for linear motion."); in testLinearSharpDirectionChangeAfterALongPause()
126 assertVelocity(TOLERANCE_TIGHT, in testLinearSharpDirectionChangeAfterALongPause()
140 assertVelocity(TOLERANCE_VERY_WEAK, in testChangingAcceleration()
[all …]