Lines Matching refs:slots
28 # Measures the relative motion between touch events (based on slots)
53 self.slots = []
58 return " | ".join(self.slots)
62 self.slots.append("+++++++".center(self.width))
65 self.slots.append("-------".center(self.width))
68 self.slots.append(("*" * (self.width - 2)).center(self.width))
70 self.slots.append(" ".center(self.width))
104 self.slots.append(" ".center(self.width))
122 self.slots.append(string.ljust(self.width + len(color) + len(reset)))
149 slots = []
200 slots = [Slot(i) for i in range(0, nslots)]
201 slots[0].used = True
212 slots[0].used = True
233 s = slots[slot]
255 s = slots[slot]
262 if len(slots) > 1:
264 s = slots[slot]
291 s = slots[slot]
295 for sl in slots[: slot + 1]:
365 for sl in [s for s in slots if s.used]: