Lines Matching defs:abs
148 delta.x = abs(t->point.x - last->point.x);
149 delta.y = abs(t->point.y - last->point.y);
506 absinfo = tp->device->abs.absinfo_x;
510 absinfo = tp->device->abs.absinfo_y;
809 delta.x = abs(t->point.x - t->pinned.center.x);
810 delta.y = abs(t->point.y - t->pinned.center.y);
1534 delta.x = abs(t->point.x - last->point.x);
1535 delta.y = abs(t->point.y - last->point.y);
2974 res_x = tp->device->abs.absinfo_x->resolution;
2975 res_y = tp->device->abs.absinfo_y->resolution;
3546 if (!device->abs.is_fake_resolution)
3563 xres = device->abs.dimensions.x/touchpad_width_mm;
3564 yres = device->abs.dimensions.y/touchpad_height_mm;
3569 device->abs.is_fake_resolution = false;
3576 const struct input_absinfo *ax = tp->device->abs.absinfo_x,
3577 *ay = tp->device->abs.absinfo_y;
3603 const struct input_absinfo *abs;
3616 abs = libevdev_get_abs_info(device->evdev, code);
3617 assert(abs);
3631 double range = absinfo_range(abs);
3634 hi = abs->minimum + 0.12 * range;
3635 lo = abs->minimum + 0.10 * range;
3638 if (hi > abs->maximum || hi < abs->minimum ||
3639 lo > abs->maximum || lo < abs->minimum) {
3762 device->dpi = device->abs.absinfo_x->resolution * 25.4;