Searched refs:scrollSpringMotion (Results 1 – 1 of 1) sorted by relevance
2130 …auto scrollSpringMotion = AceType::MakeRefPtr<ScrollSpringMotion>(0.0, 500.0, 0.0, springDescripti… variable2131 EXPECT_EQ(scrollSpringMotion->GetType(), SpringModelType::CRITICAL_DAMPED);2137 scrollSpringMotion->Move(0.0f);2138 EXPECT_FALSE(scrollSpringMotion->IsCompleted());2139 EXPECT_NEAR(scrollSpringMotion->GetCurrentPosition(), 0.0, DBL_EPSILON);2145 scrollSpringMotion->Move(500.0f);2146 EXPECT_FALSE(scrollSpringMotion->IsCompleted());2147 EXPECT_EQ(floor(scrollSpringMotion->GetCurrentPosition()), 496);2153 scrollSpringMotion->Move(1500.0f);2154 EXPECT_TRUE(scrollSpringMotion->IsCompleted());[all …]