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

1 2 3 4 5 6 7 8

  /external/chromium_org/content/browser/gamepad/
gamepad_standard_mappings_linux.cc 29 mapped->buttons[kButtonLeftTrigger] = AxisToButton(input.axes[2]);
30 mapped->buttons[kButtonRightTrigger] = AxisToButton(input.axes[5]);
31 mapped->buttons[kButtonBackSelect] = input.buttons[6];
32 mapped->buttons[kButtonStart] = input.buttons[7];
33 mapped->buttons[kButtonLeftThumbstick] = input.buttons[9];
34 mapped->buttons[kButtonRightThumbstick] = input.buttons[10]
    [all...]
gamepad_standard_mappings_win.cc 30 mapped->buttons[0] = input.buttons[1];
31 mapped->buttons[1] = input.buttons[2];
32 mapped->buttons[2] = input.buttons[0];
33 mapped->buttons[12] = input.buttons[16];
34 mapped->buttons[13] = input.buttons[17]
    [all...]
gamepad_platform_data_fetcher_win.cc 109 char buttons[24]; member in struct:content::__anon10009::JoyData
129 {&GUID_Button, FIELD_OFFSET(JoyData, buttons) + i, \
386 #define ADD(b) pad->buttons[pad->buttonsLength++] = \
394 pad->buttons[pad->buttonsLength++] = state.Gamepad.bLeftTrigger / 255.0;
395 pad->buttons[pad->buttonsLength++] = state.Gamepad.bRightTrigger / 255.0;
446 raw.buttons[i] = (state.buttons[i] & 0x80) ? 1.0 : 0.0;
448 // We map the POV (often a D-pad) into the buttons 16-19.
454 raw.buttons[19] = 1.0;
456 raw.buttons[19] = 0.0
    [all...]
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
HierarchicalMove.java 32 Button[] buttons = new Button[6]; field in class:HierarchicalMove
45 buttons[0] = (Button) findViewById(R.id.button0);
46 buttons[1] = (Button) findViewById(R.id.button1);
47 buttons[2] = (Button) findViewById(R.id.button2);
48 buttons[3] = (Button) findViewById(R.id.button3);
49 buttons[4] = (Button) findViewById(R.id.button4);
50 buttons[5] = (Button) findViewById(R.id.button5);
52 // Move button0, then buttons 1/2 together, then buttons 3/4/5 sequentially:
67 move0.addTarget(buttons[0])
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/
style.css 19 #calculator-buttons {
28 #calculator-buttons div {
35 #calculator-buttons button {
42 #calculator-buttons button {
49 #calculator-buttons button {
55 #calculator-buttons button.add {
60 #calculator-buttons button.add[data-active="touch"],
61 #calculator-buttons button.add[data-active="mouse"]:active {
65 #calculator-buttons button.clear {
69 #calculator-buttons button.clear[data-active="touch"]
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/gamepad/
Gamepad.idl 33 readonly attribute float[] buttons;
Gamepad.h 58 const FloatVector& buttons() const { return m_buttons; } function in class:WebCore::Gamepad
59 void buttons(unsigned count, float* data);
Gamepad.cpp 46 void Gamepad::buttons(unsigned count, float* data) function in class:WebCore::Gamepad
  /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/chromium_org/ppapi/shared_impl/
ppb_gamepad_shared.cc 23 COMPILE_ASSERT(sizeof(output_pad.buttons) == sizeof(webkit_pad.buttons),
30 memcpy(output_pad.buttons,
31 webkit_pad.buttons,
32 sizeof(output_pad.buttons));
ppb_gamepad_shared.h 43 // Number of valid entries in the buttons array.
46 // Normalized values representing buttons, in the range [0..1].
47 float buttons[kButtonsLengthCap]; member in struct:ppapi::WebKitGamepad
  /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;
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
StatusBarButton.js 259 var buttons = buttonsProvider();
263 buttons.push(mainButtonClone);
269 var optionsBarElement = optionsGlassPane.element.createChild("div", "alternate-status-bar-buttons-bar");
271 optionsBarElement.style.height = (buttonHeight * buttons.length) + "px";
276 for (var i = 0; i < buttons.length; ++i) {
277 buttons[i].element.addEventListener("mousemove", boundMouseOver, false);
278 buttons[i].element.addEventListener("mouseout", boundMouseOut, false);
279 optionsBarElement.appendChild(buttons[i].element);
281 buttons[buttons.length - 1].element.addStyleClass("emulate-active")
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/chromium/
GamepadsChromium.cpp 52 gamepad->buttons(webGamepad.buttonsLength, webGamepad.buttons);
  /external/chromium_org/content/common/
gamepad_user_gesture.cc 17 // If the device is physically connected, then check the primary 4 buttons
25 if (pad.buttons[button_index] > 0.5f)
  /external/chromium_org/ppapi/c/
ppb_gamepad.h 44 * Number of valid elements in the |buttons| array.
48 * Normalized values for the buttons, indices valid up to |buttons_length|
51 float buttons[32]; member in struct:PP_GamepadSampleData
  /external/chromium_org/third_party/WebKit/public/platform/
WebGamepad.h 71 // Number of valid entries in the buttons array.
74 // Normalized values representing buttons, in the range [0..1].
75 float buttons[buttonsLengthCap]; member in class:WebKit::WebGamepad
  /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
  /external/chromium_org/content/shell/
shell_javascript_dialog_gtk.cc 45 GtkButtonsType buttons = GTK_BUTTONS_NONE; local
50 buttons = GTK_BUTTONS_NONE;
55 buttons = GTK_BUTTONS_CANCEL;
60 buttons = GTK_BUTTONS_CANCEL;
71 buttons,
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
ModalDialogTest.java 92 * Verifies that modal confirm-dialogs display, two buttons are visible and
105 Button[] buttons = getAlertDialogButtons(jsDialog.getDialogForTest()); local
106 assertNotNull("No cancel button in confirm dialog.", buttons[0]);
107 assertEquals("Cancel button is not visible.", View.VISIBLE, buttons[0].getVisibility());
108 if (buttons[1] != null) {
110 View.VISIBLE, buttons[1].getVisibility());
112 assertNotNull("No OK button in confirm dialog.", buttons[2]);
113 assertEquals("OK button is not visible.", View.VISIBLE, buttons[2].getVisibility());
329 * Returns an array of the 3 buttons for this dialog, in the order
337 final Button[] buttons = new Button[3]
    [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/chromium_org/chrome/browser/ui/gtk/
javascript_app_modal_dialog_gtk.cc 54 GtkButtonsType buttons = GTK_BUTTONS_NONE; local
61 buttons = GTK_BUTTONS_NONE;
68 // buttons. We add the buttons using gtk_dialog_add_button below.
69 buttons = GTK_BUTTONS_NONE;
71 buttons = GTK_BUTTONS_CANCEL;
77 buttons = GTK_BUTTONS_CANCEL;
90 GTK_DIALOG_MODAL, message_type, buttons, "%s",
122 // 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/chromium-trace/trace-viewer/src/ui/
info_bar.css 26 info-bar > .buttons {

Completed in 1146 milliseconds

1 2 3 4 5 6 7 8