Searched refs:schs (Results 1 – 4 of 4) sorted by relevance
84 std::optional<SelfContainedHardwareState> schs = mConverter->processRawEvent(event); in processAxis() local85 EXPECT_FALSE(schs.has_value()); in processAxis()127 std::optional<SelfContainedHardwareState> schs = processSync(time); in TEST_F() local129 ASSERT_TRUE(schs.has_value()); in TEST_F()130 const HardwareState& state = schs->state; in TEST_F()179 std::optional<SelfContainedHardwareState> schs = processSync(ARBITRARY_TIME); in TEST_F() local181 ASSERT_TRUE(schs.has_value()); in TEST_F()182 ASSERT_EQ(2, schs->state.finger_cnt); in TEST_F()183 const FingerState& finger1 = schs->state.fingers[0]; in TEST_F()193 const FingerState& finger2 = schs->state.fingers[1]; in TEST_F()[all …]
60 SelfContainedHardwareState schs; in produceHardwareState() local62 schs.state.timestamp = std::chrono::duration<stime_t>(std::chrono::nanoseconds(when)).count(); in produceHardwareState()63 schs.state.msc_timestamp = in produceHardwareState()66 schs.state.buttons_down = 0; in produceHardwareState()68 schs.state.buttons_down |= GESTURES_BUTTON_LEFT; in produceHardwareState()71 schs.state.buttons_down |= GESTURES_BUTTON_MIDDLE; in produceHardwareState()74 schs.state.buttons_down |= GESTURES_BUTTON_RIGHT; in produceHardwareState()77 schs.state.buttons_down |= GESTURES_BUTTON_BACK; in produceHardwareState()80 schs.state.buttons_down |= GESTURES_BUTTON_FORWARD; in produceHardwareState()83 schs.fingers.clear(); in produceHardwareState()[all …]
463 SelfContainedHardwareState schs) { in sendHardwareState() argument464 ALOGD_IF(DEBUG_TOUCHPAD_GESTURES, "New hardware state: %s", schs.state.String().c_str()); in sendHardwareState()465 mGestureInterpreter->PushHardwareState(&schs.state); in sendHardwareState()
77 SelfContainedHardwareState schs);