Lines Matching refs:current_test
58 int current_test; member
159 calibrator->tests[calibrator->current_test].clicked_x = x; in button_handler()
160 calibrator->tests[calibrator->current_test].clicked_y = y; in button_handler()
162 calibrator->current_test--; in button_handler()
163 if (calibrator->current_test < 0) in button_handler()
176 calibrator->tests[calibrator->current_test].clicked_x = x; in touch_handler()
177 calibrator->tests[calibrator->current_test].clicked_y = y; in touch_handler()
178 calibrator->current_test--; in touch_handler()
180 if (calibrator->current_test < 0) in touch_handler()
203 drawn_x = test_ratios[calibrator->current_test].x_ratio * allocation.width; in redraw_handler()
204 drawn_y = test_ratios[calibrator->current_test].y_ratio * allocation.height; in redraw_handler()
206 calibrator->tests[calibrator->current_test].drawn_x = drawn_x; in redraw_handler()
207 calibrator->tests[calibrator->current_test].drawn_y = drawn_y; in redraw_handler()
237 calibrator->current_test = ARRAY_LENGTH(test_ratios) - 1; in calibrator_create()