Lines Matching defs:pressure
3592 double pressure, distance;
3597 /* We have 0.1% pressure above minimum threshold but we're still below
3606 pressure = libinput_event_tablet_tool_get_pressure(tev);
3609 ck_assert_double_eq(pressure, 0.001);
3613 /* We have pressure and we're above the tip threshold now */
3621 pressure = libinput_event_tablet_tool_get_pressure(tev);
3624 ck_assert_double_gt(pressure, 0.0);
3822 double pressure = libinput_event_tablet_tool_get_pressure(tev);
3823 ck_assert_double_eq_tol(pressure, expected_pressure, 0.01);
3842 * us ~10% pressure */
3854 /* This activates the pressure offset */
3858 /* Put the pen down, with a pressure high enough to meet the
3872 /* Reduce pressure to just a tick over the offset, otherwise we get
3932 /* a reduced pressure value must reduce the offset */
3943 /* trigger the pressure threshold */
3954 /* a reduced pressure value during motion events must reduce the offset
3966 /* back to 10% should now give us 5% pressure because we reduced the
4046 /* Default pressure threshold is 1% of range */
4052 /* skip over pressure-based tip down */
4082 int pressure;
4089 for (pressure = 10; pressure <= 100; pressure += 10) {
4090 litest_axis_set_value(axes, ABS_PRESSURE, pressure);
4114 strstr(format, "pressure offset greater"))
4166 * offset the pressure here */
4188 * pressure offset */
6197 /* Tests for pressure offset with distance */
6205 /* Tests for pressure offset without distance */