/third_party/ltp/testcases/kernel/input/ |
H A D | input03.c | 109 int nb, rd, i, pressed = 0; in check_events() local 127 pressed = 1; in check_events() 129 if (pressed == 1 && !(buf[3*i] & PS2_RIGHT_BTN)) { in check_events() 130 pressed = 0; in check_events()
|
/third_party/libinput/src/ |
H A D | evdev-fallback.h | 136 /* Bitmask of pressed keys used to ignore initial release events from 227 hw_set_key_down(struct fallback_dispatch *dispatch, int code, int pressed) in hw_set_key_down() argument 229 long_set_bit_state(dispatch->hw_key_mask, code, pressed); in hw_set_key_down()
|
H A D | evdev.h | 584 int pressed);
|
H A D | evdev.c | 130 int pressed) in evdev_update_key_down_count() 135 if (pressed) { in evdev_update_key_down_count() 128 evdev_update_key_down_count(struct evdev_device *device, int code, int pressed) evdev_update_key_down_count() argument
|
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_widgets.cpp | 514 bool pressed = false; in ButtonBehavior() local 521 // Special mode for Drag and Drop where holding button pressed for a long time while dragging another item triggers the button in ButtonBehavior() 529 pressed = true; in ButtonBehavior() 569 pressed = true; in ButtonBehavior() 585 pressed = true; in ButtonBehavior() 595 pressed = true; in ButtonBehavior() 598 if (pressed) in ButtonBehavior() 614 pressed = true; in ButtonBehavior() 643 // Report as pressed when releasing the mouse (this is the most common path) in ButtonBehavior() 647 pressed in ButtonBehavior() 695 bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); ButtonEx() local 725 bool pressed = ButtonEx(label, ImVec2(0, 0), ImGuiButtonFlags_AlignTextBaseLine); SmallButton() local 749 bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); InvisibleButton() local 772 bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); ArrowButtonEx() local 809 bool pressed = ButtonBehavior(bb_interact, id, &hovered, &held); CloseButton() local 837 bool pressed = ButtonBehavior(bb, id, &hovered, &held, ImGuiButtonFlags_None); CollapseButton() local 1038 bool pressed = ButtonBehavior(bb, id, &hovered, &held); ImageButtonEx() local 1092 bool pressed = ButtonBehavior(total_bb, id, &hovered, &held); Checkbox() local 1132 bool pressed; CheckboxFlagsT() local 1201 bool pressed = ButtonBehavior(total_bb, id, &hovered, &held); RadioButton() local 1232 const bool pressed = RadioButton(label, *v == v_button); RadioButton() local 1585 bool pressed = ButtonBehavior(bb, id, &hovered, &held); BeginCombo() local [all...] |
H A D | imgui_tables.cpp | 1174 bool pressed = ButtonBehavior(hit_rect, column_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_AllowItemOverlap | ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_NoNavFocus); in TableUpdateBorders() local 1175 if (pressed && IsMouseDoubleClicked(0)) in TableUpdateBorders() 2914 bool pressed = ButtonBehavior(bb, id, &hovered, &held, ImGuiButtonFlags_AllowItemOverlap); 2974 if (pressed && table->ReorderColumn != column_n)
|
/third_party/mesa3d/src/imgui/ |
H A D | imgui_widgets.cpp | 414 bool pressed = false; in ButtonBehavior() local 421 // Special mode for Drag and Drop where holding button pressed for a long time while dragging another item triggers the button in ButtonBehavior() 429 pressed = true; in ButtonBehavior() 461 pressed = true; in ButtonBehavior() 471 pressed = true; in ButtonBehavior() 478 pressed = true; in ButtonBehavior() 481 if (pressed) in ButtonBehavior() 495 pressed = true; in ButtonBehavior() 510 if (pressed) in ButtonBehavior() 525 pressed in ButtonBehavior() 568 bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); ButtonEx() local 597 bool pressed = ButtonEx(label, ImVec2(0, 0), ImGuiButtonFlags_AlignTextBaseLine); SmallButton() local 621 bool pressed = ButtonBehavior(bb, id, &hovered, &held); InvisibleButton() local 644 bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); ArrowButtonEx() local 673 bool pressed = ButtonBehavior(bb, id, &hovered, &held); CloseButton() local 699 bool pressed = ButtonBehavior(bb, id, &hovered, &held, ImGuiButtonFlags_None); CollapseButton() local 893 bool pressed = ButtonBehavior(bb, id, &hovered, &held); ImageButton() local 925 bool pressed = ButtonBehavior(total_bb, id, &hovered, &held); Checkbox() local 953 bool pressed = Checkbox(label, &v); CheckboxFlags() local 990 bool pressed = ButtonBehavior(total_bb, id, &hovered, &held); RadioButton() local 1018 const bool pressed = RadioButton(label, *v == v_button); RadioButton() local 1306 bool pressed = ButtonBehavior(frame_bb, id, &hovered, &held); BeginCombo() local [all...] |
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
H A D | DumbTextComponent.java | 121 private transient boolean pressed; field in DumbTextComponent 125 if (pressed) { in mousePressed() 131 pressed = true; in mousePressed() 142 pressed = false; in mouseReleased() 146 //if (pressed) select(e, false); in mouseEntered() 150 //if (pressed) select(e, false); in mouseExited()
|
/third_party/glfw/deps/ |
H A D | nuklear.h | 106 /// NK_BUTTON_TRIGGER_ON_RELEASE | Different platforms require button clicks occurring either on buttons being pressed (up to down) or released (down to up). By default this library will react on buttons being pressed, but if you define this it will only trigger if a button is released. 699 /// mouse motion, button and key pressed and released, text input and scrolling. 728 /// __nk_input_key__ | Mirrors key state with either pressed or released 729 /// __nk_input_button__ | Mirrors mouse button state with either pressed or released 4887 struct nk_style_item pressed; member 14404 select->pressed = nk_style_item_color(table[NK_COLOR_SELECT]); in nk_style_from_table() 16927 /* close the popup if user pressed outside or in the header */ in nk_nonblock_begin() 16928 int pressed, in_body, in_header; in nk_nonblock_begin() local 16930 pressed in nk_nonblock_begin() 17266 {int pressed = nk_input_is_mouse_pressed(&ctx->input, NK_BUTTON_LEFT); nk_contextual_end() local [all...] |