Home
last modified time | relevance | path

Searched refs:wl_fixed_from_double (Results 1 – 18 of 18) sorted by relevance

/third_party/weston/tests/
Divi-layout-test-plugin.c331 runner_assert(prop->opacity == wl_fixed_from_double(1.0)); in RUNNER_TEST()
333 ret = lyt->surface_set_opacity(ivisurf, wl_fixed_from_double(0.5)); in RUNNER_TEST()
336 runner_assert(prop->opacity == wl_fixed_from_double(1.0)); in RUNNER_TEST()
340 runner_assert(prop->opacity == wl_fixed_from_double(0.5)); in RUNNER_TEST()
483 NULL, wl_fixed_from_double(0.3)) == IVI_FAILED); in RUNNER_TEST()
486 ivisurf, wl_fixed_from_double(0.3)) == IVI_SUCCEEDED); in RUNNER_TEST()
489 ivisurf, wl_fixed_from_double(-1)) == IVI_FAILED); in RUNNER_TEST()
494 runner_assert(prop->opacity == wl_fixed_from_double(0.3)); in RUNNER_TEST()
497 ivisurf, wl_fixed_from_double(1.1)) == IVI_FAILED); in RUNNER_TEST()
501 runner_assert(prop->opacity == wl_fixed_from_double(0.3)); in RUNNER_TEST()
[all …]
Divi-layout-internal-test.c183 iassert(prop->opacity == wl_fixed_from_double(1.0)); in test_layer_opacity()
186 ivilayer, wl_fixed_from_double(0.5)) == IVI_SUCCEEDED); in test_layer_opacity()
188 iassert(prop->opacity == wl_fixed_from_double(1.0)); in test_layer_opacity()
192 iassert(prop->opacity == wl_fixed_from_double(0.5)); in test_layer_opacity()
353 NULL, wl_fixed_from_double(0.3)) == IVI_FAILED); in test_layer_bad_opacity()
356 ivilayer, wl_fixed_from_double(0.3)) == IVI_SUCCEEDED); in test_layer_bad_opacity()
359 ivilayer, wl_fixed_from_double(-1)) == IVI_FAILED); in test_layer_bad_opacity()
364 iassert(prop->opacity == wl_fixed_from_double(0.3)); in test_layer_bad_opacity()
367 ivilayer, wl_fixed_from_double(1.1)) == IVI_FAILED); in test_layer_bad_opacity()
371 iassert(prop->opacity == wl_fixed_from_double(0.3)); in test_layer_bad_opacity()
[all …]
Dpointer-test.c83 tv_nsec, axis, wl_fixed_from_double(value)); in send_axis()
/third_party/weston/kiosk-shell/
Dkiosk-shell-grab.c254 shgrab->dx = wl_fixed_from_double(shsurf->view->geometry.x) - in kiosk_shell_grab_start_for_pointer_move()
256 shgrab->dy = wl_fixed_from_double(shsurf->view->geometry.y) - in kiosk_shell_grab_start_for_pointer_move()
286 shgrab->dx = wl_fixed_from_double(shsurf->view->geometry.x) - in kiosk_shell_grab_start_for_touch_move()
288 shgrab->dy = wl_fixed_from_double(shsurf->view->geometry.y) - in kiosk_shell_grab_start_for_touch_move()
/third_party/weston/clients/
Dscaler.c83 src_x = wl_fixed_from_double((RECT_X + 0.5) / BUFFER_SCALE); in set_my_viewport()
84 src_y = wl_fixed_from_double((RECT_Y + 0.5) / BUFFER_SCALE); in set_my_viewport()
85 src_width = wl_fixed_from_double((RECT_W - 0.5) / BUFFER_SCALE); in set_my_viewport()
86 src_height = wl_fixed_from_double((RECT_H - 0.5) / BUFFER_SCALE); in set_my_viewport()
Dwindow.c4985 wl_fixed_from_double(x), in widget_set_locked_pointer_cursor_hint()
4986 wl_fixed_from_double(y)); in widget_set_locked_pointer_cursor_hint()
/third_party/wayland_standard/tests/
Dfixed-test.c38 f = wl_fixed_from_double(d); in TEST()
43 f = wl_fixed_from_double(d); in TEST()
Dconnection-test.c444 data.value.i = wl_fixed_from_double(-90000.2390); in TEST()
521 data.value.i = wl_fixed_from_double(1234.5678); in TEST()
525 data.value.i = wl_fixed_from_double(-90000.2390); in TEST()
529 data.value.i = wl_fixed_from_double((1 << 23) - 1 + 0.0941); in TEST()
/third_party/weston/libweston/backend-drm/
Dstate-helpers.c239 state->src_x = wl_fixed_from_double(sxf1) << 8; in drm_plane_state_coords_for_view()
240 state->src_y = wl_fixed_from_double(syf1) << 8; in drm_plane_state_coords_for_view()
241 state->src_w = wl_fixed_from_double(sxf2 - sxf1) << 8; in drm_plane_state_coords_for_view()
242 state->src_h = wl_fixed_from_double(syf2 - syf1) << 8; in drm_plane_state_coords_for_view()
/third_party/weston/libweston/
Dinput.c321 *x = wl_fixed_from_double(event->x); in weston_pointer_motion_to_abs()
322 *y = wl_fixed_from_double(event->y); in weston_pointer_motion_to_abs()
324 *x = pointer->x + wl_fixed_from_double(event->dx); in weston_pointer_motion_to_abs()
325 *y = pointer->y + wl_fixed_from_double(event->dy); in weston_pointer_motion_to_abs()
497 dxf = wl_fixed_from_double(dx); in pointer_send_relative_motion()
498 dyf = wl_fixed_from_double(dy); in pointer_send_relative_motion()
499 dxf_unaccel = wl_fixed_from_double(dx_unaccel); in pointer_send_relative_motion()
500 dyf_unaccel = wl_fixed_from_double(dy_unaccel); in pointer_send_relative_motion()
679 wl_fixed_from_double(event->value)); in weston_pointer_send_axis()
2255 wl_fixed_from_double(x), in notify_pointer_focus()
[all …]
Dlibinput-seat.c243 wl_fixed_t x = wl_fixed_from_double(double_x); in process_multimodalinput_touch_event()
244 wl_fixed_t y = wl_fixed_from_double(double_y); in process_multimodalinput_touch_event()
Dcompositor.c1629 *x = wl_fixed_from_double(xf); in weston_view_to_global_fixed()
1630 *y = wl_fixed_from_double(yf); in weston_view_to_global_fixed()
1670 *vx = wl_fixed_from_double(vxf); in weston_view_from_global_fixed()
1671 *vy = wl_fixed_from_double(vyf); in weston_view_from_global_fixed()
/third_party/wayland_standard/src/
Dwayland-util.h634 wl_fixed_from_double(double d) in wl_fixed_from_double() function
/third_party/weston/ivi-shell/
Divi-layout-transition.c473 ivi_layout_surface_set_opacity(surface, wl_fixed_from_double(alpha)); in fade_view_user_frame()
619 wl_fixed_from_double(user_data->alpha)); in visibility_off_transition_destroy()
820 wl_fixed_t fixed_alpha = wl_fixed_from_double(alpha); in transition_fade_layer_user_frame()
Divi-layout.c318 prop->opacity = wl_fixed_from_double(1.0); in init_layer_properties()
329 prop->opacity = wl_fixed_from_double(1.0); in init_surface_properties()
1402 opacity < wl_fixed_from_double(0.0) || in ivi_layout_layer_set_opacity()
1403 wl_fixed_from_double(1.0) < opacity) { in ivi_layout_layer_set_opacity()
1535 opacity < wl_fixed_from_double(0.0) || in ivi_layout_surface_set_opacity()
1536 wl_fixed_from_double(1.0) < opacity) { in ivi_layout_surface_set_opacity()
/third_party/flutter/glfw/src/
Dwl_window.c673 wl_fixed_from_double(x), wl_fixed_from_double(y)); in _glfwPlatformSetCursorPos()
/third_party/weston/desktop-shell/
Dshell.c1436 move->dx = wl_fixed_from_double(shsurf->view->geometry.x) - in surface_touch_move()
1438 move->dy = wl_fixed_from_double(shsurf->view->geometry.y) - in surface_touch_move()
1583 move->dx = wl_fixed_from_double(shsurf->view->geometry.x) - in surface_move()
1585 move->dy = wl_fixed_from_double(shsurf->view->geometry.y) - in surface_move()
/third_party/wayland-ivi-extension/ivi-layermanagement-api/ilmControl/src/
Dilm_control_wayland_platform.c1911 wl_fixed_t opacity_fixed = wl_fixed_from_double((double)opacity); in ilm_layerSetOpacity()
2049 wl_fixed_t opacity_fixed = wl_fixed_from_double((double)opacity); in ilm_surfaceSetOpacity()