Home
last modified time | relevance | path

Searched refs:preferred_action (Results 1 – 3 of 3) sorted by relevance

/third_party/weston/libweston/
Ddata-device.c127 uint32_t available_actions, preferred_action = 0; in data_offer_choose_action() local
133 preferred_action = offer->preferred_dnd_action; in data_offer_choose_action()
154 if ((preferred_action & available_actions) != 0) in data_offer_choose_action()
155 return preferred_action; in data_offer_choose_action()
191 uint32_t dnd_actions, uint32_t preferred_action) in data_offer_set_actions() argument
202 if (preferred_action && in data_offer_set_actions()
203 (!(preferred_action & dnd_actions) || in data_offer_set_actions()
204 __builtin_popcount(preferred_action) > 1)) { in data_offer_set_actions()
207 "invalid action %x", preferred_action); in data_offer_set_actions()
212 offer->preferred_dnd_action = preferred_action; in data_offer_set_actions()
/third_party/wayland_standard/tests/data/
Dexample-client.h2120 …r_set_actions(struct wl_data_offer *wl_data_offer, uint32_t dnd_actions, uint32_t preferred_action) in wl_data_offer_set_actions() argument
2123 WL_DATA_OFFER_SET_ACTIONS, dnd_actions, preferred_action); in wl_data_offer_set_actions()
Dexample-server.h1662 uint32_t preferred_action);