Lines Matching defs:Slot
69 // Maximum number of slots supported when using the slot-based Multitouch Protocol B.
1504 slot.clear();
1650 mSlots = new Slot[slotCount];
1657 // Query the driver for the current slot index and use it as the initial slot
1659 // current slot index will not be the same as it was when the first event was
1670 ALOGD("Could not retrieve current multitouch slot index. status=%d", status);
1703 ALOGW("MultiTouch device emitted invalid slot index %d but it "
1704 "should be between 0 and %d; ignoring this slot.",
1709 Slot* slot = &mSlots[mCurrentSlot];
1713 slot->mInUse = true;
1714 slot->mAbsMTPositionX = rawEvent->value;
1717 slot->mInUse = true;
1718 slot->mAbsMTPositionY = rawEvent->value;
1721 slot->mInUse = true;
1722 slot->mAbsMTTouchMajor = rawEvent->value;
1725 slot->mInUse = true;
1726 slot->mAbsMTTouchMinor = rawEvent->value;
1727 slot->mHaveAbsMTTouchMinor = true;
1730 slot->mInUse = true;
1731 slot->mAbsMTWidthMajor = rawEvent->value;
1734 slot->mInUse = true;
1735 slot->mAbsMTWidthMinor = rawEvent->value;
1736 slot->mHaveAbsMTWidthMinor = true;
1739 slot->mInUse = true;
1740 slot->mAbsMTOrientation = rawEvent->value;
1744 // The slot is no longer in use but it retains its previous contents,
1746 slot->mInUse = false;
1748 slot->mInUse = true;
1749 slot->mAbsMTTrackingId = rawEvent->value;
1753 slot->mInUse = true;
1754 slot->mAbsMTPressure = rawEvent->value;
1757 slot->mInUse = true;
1758 slot->mAbsMTDistance = rawEvent->value;
1761 slot->mInUse = true;
1762 slot->mAbsMTToolType = rawEvent->value;
1763 slot->mHaveAbsMTToolType = true;
1784 // --- MultiTouchMotionAccumulator::Slot ---
1786 MultiTouchMotionAccumulator::Slot::Slot() {
1790 void MultiTouchMotionAccumulator::Slot::clear() {
1808 int32_t MultiTouchMotionAccumulator::Slot::getToolType() const {
3083 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.slot, "Slot");
6481 const MultiTouchMotionAccumulator::Slot* inSlot =
6572 getAbsoluteAxisInfo(ABS_MT_SLOT, &mRawPointerAxes.slot);
6575 && mRawPointerAxes.slot.valid
6576 && mRawPointerAxes.slot.minValue == 0 && mRawPointerAxes.slot.maxValue > 0) {
6577 size_t slotCount = mRawPointerAxes.slot.maxValue + 1;