Searched refs:mMotionAccumulator (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | MultiTouchMotionAccumulator_test.cpp | 31 MultiTouchMotionAccumulator mMotionAccumulator; member in android::MultiTouchMotionAccumulatorTest 41 mMotionAccumulator.process(event); in processMotionEvent() 46 mMotionAccumulator.configure(*mDeviceContext, SLOT_COUNT, /*usingSlotsProtocol=*/true); in TEST_F() 52 ASSERT_EQ(1u, mMotionAccumulator.getActiveSlotsCount()); in TEST_F() 58 ASSERT_EQ(2u, mMotionAccumulator.getActiveSlotsCount()); in TEST_F() 63 ASSERT_EQ(1u, mMotionAccumulator.getActiveSlotsCount()); in TEST_F() 69 ASSERT_EQ(0u, mMotionAccumulator.getActiveSlotsCount()); in TEST_F() 73 mMotionAccumulator.configure(*mDeviceContext, SLOT_COUNT, /*usingSlotsProtocol=*/false); in TEST_F() 79 ASSERT_EQ(1u, mMotionAccumulator.getActiveSlotsCount()); in TEST_F() 85 ASSERT_EQ(2u, mMotionAccumulator.getActiveSlotsCount()); in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/gestures/ |
D | HardwareStateConverter.cpp | 37 mMotionAccumulator(motionAccumulator), in HardwareStateConverter() 47 mMotionAccumulator.finishSync(); in processRawEvent() 54 mMotionAccumulator.process(rawEvent); in processRawEvent() 85 for (size_t i = 0; i < mMotionAccumulator.getSlotCount(); i++) { in produceHardwareState() 86 MultiTouchMotionAccumulator::Slot slot = mMotionAccumulator.getSlot(i); in produceHardwareState()
|
D | HardwareStateConverter.h | 55 MultiTouchMotionAccumulator& mMotionAccumulator; variable
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CapturedTouchpadEventConverter.cpp | 53 mMotionAccumulator(motionAccumulator), in CapturedTouchpadEventConverter() 155 mMotionAccumulator.finishSync(); in process() 159 mMotionAccumulator.process(rawEvent); in process() 179 coords.push_back(makePointerCoordsForSlot(mMotionAccumulator.getSlot(slotNumber))); in sync() 187 for (size_t i = 0; i < mMotionAccumulator.getSlotCount(); i++) { in sync() 188 const MultiTouchMotionAccumulator::Slot& slot = mMotionAccumulator.getSlot(i); in sync() 227 const bool cancel = mMotionAccumulator.getSlot(slotNumber).getToolType() == ToolType::PALM; in sync() 258 coords.push_back(makePointerCoordsForSlot(mMotionAccumulator.getSlot(slotNumber))); in sync()
|
D | TouchpadInputMapper.cpp | 239 mStateConverter(deviceContext, mMotionAccumulator), in TouchpadInputMapper() 241 mCapturedEventConverter(*getContext(), deviceContext, mMotionAccumulator, getDeviceId()), in TouchpadInputMapper() 250 mMotionAccumulator.configure(deviceContext, slotAxisInfo.maxValue + 1, true); in TouchpadInputMapper() 424 if (mMotionAccumulator.getActiveSlotsCount() == 0) { in process() 438 for (size_t i = 0; i < mMotionAccumulator.getSlotCount(); i++) { in updatePalmDetectionMetrics() 439 const MultiTouchMotionAccumulator::Slot& slot = mMotionAccumulator.getSlot(i); in updatePalmDetectionMetrics()
|
D | CapturedTouchpadEventConverter.h | 65 MultiTouchMotionAccumulator& mMotionAccumulator; variable
|
D | TouchpadInputMapper.h | 90 MultiTouchMotionAccumulator mMotionAccumulator; variable
|