HomeSort by relevance Sort by last modified time
    Searched refs:buttons (Results 1 - 25 of 104) sorted by null

1 2 3 4 5

  /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.15/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.15/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;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
NotificationPanelTitle.java 34 private ArrayList<View> buttons; field in class:NotificationPanelTitle
39 buttons = new ArrayList<View>();
50 buttons.add(mSettingsButton = findViewById(R.id.settings_button));
51 buttons.add(findViewById(R.id.notification_button));
57 for (View button : buttons) {
  /external/webkit/Source/WebCore/platform/qt/
PlatformMouseEventQt.cpp 58 if (event->button() == Qt::LeftButton || (event->buttons() & Qt::LeftButton))
60 else if (event->button() == Qt::RightButton || (event->buttons() & Qt::RightButton))
62 else if (event->button() == Qt::MidButton || (event->buttons() & Qt::MidButton))
113 if (me->button() == Qt::LeftButton || (me->buttons() & Qt::LeftButton))
115 else if (me->button() == Qt::RightButton || (me->buttons() & Qt::RightButton))
117 else if (me->button() == Qt::MidButton || (me->buttons() & Qt::MidButton))
  /external/qemu/distrib/sdl-1.2.15/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
SDL_joystick.c 141 joystick->buttons = (Uint8 *)SDL_malloc
147 || ((joystick->nbuttons > 0) && !joystick->buttons)) {
165 if ( joystick->buttons ) {
166 SDL_memset(joystick->buttons, 0,
256 * Get the number of buttons on a joystick
343 state = joystick->buttons[button];
345 SDL_SetError("Joystick only has %d buttons",joystick->nbuttons);
394 if ( joystick->buttons ) {
395 SDL_free(joystick->buttons);
550 joystick->buttons[button] = state
    [all...]
  /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.15/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.15/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/quake/quake/src/WinQuake/
in_dos.cpp 42 long buttons; member in struct:__anon14524
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...]
  /external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
SDL_sysevents.cc 251 int32 buttons; local
253 if (msg->FindInt32("buttons", &buttons) == B_OK) {
255 if (buttons & B_PRIMARY_MOUSE_BUTTON) {
258 if (buttons & B_SECONDARY_MOUSE_BUTTON) {
261 if (buttons & B_TERTIARY_MOUSE_BUTTON) {
266 last_buttons = buttons;
274 only state of buttons (after release, so it's always = 0),
282 int32 buttons; local
284 if (msg->FindInt32("buttons", &buttons) == B_OK)
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/tool/commands/data/rebaselineserver/
main.css 118 #nav-buttons {
122 #nav-buttons button {
128 #nav-buttons button:active {
133 #nav-buttons button[disabled] {
237 #action-buttons {
241 #action-buttons .link {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorPickerDialog.java 76 void toggleClick(ToggleButton v, int[] buttons, boolean isChecked) {
82 for (int i = 0; i < buttons.length; i++) {
83 if (id != buttons[i]) {
84 ToggleButton b = (ToggleButton) findViewById(buttons[i]);
  /external/qemu/distrib/sdl-1.2.15/src/video/qtopia/
SDL_sysevents.cc 56 uint32 buttons;
64 /* Check out the mouse buttons and position (slight race condition) */
77 view->GetMouse(&point, &buttons, true);
81 buttons = last_buttons;
134 if ( (buttons ^ last_buttons) & button_masks[i] ) {
135 if ( buttons & button_masks[i] ) {
142 last_buttons = buttons;
  /external/qemu/android/skin/
file.h 49 SkinButton* buttons; member in struct:SkinPart
55 SkinButton* __button = (part)->buttons; \
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/
LibraryProperties.java 157 Composite buttons = new Composite(mTop, SWT.NONE); local
158 buttons.setLayout(new GridLayout());
159 buttons.setLayoutData(new GridData(GridData.FILL_VERTICAL));
163 mAddButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
183 mRemoveButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
199 Label l = new Label(buttons, SWT.SEPARATOR | SWT.HORIZONTAL);
202 mUpButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
222 mDownButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
  /external/qemu/distrib/sdl-1.2.15/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/qemu/distrib/sdl-1.2.15/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)) {
  /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();
  /external/webkit/Tools/CSSTestSuiteHarness/harness/
harness.css 81 .action-buttons {
295 .overlay-contents .buttons {
303 .overlay-contents .buttons button {
  /sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ddms/
StaticPortConfigDialog.java 139 // center part with the list on the left and the buttons
163 // right part: buttons
164 Composite buttons = new Composite(main, SWT.NONE); local
165 buttons.setLayoutData(new GridData(GridData.FILL_VERTICAL));
166 buttons.setLayout(new GridLayout(1, true));
168 Button newButton = new Button(buttons, SWT.NONE);
187 final Button editButton = new Button(buttons, SWT.NONE);
211 final Button deleteButton = new Button(buttons, SWT.NONE);
  /external/quake/quake/src/QW/client/
protocol.h 279 byte buttons; member in struct:usercmd_s
  /prebuilts/gcc/linux-x86/host/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
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/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

Completed in 2058 milliseconds

1 2 3 4 5