Home
last modified time | relevance | path

Searched refs:inSlot (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DMultiTouchInputMapper.cpp245 const MultiTouchMotionAccumulator::Slot& inSlot) { in getActiveBitId() argument
247 int32_t trackingId = inSlot.getTrackingId(); in getActiveBitId()
265 const MultiTouchMotionAccumulator::Slot* inSlot = in syncTouch() local
267 if (!inSlot->isInUse()) { in syncTouch()
271 if (inSlot->getToolType() == AMOTION_EVENT_TOOL_TYPE_PALM) { in syncTouch()
272 std::optional<int32_t> id = getActiveBitId(*inSlot); in syncTouch()
293 outPointer.x = inSlot->getX(); in syncTouch()
294 outPointer.y = inSlot->getY(); in syncTouch()
295 outPointer.pressure = inSlot->getPressure(); in syncTouch()
296 outPointer.touchMajor = inSlot->getTouchMajor(); in syncTouch()
[all …]
DMultiTouchInputMapper.h108 std::optional<int32_t> getActiveBitId(const MultiTouchMotionAccumulator::Slot& inSlot);
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DHwcBufferCacheTest.cpp37 void testSlot(const int inSlot, const uint32_t expectedSlot) { in testSlot() argument
42 mCache.getHwcBuffer(inSlot, mBuffer1, &outSlot, &outBuffer); in testSlot()
47 mCache.getHwcBuffer(inSlot, mBuffer1, &outSlot, &outBuffer); in testSlot()
52 mCache.getHwcBuffer(inSlot, mBuffer2, &outSlot, &outBuffer); in testSlot()
57 mCache.getHwcBuffer(inSlot, mBuffer2, &outSlot, &outBuffer); in testSlot()
63 mCache.getHwcBuffer(inSlot, sp<GraphicBuffer>(), &outSlot, &outBuffer); in testSlot()