/third_party/libinput/src/ |
D | evdev-tablet-pad.c | 41 struct button_state *buttons) in pad_get_buttons_pressed() 43 struct button_state *state = &pad->button_state; in pad_get_buttons_pressed() 44 struct button_state *prev_state = &pad->prev_button_state; in pad_get_buttons_pressed() 53 struct button_state *buttons) in pad_get_buttons_released() 55 struct button_state *state = &pad->button_state; in pad_get_buttons_released() 56 struct button_state *prev_state = &pad->prev_button_state; in pad_get_buttons_released() 67 return bit_is_set(pad->button_state.bits, button); in pad_button_is_down() 73 const struct button_state *state = &pad->button_state; in pad_any_button_down() 88 struct button_state *state = &pad->button_state; in pad_button_set_down() 362 const struct button_state *buttons, in pad_notify_button_mask() [all …]
|
D | evdev-tablet-pad.h | 46 struct button_state { struct 68 struct button_state button_state; member 69 struct button_state prev_button_state;
|
D | evdev-tablet.h | 52 struct button_state { struct 76 struct button_state button_state; member 77 struct button_state prev_button_state;
|
D | evdev-tablet.c | 51 struct button_state *buttons) in tablet_get_pressed_buttons() 54 const struct button_state *state = &tablet->button_state, in tablet_get_pressed_buttons() 63 struct button_state *buttons) in tablet_get_released_buttons() 66 const struct button_state *state = &tablet->button_state, in tablet_get_released_buttons() 79 struct button_state *state = &tablet->button_state, in tablet_force_button_presses() 779 set_bit(tablet->button_state.bits, evcode); in tablet_update_button() 782 clear_bit(tablet->button_state.bits, evcode); in tablet_update_button() 1189 const struct button_state *buttons, in tablet_notify_button_mask() 1221 struct button_state buttons; in tablet_notify_buttons() 1898 memset(tablet->button_state.bits, in tablet_flush() [all …]
|
D | evdev-mt-touchpad.h | 95 enum button_state { enum 221 enum button_state state;
|
D | evdev-mt-touchpad-buttons.c | 47 button_state_to_str(enum button_state state) in button_state_to_str() 166 enum button_state new_state, in tp_button_set_state() 460 enum button_state current = t->button.state; in tp_button_handle_event()
|
/third_party/cef/libcef/browser/views/ |
D | label_button_impl.h | 34 void SetImage(cef_button_state_t button_state, 36 CefRefPtr<CefImage> GetImage(cef_button_state_t button_state) override; 77 cef_button_state_t button_state, in SetImage() argument 84 static_cast<views::Button::ButtonState>(button_state), image_skia); in SetImage() 88 cef_button_state_t button_state) { in GetImage() argument 91 static_cast<views::Button::ButtonState>(button_state)); in GetImage()
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_android.cpp | 91 int32_t button_state = AMotionEvent_getButtonState(input_event); in ImGui_ImplAndroid_HandleInputEvent() local 92 io.MouseDown[0] = ((button_state & AMOTION_EVENT_BUTTON_PRIMARY) != 0); in ImGui_ImplAndroid_HandleInputEvent() 93 io.MouseDown[1] = ((button_state & AMOTION_EVENT_BUTTON_SECONDARY) != 0); in ImGui_ImplAndroid_HandleInputEvent() 94 io.MouseDown[2] = ((button_state & AMOTION_EVENT_BUTTON_TERTIARY) != 0); in ImGui_ImplAndroid_HandleInputEvent()
|
/third_party/cef/include/views/ |
D | cef_label_button.h | 90 virtual void SetImage(cef_button_state_t button_state, 98 virtual CefRefPtr<CefImage> GetImage(cef_button_state_t button_state) = 0;
|
/third_party/cef/include/capi/views/ |
D | cef_label_button_capi.h | 90 cef_button_state_t button_state, 99 cef_button_state_t button_state);
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/ |
D | SDL_mirevents.c | 91 MirPointerButton button_state = mir_pointer_button_primary; in HandleMouseButton() local 97 button_state = new_button_states ^ old_button_states; in HandleMouseButton() 99 switch (button_state) { in HandleMouseButton()
|
/third_party/cef/libcef_dll/ctocpp/views/ |
D | label_button_ctocpp.h | 42 void SetImage(cef_button_state_t button_state, 44 CefRefPtr<CefImage> GetImage(cef_button_state_t button_state) override;
|
D | menu_button_ctocpp.h | 46 void SetImage(cef_button_state_t button_state, 48 CefRefPtr<CefImage> GetImage(cef_button_state_t button_state) override;
|
D | label_button_ctocpp.cc | 110 void CefLabelButtonCToCpp::SetImage(cef_button_state_t button_state, in SetImage() argument 123 _struct->set_image(_struct, button_state, CefImageCToCpp::Unwrap(image)); in SetImage() 128 cef_button_state_t button_state) { in GetImage() argument 138 cef_image_t* _retval = _struct->get_image(_struct, button_state); in GetImage()
|
D | menu_button_ctocpp.cc | 149 void CefMenuButtonCToCpp::SetImage(cef_button_state_t button_state, in SetImage() argument 163 _struct->set_image(_struct, button_state, CefImageCToCpp::Unwrap(image)); in SetImage() 168 cef_button_state_t button_state) { in GetImage() argument 179 cef_image_t* _retval = _struct->get_image(_struct, button_state); in GetImage()
|
/third_party/weston/libweston/ |
D | libinput-device.c | 161 int button_state = in handle_pointer_button() local 168 if ((button_state == LIBINPUT_BUTTON_STATE_PRESSED && in handle_pointer_button() 170 (button_state == LIBINPUT_BUTTON_STATE_RELEASED && in handle_pointer_button() 179 button_state); in handle_pointer_button()
|
/third_party/cef/libcef_dll/cpptoc/views/ |
D | label_button_cpptoc.cc | 110 cef_button_state_t button_state, in label_button_set_image() argument 122 CefLabelButtonCppToC::Get(self)->SetImage(button_state, in label_button_set_image() 128 cef_button_state_t button_state) { in label_button_get_image() argument 139 CefLabelButtonCppToC::Get(self)->GetImage(button_state); in label_button_get_image()
|
D | menu_button_cpptoc.cc | 157 cef_button_state_t button_state, in menu_button_set_image() argument 170 ->SetImage(button_state, CefImageCppToC::Unwrap(image)); in menu_button_set_image() 175 cef_button_state_t button_state) { in menu_button_get_image() argument 187 ->GetImage(button_state); in menu_button_get_image()
|
/third_party/python/Tools/demo/ |
D | life.py | 244 mouse_id, mouse_x, mouse_y, mouse_z, button_state = curses.getmouse()
|
/third_party/weston/xwayland/ |
D | window-manager.c | 2093 enum wl_pointer_button_state button_state; in weston_wm_handle_button() local 2111 button_state = button->response_type == XCB_BUTTON_PRESS ? in weston_wm_handle_button() 2116 if (button_state == WL_POINTER_BUTTON_STATE_PRESSED) { in weston_wm_handle_button() 2138 button_id, button_state); in weston_wm_handle_button() 2141 button_id, button_state); in weston_wm_handle_button()
|