/external/webkit/Source/WebCore/platform/haiku/ |
H A D | PlatformMouseEventHaiku.cpp | 44 int32 buttons = 0; local 46 message->FindInt32("previous buttons", &buttons); 48 message->FindInt32("buttons", &buttons); 50 if (buttons & B_PRIMARY_MOUSE_BUTTON) 52 else if (buttons & B_SECONDARY_MOUSE_BUTTON) 54 else if (buttons & B_TERTIARY_MOUSE_BUTTON)
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/ |
H A D | SDL_sysjoystick.h | 45 int nbuttons; /* Number of buttons on the joystick */ 46 Uint8 *buttons; /* Current button states */ member in struct:_SDL_Joystick
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/riscos/ |
H A D | SDL_sysjoystick.c | 30 and that there is one joystick with four buttons. 97 /* Don't know how to get exact count of buttons so assume max of 4 for now */ 141 int buttons = (regs.r[0] & 0xFF0000) >> 16; local 146 if ((buttons & (1<<i)) != (oldbuttons & (1<<i))) 148 if (buttons & (1<<i)) SDL_PrivateJoystickButton(joystick,i,SDL_PRESSED);
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/beos/ |
H A D | SDL_bejoystick.cc | 122 /* Get the number of buttons, hats, and axes on the joystick */ 165 uint32 buttons; local 176 buttons = stick->ButtonValues(); 195 if ( (buttons&0x01) != joystick->buttons[i] ) { 196 SDL_PrivateJoystickButton(joystick, i, (buttons&0x01)); 198 buttons >>= 1;
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/dc/ |
H A D | SDL_sysjoystick.c | 36 #define MAX_BUTTONS 8 /* and 8 buttons */ 128 int buttons,prev_buttons,i,changed; local 133 buttons = cond.buttons; 135 changed = buttons^prev_buttons; 139 if (buttons&CONT_DPAD_UP) hat|=SDL_HAT_UP; 140 if (buttons&CONT_DPAD_DOWN) hat|=SDL_HAT_DOWN; 141 if (buttons&CONT_DPAD_LEFT) hat|=SDL_HAT_LEFT; 142 if (buttons&CONT_DPAD_RIGHT) hat|=SDL_HAT_RIGHT; 147 if (buttons [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
H A D | SDL_sysevents.cc | 240 int32 buttons; local 242 if (msg->FindInt32("buttons", &buttons) == B_OK) { 244 if (buttons & B_PRIMARY_MOUSE_BUTTON) { 247 if (buttons & B_SECONDARY_MOUSE_BUTTON) { 250 if (buttons & B_TERTIARY_MOUSE_BUTTON) { 255 last_buttons = buttons; 263 only state of buttons (after release, so it's always = 0), 271 int32 buttons; local 273 if (msg->FindInt32("buttons", [all...] |
H A D | SDL_sysvideo.cc | 571 uint32 buttons; local 576 (SDL_Win->View())->GetMouse(&point, &buttons, true);
|
/external/qemu/distrib/sdl-1.2.12/src/video/dc/ |
H A D | SDL_dcevents.c | 71 int buttons,changed; local 76 buttons = cond.buttons^0xff; 77 if (cond.dz<0) buttons|=MOUSE_WHEELUP; 78 if (cond.dz>0) buttons|=MOUSE_WHEELDOWN; 82 changed = buttons^prev_buttons; 85 SDL_PrivateMouseButton((buttons & sdl_mousebtn[i])?SDL_PRESSED:SDL_RELEASED,i,0,0); 88 prev_buttons = buttons;
|
/external/qemu/distrib/sdl-1.2.12/src/video/ggi/ |
H A D | SDL_ggievents.c | 62 static int buttons = 0; local
|
/external/qemu/distrib/sdl-1.2.12/src/video/vgl/ |
H A D | SDL_vglevents.c | 101 char buttons; local 109 buttons = mouseinfo.u.data.buttons; 119 state_changed = button_state ^ buttons; 122 if (buttons & (1<<i)) {
|
/external/chromium/chrome/browser/ui/gtk/ |
H A D | js_modal_dialog_gtk.cc | 53 GtkButtonsType buttons = GTK_BUTTONS_NONE; local 60 buttons = GTK_BUTTONS_NONE; 67 // buttons. We add the buttons using gtk_dialog_add_button below. 68 buttons = GTK_BUTTONS_NONE; 70 buttons = GTK_BUTTONS_CANCEL; 76 buttons = GTK_BUTTONS_CANCEL; 89 GTK_DIALOG_MODAL, message_type, buttons, "%s", 117 // Adjust buttons/action area as needed.
|
H A D | gtk_theme_service.cc | 126 const std::set<int>& buttons = ThemeService::GetTintableToolbarButtons(); local 127 images.insert(buttons.begin(), buttons.end());
|
/external/qemu/android/skin/ |
H A D | file.h | 49 SkinButton* buttons; member in struct:SkinPart 55 SkinButton* __button = (part)->buttons; \
|
H A D | window.c | 792 Button* buttons; member in struct:Layout 801 Button* __button = (layout)->buttons; \ 828 button_done( &layout->buttons[nn] ); 836 AFREE( layout->buttons ); 837 layout->buttons = NULL; 882 AARRAY_NEW0(layout->buttons, n_buttons); 886 if (layout->buttons == NULL && n_buttons > 0) goto Fail; 914 Button* button = layout->buttons + n_buttons; 1055 /* filter DPAD and QWERTY buttons right here */ 1068 /* these correspond to non-qwerty buttons */ [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
H A D | SDL_ph_events.c | 117 int i, buttons; local 160 buttons = ph2sdl_mousebutton(pointerEvent->buttons); 161 if (buttons != 0) 163 posted = SDL_PrivateMouseButton(SDL_PRESSED, buttons, 0, 0); 171 buttons = ph2sdl_mousebutton(pointerEvent->buttons); 172 if (phevent->subtype == Ph_EV_RELEASE_REAL && buttons != 0) 174 posted = SDL_PrivateMouseButton(SDL_RELEASED, buttons, 0, 0); 186 posted = SDL_PrivateMouseButton(SDL_RELEASED, buttons, [all...] |
/external/qemu/distrib/sdl-1.2.12/src/joystick/os2/ |
H A D | SDL_sysjoystick.c | 44 #define MAX_BUTTONS 8 /* 8 buttons */ 52 /* Calc Button Flag for buttons A to D */ 61 char buttons; // Number of buttons member in struct:SYS_JoyData_s 62 char hats; // Number of buttons 63 char balls; // Number of buttons 67 int buttoncalc[4]; // Used for buttons 5, 6, 7 and 8. 90 unsigned int buttons; member in struct:_joycfg 119 Uint8 maxbut; /* Maximum number of buttons... */ 199 /* Define number of buttons [all...] |
/external/quake/quake/src/WinQuake/ |
H A D | in_dos.cpp | 42 long buttons;
member in struct:__anon10374 73 long buttons; // r/o
203 regs.x.ax = 3; // read buttons
248 extern_buttonstate = extern_control->buttons;
446 int oldbuttons, buttons;
local 461 buttons = ((dos_inportb(0x201) >> 4)&1)^1;
462 if (buttons != oldbuttons)
464 oldbuttons = buttons;
467 } while ( !buttons);
481 buttons [all...] |
/external/webkit/Tools/DumpRenderTree/qt/ |
H A D | EventSenderQt.cpp | 614 QGraphicsSceneMouseEvent* EventSender::createGraphicsSceneMouseEvent(QEvent::Type type, const QPoint& pos, const QPoint& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) argument 621 event->setButtons(buttons);
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/darwin/ |
H A D | SDL_sysjoystick.c | 86 long buttons; /* number of buttons (calculated, not reported by device) */ member in struct:joystick_hwdata 339 pDevice->buttons++; 712 joystick->nbuttons = device->buttons; 739 for (i = 0; i < device->buttons; i++) 765 if (value > 1) /* handle pressure-sensitive buttons */ 767 if ( value != joystick->buttons[i] )
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/linux/ |
H A D | SDL_sysjoystick.c | 163 axes, hats, balls, buttons 672 /* Get the number of buttons, axes, and other thingamajigs */ 822 /* Get the number of buttons and axes on the joystick */ 868 struct joystick_logical_mapping* buttons; local 878 buttons = SDL_joylist[joystick->index].map->buttonmap+button; 879 logicaljoy = FindLogicalJoystick(joystick, buttons); 884 SDL_PrivateJoystickButton(logicaljoy, buttons->nthing, state);
|
/external/quake/quake/src/QW/client/ |
H A D | protocol.h | 279 byte buttons; member in struct:usercmd_s
|
/external/qemu/ |
H A D | vnc-android.c | 1258 int buttons = 0; local 1262 buttons |= MOUSE_EVENT_LBUTTON; 1264 buttons |= MOUSE_EVENT_MBUTTON; 1266 buttons |= MOUSE_EVENT_RBUTTON; 1275 dz, buttons); 1280 kbd_mouse_event(x, y, dz, buttons); 1285 dz, buttons);
|
H A D | vnc.c | 1252 int buttons = 0; local 1256 buttons |= MOUSE_EVENT_LBUTTON; 1258 buttons |= MOUSE_EVENT_MBUTTON; 1260 buttons |= MOUSE_EVENT_RBUTTON; 1269 dz, buttons); 1274 kbd_mouse_event(x, y, dz, buttons); 1279 dz, buttons);
|
/external/chromium/chrome/browser/automation/ |
H A D | testing_automation_provider.cc | 2339 int buttons = confirm_infobar->GetButtons(); local 2340 if (buttons & ConfirmInfoBarDelegate::BUTTON_OK) { 2346 if (buttons & ConfirmInfoBarDelegate::BUTTON_CANCEL) { 2352 infobar_item->Set("buttons", buttons_list);
|
/external/webkit/Source/WebKit/gtk/webkit/ |
H A D | webkitwebview.cpp | 1157 GtkButtonsType buttons; local 1167 buttons = GTK_BUTTONS_CLOSE; 1172 buttons = GTK_BUTTONS_OK_CANCEL; 1177 buttons = GTK_BUTTONS_OK_CANCEL; 1186 dialog = gtk_message_dialog_new(gtk_widget_is_toplevel(window) ? GTK_WINDOW(window) : 0, GTK_DIALOG_DESTROY_WITH_PARENT, messageType, buttons, "%s", message); 2340 * A JavaScript confirm dialog was created, providing Yes and No buttons.
|