/third_party/weston/tests/ |
D | ivi-layout-test-plugin.c | 331 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 …]
|
D | ivi-layout-internal-test.c | 183 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 …]
|
D | pointer-test.c | 83 tv_nsec, axis, wl_fixed_from_double(value)); in send_axis()
|
/third_party/weston/kiosk-shell/ |
D | kiosk-shell-grab.c | 254 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/ |
D | scaler.c | 83 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()
|
D | window.c | 4985 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/ |
D | fixed-test.c | 38 f = wl_fixed_from_double(d); in TEST() 43 f = wl_fixed_from_double(d); in TEST()
|
D | connection-test.c | 444 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/ |
D | state-helpers.c | 239 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/ |
D | input.c | 321 *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 …]
|
D | libinput-seat.c | 243 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()
|
D | compositor.c | 1629 *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/ |
D | wayland-util.h | 634 wl_fixed_from_double(double d) in wl_fixed_from_double() function
|
/third_party/weston/ivi-shell/ |
D | ivi-layout-transition.c | 473 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()
|
D | ivi-layout.c | 318 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/ |
D | wl_window.c | 673 wl_fixed_from_double(x), wl_fixed_from_double(y)); in _glfwPlatformSetCursorPos()
|
/third_party/weston/desktop-shell/ |
D | shell.c | 1436 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/ |
D | ilm_control_wayland_platform.c | 1911 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()
|