Home
last modified time | relevance | path

Searched refs:wl_fixed_to_int (Results 1 – 14 of 14) sorted by relevance

/third_party/weston/kiosk-shell/
Dkiosk-shell-grab.c88 dx = wl_fixed_to_int(pointer->x + shgrab->dx); in pointer_move_grab_motion()
89 dy = wl_fixed_to_int(pointer->y + shgrab->dy); in pointer_move_grab_motion()
172 dx = wl_fixed_to_int(touch->grab_x + shgrab->dx); in touch_move_grab_motion()
173 dy = wl_fixed_to_int(touch->grab_y + shgrab->dy); in touch_move_grab_motion()
/third_party/wayland_standard/tests/
Dfixed-test.c87 i = wl_fixed_to_int(f); in TEST()
91 i = wl_fixed_to_int(f); in TEST()
/third_party/flutter/skia/third_party/externals/sdl/src/video/wayland/
DSDL_waylandevents.c136 const int sx = wl_fixed_to_int(sx_w); in pointer_handle_motion()
137 const int sy = wl_fixed_to_int(sy_w); in pointer_handle_motion()
149 const SDL_Point point = { wl_fixed_to_int(input->sx_w), wl_fixed_to_int(input->sy_w) }; in ProcessHitTest()
238 y = wl_fixed_to_int(value); in pointer_handle_axis_common()
241 x = wl_fixed_to_int(value); in pointer_handle_axis_common()
/third_party/weston/libweston/
Dlibinput-seat.c282 pdata->x = wl_fixed_to_int(pointer->x); in process_multimodalinput_pointer_event()
283 pdata->y = wl_fixed_to_int(pointer->y); in process_multimodalinput_pointer_event()
284 pdata->sx = wl_fixed_to_int(pointer->sx); in process_multimodalinput_pointer_event()
285 pdata->sy = wl_fixed_to_int(pointer->sy); in process_multimodalinput_pointer_event()
Dinput.c1660 x = wl_fixed_to_int(*fx); in weston_pointer_clamp_for_output()
1661 y = wl_fixed_to_int(*fy); in weston_pointer_clamp_for_output()
1682 x = wl_fixed_to_int(*fx); in weston_pointer_clamp()
1683 y = wl_fixed_to_int(*fy); in weston_pointer_clamp()
1684 old_x = wl_fixed_to_int(pointer->x); in weston_pointer_clamp()
1685 old_y = wl_fixed_to_int(pointer->y); in weston_pointer_clamp()
1716 ix = wl_fixed_to_int(x); in weston_pointer_move_to()
1717 iy = wl_fixed_to_int(y); in weston_pointer_move_to()
1755 x = wl_fixed_to_int(pointer->x); in weston_pointer_handle_output_destroy()
1756 y = wl_fixed_to_int(pointer->y); in weston_pointer_handle_output_destroy()
[all …]
Dcompositor.c177 x = wl_fixed_to_int(pointer->x); in weston_mode_switch_finish()
178 y = wl_fixed_to_int(pointer->y); in weston_mode_switch_finish()
2001 return wl_fixed_to_int(wl_fixed_from_int(1) - 1 + f); in fixed_round_up_to_int()
2103 int ix = wl_fixed_to_int(x); in weston_compositor_pick_view()
2104 int iy = wl_fixed_to_int(y); in weston_compositor_pick_view()
2112 view_ix = wl_fixed_to_int(view_x); in weston_compositor_pick_view()
2113 view_iy = wl_fixed_to_int(view_y); in weston_compositor_pick_view()
3608 if (width_from_buffer > wl_fixed_to_int(INT32_MAX)) in weston_surface_is_pending_viewport_source_valid()
3610 if (height_from_buffer > wl_fixed_to_int(INT32_MAX)) in weston_surface_is_pending_viewport_source_valid()
6328 wl_fixed_to_int(pointer->x), in weston_output_set_transform()
[all …]
/third_party/weston/tests/
Dweston-test-client-helper.c133 pointer->x = wl_fixed_to_int(x); in pointer_handle_enter()
134 pointer->y = wl_fixed_to_int(y); in pointer_handle_enter()
158 pointer->x = wl_fixed_to_int(x); in pointer_handle_motion()
159 pointer->y = wl_fixed_to_int(y); in pointer_handle_motion()
345 touch->down_x = wl_fixed_to_int(x_w); in touch_handle_down()
346 touch->down_y = wl_fixed_to_int(y_w); in touch_handle_down()
375 touch->x = wl_fixed_to_int(x_w); in touch_handle_motion()
376 touch->y = wl_fixed_to_int(y_w); in touch_handle_motion()
535 test->pointer_x = wl_fixed_to_int(x); in test_handle_pointer_position()
536 test->pointer_y = wl_fixed_to_int(y); in test_handle_pointer_position()
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/EGLWLInputEventExample/src/
DWLEyesRenderer.cpp127 wl_fixed_to_int(sx), wl_fixed_to_int(sy)); in PointerHandleEnter()
176 … printf("ENTER EGLWLINPUT PointerHandleAxis: axis(%d), value(%d)\n", axis, wl_fixed_to_int(value)); in PointerHandleAxis()
/third_party/wayland_standard/src/
Dwayland-util.h654 wl_fixed_to_int(wl_fixed_t f) in wl_fixed_to_int() function
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/simple-weston-client/src/
Dsimple-weston-client.c324 wl_fixed_to_int(sx), wl_fixed_to_int(sy)); in PointerHandleEnter()
/third_party/weston/desktop-shell/
Dexposay.c404 wl_fixed_to_int(grab->pointer->x), in exposay_motion()
405 wl_fixed_to_int(grab->pointer->y)); in exposay_motion()
Dshell.c1382 int dx = wl_fixed_to_int(grab->touch->grab_x + move->dx); in touch_move_grab_motion()
1383 int dy = wl_fixed_to_int(grab->touch->grab_y + move->dy); in touch_move_grab_motion()
1482 x = wl_fixed_to_int(pointer->x + move->dx); in constrain_position()
1483 y = wl_fixed_to_int(pointer->y + move->dy); in constrain_position()
1627 width += wl_fixed_to_int(from_x - to_x); in resize_grab_motion()
1629 width += wl_fixed_to_int(to_x - from_x); in resize_grab_motion()
1634 height += wl_fixed_to_int(from_y - to_y); in resize_grab_motion()
1636 height += wl_fixed_to_int(to_y - from_y); in resize_grab_motion()
3468 wl_fixed_to_int(pointer->grab_x), in resize_binding()
3469 wl_fixed_to_int(pointer->grab_y), in resize_binding()
[all …]
/third_party/weston/ivi-shell/
Dhmi-controller.c1431 int orgx = wl_fixed_to_int(move->dst[0] + grab_x); in move_workspace_grab_end()
1539 0 < wl_fixed_to_int(move->pos[ii] - move->start_pos[ii])) in move_grab_update()
1554 layout_pos_x = wl_fixed_to_int(pos_x); in layer_set_pos()
1555 layout_pos_y = wl_fixed_to_int(pos_y); in layer_set_pos()
/third_party/weston/compositor/
Dscreen-share.c1151 wl_fixed_to_int(pointer->x), in share_output_binding()
1152 wl_fixed_to_int(pointer->y)); in share_output_binding()