Lines Matching defs:major
58 def __init__(self, major=None, minor=None, orientation=None):
59 self._major = major
65 def major(self):
68 @major.setter
69 def major(self, major):
70 self._major = major
92 s = "Touch: major {:3d}".format(self.major)
123 self.major_range.update(touch.major)
126 if touch.major < self.device.up or touch.minor < self.device.up:
128 elif touch.major > self.device.down or touch.minor > self.device.down:
132 self.is_palm = touch.major > self.device.palm
136 self.is_thumb = self.device.thumb != 0 and touch.major > self.device.thumb
149 return "{:78s}".format("Sequence: no major/minor values recorded")
151 s = "Sequence: major: [{:3d}..{:3d}] ".format(
280 self.touch.major = event.value
292 major=self.touch.major,