/external/webkit/Source/WebCore/platform/haiku/ |
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/ |
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/ |
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/chromium/chrome/browser/ui/gtk/ |
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.
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/beos/ |
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/ |
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&CONT_DPAD2_UP) hat|=SDL_HAT_UP [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
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", &buttons) == B_OK) [all...] |
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/ |
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/ |
SDL_ggievents.c | 62 static int buttons = 0; local
|
/external/qemu/distrib/sdl-1.2.12/src/video/vgl/ |
SDL_vglevents.c | 101 char buttons; local 109 buttons = mouseinfo.u.data.buttons; 119 state_changed = button_state ^ buttons; 122 if (buttons & (1<<i)) {
|
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/ |
CaptureDisplay.java | 103 Composite buttons = new Composite(sButtonBar, SWT.NONE); local 104 buttons.setLayout(new FillLayout()); 106 sOnWhite = new Button(buttons, SWT.TOGGLE); 108 sOnBlack = new Button(buttons, SWT.TOGGLE);
|
/sdk/ddms/app/src/com/android/ddms/ |
StaticPortConfigDialog.java | 137 // center part with the list on the left and the buttons 161 // right part: buttons 162 Composite buttons = new Composite(main, SWT.NONE); local 163 buttons.setLayoutData(new GridData(GridData.FILL_VERTICAL)); 164 buttons.setLayout(new GridLayout(1, true)); 166 Button newButton = new Button(buttons, SWT.NONE); 185 final Button editButton = new Button(buttons, SWT.NONE); 209 final Button deleteButton = new Button(buttons, SWT.NONE);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigManagerDialog.java | 273 Composite buttons = new Composite(parent, SWT.NONE); local 274 buttons.setLayoutData(new GridData(GridData.FILL_VERTICAL)); 275 buttons.setLayout(gl = new GridLayout()); 278 mNewButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 328 mEditButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 363 mCopyButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 421 mDeleteButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 512 mDeleteButton.setEnabled(enabled); // for delete and copy buttons
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/ |
LibraryProperties.java | 154 Composite buttons = new Composite(mTop, SWT.NONE); local 155 buttons.setLayout(new GridLayout()); 156 buttons.setLayoutData(new GridData(GridData.FILL_VERTICAL)); 160 mAddButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 180 mRemoveButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 196 Label l = new Label(buttons, SWT.SEPARATOR | SWT.HORIZONTAL); 199 mUpButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 219 mDownButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
|
/packages/apps/Calculator/src/com/android/calculator2/ |
Calculator.java | 73 final TypedArray buttons = getResources().obtainTypedArray(R.array.buttons); local 74 for (int i = 0; i < buttons.length(); i++) { 75 setOnClickListener(null, buttons.getResourceId(i, 0)); 77 buttons.recycle();
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
SysinfoPanel.java | 232 Composite buttons = new Composite(top, SWT.NONE); local 233 buttons.setLayout(new RowLayout()); 235 mDisplayMode = new Combo(buttons, SWT.PUSH); 252 final Button loadButton = new Button(buttons, SWT.PUSH); 268 mFetchButton = new Button(buttons, SWT.PUSH);
|
/external/qemu/android/skin/ |
file.h | 49 SkinButton* buttons; member in struct:SkinPart 55 SkinButton* __button = (part)->buttons; \
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
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, 0, 0) [all...] |
/external/quake/quake/src/WinQuake/ |
in_dos.cpp | 42 long buttons;
member in struct:__anon10776 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 = ((dos_inportb(0x201) >> 4)&1)^1; [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
joystick.h | 63 #define JSIOCGBUTTONS _IOR('j', 0x12, __u8) /* get number of buttons */ 114 __s32 buttons; member in struct:JS_DATA_TYPE
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/os2/ |
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... 8 if 2 axes, 6 if 3 axes and 4 if 4 axes * [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/ |
AvdSelector.java | 116 * Manager mode. Invalid AVDs are displayed. Buttons to create/delete AVDs 244 Composite buttons = new Composite(group, SWT.NONE); local 245 buttons.setLayout(gl = new GridLayout(1, false /*makeColumnsEqualWidth*/)); 247 buttons.setLayoutData(new GridData(GridData.FILL_VERTICAL)); 248 buttons.setFont(group.getFont()); 251 mNewButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 262 mEditButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 273 mDeleteButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 284 mRepairButton = new Button(buttons, SWT.PUSH | SWT.FLAT); 295 Label l = new Label(buttons, SWT.SEPARATOR | SWT.HORIZONTAL) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/joystick/darwin/ |
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] )
|
/frameworks/base/core/tests/coretests/src/android/accessibilityservice/ |
InterrogationActivityTest.java | 128 List<AccessibilityNodeInfo> buttons = AccessibilityInteractionClient.getInstance() local 130 assertEquals(9, buttons.size()); 147 List<AccessibilityNodeInfo> buttons = AccessibilityInteractionClient.getInstance() local 150 assertEquals(1, buttons.size());
|