Searched refs:getYVelocity (Results 1 – 2 of 2) sorted by relevance
42 assertThat(velocityTracker.getYVelocity()).isEqualTo(1.0f); in handlesYMovement()43 assertThat(velocityTracker.getYVelocity(0)).isEqualTo(1.0f); in handlesYMovement()45 assertThat(velocityTracker.getYVelocity(10)).isEqualTo(0.0f); in handlesYMovement()55 assertThat(velocityTracker.getYVelocity()).isEqualTo(2.0f); in handlesXAndYMovement()65 assertThat(velocityTracker.getYVelocity()).isEqualTo(10.0f); in handlesWindowing_positive()75 assertThat(velocityTracker.getYVelocity()).isEqualTo(-10.0f); in handlesWindowing_negative()102 assertThat(velocityTracker.getYVelocity()).isEqualTo(0.0f); in handlesClearing()105 assertThat(velocityTracker.getYVelocity()).isEqualTo(0.0f); in handlesClearing()117 assertThat(velocityTracker.getYVelocity()).isEqualTo(0.0f); in clearsOnDown()
137 protected float getYVelocity() { in getYVelocity() method in ShadowVelocityTracker138 return getYVelocity(ACTIVE_POINTER_ID); in getYVelocity()151 protected float getYVelocity(int id) { in getYVelocity() method in ShadowVelocityTracker