Home | History | Annotate | Download | only in firmware_TouchMTB

Lines Matching refs:finger

264     def _get_axes_by_finger(self, finger):
265 """Get list_x, list_y, and list_t for the specified finger.
267 @param finger: the finger contact
269 points = self.packets.get_ordered_finger_path(self.finger, 'point')
272 list_t = self.packets.get_ordered_finger_path(self.finger, 'syn_time')
381 To check the linearity of the line drawn in finger 1:
382 LinearityValidator1('<= 0.03, ~ +0.07', finger=1)
387 def __init__(self, criteria_str, mf=None, device=None, finger=0,
390 self.finger = finger
489 (list_x, list_y) = self.packets.get_x_y(self.finger)
500 msg_device = 'deviation finger%d: %.2f mm'
501 self.log_details(msg_device % (self.finger, deviation))
510 To check the linearity of the line drawn in finger 1:
511 LinearityValidator('<= 0.03, ~ +0.07', finger=1)
512 Note: the finger number begins from 0
517 def __init__(self, criteria_str, mf=None, device=None, finger=0,
520 self.finger = finger
629 list_x, list_y, list_t = self._get_axes_by_finger(self.finger)
742 To verify if there is exactly one finger observed:
778 normal finger gestures.
784 """A dummy CountTrackingIDValidator to collect data for fat finger gestures.
790 """Check to make sure a finger we expect to remain still doesn't move.
815 """A dummy StationaryValidator to check pulling effect by another finger.
818 To verify if the stationary finger specified by the slot is not
819 pulled away more than 1.0 mm by another finger.
829 To verify if the tapping finger specified by the slot does not
840 To verify if there is exactly one finger observed:
901 To verify if there are enough packets received about the first finger:
969 To verify the events generated by a one-finger physical click
998 # "of the n clicks, the % of clicks with the correct finger IDs"
1003 # This is for the metric: "% of finger IDs with a click"
1021 msg = 'Count of %d-finger physical clicks: %s'
1031 All points from the same finger should be within 2 circles of radius X mm
1065 When a user draws a horizontal line with thumb edge or a fat finger,
1074 To verify the level jumps in a one-finger tracking gesture:
1078 a fat finger is used, due to the difficulty in handling it correctly
1124 def __init__(self, criteria_str, finger=None, mf=None, device=None,
1129 @param finger: the ith contact if not None. When set to None, it means
1136 self.finger = finger
1137 if finger is not None:
1138 msg = '%s: finger = %d (It is required that finger >= 0.)'
1139 assert finger >= 0, msg % (self.name, finger)
1149 When performing a gesture such as finger tracking, it is possible
1150 that the finger will stay stationary for a while before it actually
1151 starts moving. Likewise, it is also possible that the finger may stay
1152 stationary before the finger leaves the touch surface. We would like
1204 if self.finger:
1205 finger_list = [self.finger]
1214 # Derive the middle moving segment in which the finger(s)
1218 for finger in finger_list:
1219 list_t = self.packets.get_ordered_finger_path(finger, 'syn_time')
1220 points = self.packets.get_ordered_finger_path(finger, 'point')
1238 self.packets.get_list_syn_time(self.finger))
1288 # Get the list of syn_time based on the specified finger.
1289 list_syn_time = self.packets.get_list_syn_time(self.finger)
1300 A ghost finger is a slot with a positive TRACKING ID without a real
1301 object such as a finger touching the device.
1303 Note that this object should be instantiated before any finger touching
1310 This is sort of different from a ghost finger case. A ghost finger
1312 beginning by syncing with the kernel before any finger touching the
1377 should not lead to an obvious cursor jump when a finger starts moving.
1419 without any X/Y updates even when the finger is tracking to the right.
1426 def __init__(self, criteria_str, finger=0, mf=None, device=None):
1428 self.finger = finger
1447 points_px = self.packets.get_ordered_finger_path(self.finger, 'point')