Home
last modified time | relevance | path

Searched refs:list_y (Results 1 – 4 of 4) sorted by relevance

/external/autotest/client/site_tests/firmware_TouchMTB/tests/
Dmtb_unittest.py37 def __init__(self, list_x, list_y): argument
39 self.list_y = list_y
43 return (self.list_x, self.list_y)
63 def _call_get_reversed_motions(self, list_x, list_y, expected_x, argument
65 mtb = FakeMtb(list_x, list_y)
72 list_y = (1, 2 ,6, 10, 22)
73 self._call_get_reversed_motions(list_x, list_y, 0, 0, GV.TLBR)
77 list_y = (1, 2 ,6, 30, 22)
78 self._call_get_reversed_motions(list_x, list_y, -54, -8, GV.TLBR)
83 list_x, list_y = mtb_packets.get_x_y(slot)
[all …]
Dvalidators_unittest.py185 list_y = [20, 40, 60, 80, 100, 120, 140, 160]
186 list_t = [i * 0.1 for i in range(len(list_y))]
188 list_t, list_y)
206 list_y = [1, 20, 40, 60, 80, 100, 120, 140, 160, 188, 190]
207 list_t = range(len(list_y))
219 list_y)
254 list_y = [52.21, 53.12, 54.48, 55.84, 57.20, 58.57, 59.93, 61.29,
259 list_t, list_y)
/external/autotest/client/site_tests/firmware_TouchMTB/
Dvalidators.py271 list_y = [p.y for p in points]
273 return (list_x, list_y, list_t)
489 (list_x, list_y) = self.packets.get_x_y(self.finger)
493 ave_distance = self._simple_linear_regression(list_y, list_x)
496 ave_distance = self._simple_linear_regression(list_x, list_y)
525 def _calc_residuals(self, line, list_t, list_y): argument
542 return [float(line(t) - y) for t, y in zip(list_t, list_y)]
544 def _do_simple_linear_regression(self, list_t, list_y): argument
561 if len(list_t) < 2 or len(list_y) < 2:
565 list_t, list_y, VAL.MIDDLE, END_PERCENTAGE)
[all …]
Dmtb.py614 list_y = []
648 list_y.append(prev_y)
649 return (list_x, list_y)
775 list_y = self._init_dict(target_slots, [])
810 list_y[s].append(y[s])
812 return (list_x, list_y)
816 list_x, list_y = self.get_x_y_multiple_slots(target_slots)
817 points_list = [zip(list_x[slot], list_y[slot]) for slot in target_slots]
841 list_x, list_y = self.get_x_y(target_slot)
842 return zip(list_x, list_y)
[all …]