Searched refs:mtSlotValues (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | FakeEventHub.cpp | 440 device->mtSlotValues[axis] = values; in setMtSlotValues() 450 const auto& mtSlotValuesIterator = device->mtSlotValues.find(axis); in getMtSlotValues() 451 if (mtSlotValuesIterator == device->mtSlotValues.end()) { in getMtSlotValues() 454 const auto& mtSlotValues = mtSlotValuesIterator->second; in getMtSlotValues() local 455 if (mtSlotValues.size() != slotCount) { in getMtSlotValues() 456 ADD_FAILURE() << "MtSlot values specified for " << mtSlotValues.size() in getMtSlotValues() 462 std::copy(mtSlotValues.begin(), mtSlotValues.end(), outValues.begin() + 1); in getMtSlotValues()
|
D | FakeEventHub.h | 68 std::unordered_map<int32_t, std::vector<int32_t>> mtSlotValues; member
|
D | InputReader_test.cpp | 9506 std::vector<int32_t> mtSlotValues(RAW_SLOT_MAX + 1, -1); in TEST_F() local 9507 mtSlotValues[0] = FIRST_TRACKING_ID; in TEST_F() 9508 mtSlotValues[1] = SECOND_TRACKING_ID; in TEST_F() 9509 mFakeEventHub->setMtSlotValues(EVENTHUB_ID, ABS_MT_TRACKING_ID, mtSlotValues); in TEST_F() 9511 mtSlotValues[0] = x1; in TEST_F() 9512 mtSlotValues[1] = x2; in TEST_F() 9513 mFakeEventHub->setMtSlotValues(EVENTHUB_ID, ABS_MT_POSITION_X, mtSlotValues); in TEST_F() 9515 mtSlotValues[0] = y1; in TEST_F() 9516 mtSlotValues[1] = y2; in TEST_F() 9517 mFakeEventHub->setMtSlotValues(EVENTHUB_ID, ABS_MT_POSITION_Y, mtSlotValues); in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/accumulator/ |
D | MultiTouchMotionAccumulator.cpp | 103 const std::vector<int32_t>& mtSlotValues = result.value(); in syncSlots() local 106 mSlots[i - 1].populateAxisValue(axisCode, mtSlotValues[i]); in syncSlots()
|