Searched refs:newFinger (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | HardwareStateConverter_test.cpp | 277 const FingerState& newFinger = schs->state.fingers[0]; in TEST_F_WITH_FLAGS() local 278 EXPECT_EQ(123, newFinger.tracking_id); in TEST_F_WITH_FLAGS() 279 EXPECT_NEAR(55, newFinger.position_x, EPSILON); in TEST_F_WITH_FLAGS() 280 EXPECT_NEAR(95, newFinger.position_y, EPSILON); in TEST_F_WITH_FLAGS() 326 const FingerState& newFinger = schs->state.fingers[0]; in TEST_F_WITH_FLAGS() local 327 EXPECT_EQ(FingerState::ToolType::kFinger, newFinger.tool_type); in TEST_F_WITH_FLAGS() 328 EXPECT_EQ(123, newFinger.tracking_id); in TEST_F_WITH_FLAGS() 329 EXPECT_NEAR(55, newFinger.position_x, EPSILON); in TEST_F_WITH_FLAGS() 330 EXPECT_NEAR(95, newFinger.position_y, EPSILON); in TEST_F_WITH_FLAGS()
|