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

1 2 3

  /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/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/webkit/WebCore/platform/haiku/
PlatformMouseEventHaiku.cpp 48 int32 buttons = message->FindInt32("buttons"); local
49 switch (buttons) {
  /packages/apps/Phone/src/com/android/phone/
ButtonGridLayout.java 27 * Create a 4x3 grid of dial buttons.
33 * The horizontal and vertical spacings between buttons are controlled
38 * This class assumes that all the buttons have the same size.
39 * The buttons will be bottom aligned in their view on layout.
42 * size. Then onLayout is invoked to layout the buttons.
44 // TODO: Blindly layout the buttons w/o checking if we overrun the
71 // buttons.
102 * Cache the buttons in a member array for faster access. Compute
103 * the measurements for the width/height of buttons. The inflate
110 final View[] buttons = mButtons local
134 final View[] buttons = mButtons; local
142 final View[] buttons = mButtons; local
    [all...]
  /external/webkit/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))
112 if (me->button() == Qt::LeftButton || (me->buttons() & Qt::LeftButton))
114 else if (me->button() == Qt::RightButton || (me->buttons() & Qt::RightButton))
116 else if (me->button() == Qt::MidButton || (me->buttons() & Qt::MidButton))
  /external/webkit/WebCore/platform/graphics/android/
PlatformGraphicsContext.cpp 33 PlatformGraphicsContext::PlatformGraphicsContext(SkCanvas* canvas, WTF::Vector<Container>* buttons)
34 : mCanvas(canvas), m_deleteCanvas(false), m_buttons(buttons)
PlatformGraphicsContext.h 96 // through the list of buttons.
148 PlatformGraphicsContext(SkCanvas* canvas, WTF::Vector<Container>* buttons);
  /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
SDL_joystick.c 135 joystick->buttons = (Uint8 *)SDL_malloc
141 || ((joystick->nbuttons > 0) && !joystick->buttons)) {
158 if ( joystick->buttons ) {
159 SDL_memset(joystick->buttons, 0,
254 * Get the number of buttons on a joystick
341 state = joystick->buttons[button];
343 SDL_SetError("Joystick only has %d buttons",joystick->nbuttons);
395 if ( joystick->buttons ) {
396 SDL_free(joystick->buttons);
517 joystick->buttons[button] = state
    [all...]
  /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/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/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...]
  /external/quake/quake/src/WinQuake/
in_dos.cpp 42 long buttons; member in struct:__anon7094
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.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...]
  /external/qemu/android/skin/
file.h 48 SkinButton* buttons; member in struct:SkinPart
54 SkinButton* __button = (part)->buttons; \
  /external/qemu/distrib/sdl-1.2.12/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;
  /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);
  /external/webkit/WebKitTools/QtLauncher/
webview.cpp 112 setProperty("mouseButtons", QVariant::fromValue(int(event->buttons())));
120 setProperty("mouseButtons", QVariant::fromValue(int(event->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);
  /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/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/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/
AvdSelector.java 114 * Manager mode. Invalid AVDs are displayed. Buttons to create/delete AVDs
242 Composite buttons = new Composite(group, SWT.NONE); local
243 buttons.setLayout(gl = new GridLayout(1, false /*makeColumnsEqualWidth*/));
245 buttons.setLayoutData(new GridData(GridData.FILL_VERTICAL));
246 buttons.setFont(group.getFont());
249 mNewButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
260 mDeleteButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
271 mRepairButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
282 Label l = new Label(buttons, SWT.SEPARATOR | SWT.HORIZONTAL);
286 mDetailsButton = new Button(buttons, SWT.PUSH | SWT.FLAT)
    [all...]
  /external/quake/quake/src/QW/client/
protocol.h 279 byte buttons; member in struct:usercmd_s
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
SysinfoPanel.java 223 Composite buttons = new Composite(top, SWT.NONE); local
224 buttons.setLayout(new RowLayout());
226 mDisplayMode = new Combo(buttons, SWT.PUSH);
243 final Button loadButton = new Button(buttons, SWT.PUSH);
259 mFetchButton = new Button(buttons, SWT.PUSH);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
ConfigManagerDialog.java 274 Composite buttons = new Composite(parent, SWT.NONE); local
275 buttons.setLayoutData(new GridData(GridData.FILL_VERTICAL));
276 buttons.setLayout(gl = new GridLayout());
279 mNewButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
329 mEditButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
364 mCopyButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
422 mDeleteButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
514 mDeleteButton.setEnabled(enabled); // for delete and copy buttons

Completed in 2312 milliseconds

1 2 3