Home
last modified time | relevance | path

Searched refs:absy (Results 1 - 3 of 3) sorted by relevance

/third_party/libinput/src/
H A Devdev.h880 const struct input_absinfo *absx, *absy; in evdev_device_unit_delta_to_mm() local
891 absy = device->abs.absinfo_y; in evdev_device_unit_delta_to_mm()
894 mm.y = 1.0 * units->y/absy->resolution; in evdev_device_unit_delta_to_mm()
908 const struct input_absinfo *absx, *absy; in evdev_device_units_to_mm() local
919 absy = device->abs.absinfo_y; in evdev_device_units_to_mm()
922 mm.y = (units->y - absy->minimum)/absy->resolution; in evdev_device_units_to_mm()
936 const struct input_absinfo *absx, *absy; in evdev_device_mm_to_units() local
947 absy = device->abs.absinfo_y; in evdev_device_mm_to_units()
950 units.y = mm->y * absy in evdev_device_mm_to_units()
960 const struct input_absinfo *absx, *absy; evdev_phys_rect_to_units() local
[all...]
H A Devdev.c1654 const struct input_absinfo *absx, *absy; in evdev_fix_abs_resolution() local
1669 absy = libevdev_get_abs_info(evdev, ycode); in evdev_fix_abs_resolution()
1671 if (absx->resolution != 0 || absy->resolution != 0) in evdev_fix_abs_resolution()
1682 yres = absinfo_range(absy)/heightmm; in evdev_fix_abs_resolution()
1775 const struct input_absinfo *absx, *absy; in evdev_reject_device() local
1792 absy = libevdev_get_abs_info(evdev, ABS_Y); in evdev_reject_device()
1793 if ((absx->resolution == 0 && absy->resolution != 0) || in evdev_reject_device()
1794 (absx->resolution != 0 && absy->resolution == 0)) { in evdev_reject_device()
1804 absy = libevdev_get_abs_info(evdev, ABS_MT_POSITION_Y); in evdev_reject_device()
1805 if ((absx->resolution == 0 && absy in evdev_reject_device()
[all...]
/third_party/python/Modules/
H A Dmathmodule.c648 double absx, absy, c, m, r; in m_remainder() local
655 absy = fabs(y); in m_remainder()
656 m = fmod(absx, absy); in m_remainder()
661 of absy. However, we can't do that comparison directly because we in m_remainder()
662 can't be sure that 0.5*absy is representable (the multiplication in m_remainder()
664 m with the complement c = absy - m: m < 0.5*absy if and only if m < in m_remainder()
665 c, and so on. The catch is that absy - m might also not be in m_remainder()
668 - if m > 0.5*absy then absy in m_remainder()
[all...]

Completed in 13 milliseconds