Lines Matching defs:width
321 const int width = 640, height = 480;
338 x = libinput_event_touch_get_x_transformed(tev, width);
341 ck_assert_int_eq(round(x), round(width * matrix[0]));
362 int width = 1024, height = 480;
407 x = libinput_event_touch_get_x_transformed(tev, width);
416 almost_equal(x, width * 0.8);
420 almost_equal(x, width * 0.8);
424 almost_equal(x, width * 0.2);
428 almost_equal(x, width * 0.2);
453 const int width = 640, height = 480;
458 /* translating from 0 up to 1 device width/height */
471 x = libinput_event_touch_get_x_transformed(tev, width);
475 ck_assert_int_ge(round(x), width + round(width * matrix[2]) - 1);
477 ck_assert_int_le(round(x), width + round(width * matrix[2]) + 1);