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

1 2 3 4 5 6 7 8 910

  /external/chromium_org/content/browser/gamepad/
gamepad_standard_mappings_linux.cc 15 mapped->buttons[kButtonLeftTrigger] = AxisToButton(input.axes[2]);
16 mapped->buttons[kButtonRightTrigger] = AxisToButton(input.axes[5]);
17 mapped->buttons[kButtonBackSelect] = input.buttons[6];
18 mapped->buttons[kButtonStart] = input.buttons[7];
19 mapped->buttons[kButtonLeftThumbstick] = input.buttons[9];
20 mapped->buttons[kButtonRightThumbstick] = input.buttons[10]
    [all...]
gamepad_standard_mappings_win.cc 15 mapped->buttons[kButtonPrimary] = input.buttons[1];
16 mapped->buttons[kButtonSecondary] = input.buttons[2];
17 mapped->buttons[kButtonTertiary] = input.buttons[0];
29 mapped->buttons[kButtonPrimary] = input.buttons[2];
30 mapped->buttons[kButtonSecondary] = input.buttons[1]
    [all...]
gamepad_standard_mappings.cc 50 mapped->buttons[kButtonDpadUp].pressed = up;
51 mapped->buttons[kButtonDpadUp].value = up ? 1.f : 0.f;
52 mapped->buttons[kButtonDpadRight].pressed = right;
53 mapped->buttons[kButtonDpadRight].value = right ? 1.f : 0.f;
54 mapped->buttons[kButtonDpadDown].pressed = down;
55 mapped->buttons[kButtonDpadDown].value = down ? 1.f : 0.f;
56 mapped->buttons[kButtonDpadLeft].pressed = left;
57 mapped->buttons[kButtonDpadLeft].value = left ? 1.f : 0.f;
gamepad_provider_unittest.cc 74 test_data.items[0].buttons[0].value = 1.f;
75 test_data.items[0].buttons[0].pressed = true;
106 EXPECT_EQ(1.f, output.items[0].buttons[0].value);
107 EXPECT_EQ(true, output.items[0].buttons[0].pressed);
121 no_button_data.items[0].buttons[0].value = 0.f;
122 no_button_data.items[0].buttons[0].pressed = false;
127 button_down_data.items[0].buttons[0].value = 1.f;
128 button_down_data.items[0].buttons[0].pressed = true;
xbox_data_fetcher_mac.cc 174 normalized_data->buttons[0] = data.a;
175 normalized_data->buttons[1] = data.b;
176 normalized_data->buttons[2] = data.x;
177 normalized_data->buttons[3] = data.y;
178 normalized_data->buttons[4] = data.bumper_left;
179 normalized_data->buttons[5] = data.bumper_right;
180 normalized_data->buttons[6] = data.back;
181 normalized_data->buttons[7] = data.start;
182 normalized_data->buttons[8] = data.stick_left_click;
183 normalized_data->buttons[9] = data.stick_right_click
    [all...]
gamepad_platform_data_fetcher_android.cc 133 std::vector<float> buttons; local
134 base::android::JavaFloatArrayToFloatVector(env, jbuttons, &buttons);
139 pad.buttonsLength = std::min(static_cast<int>(buttons.size()),
142 // Copy buttons state to the WebGamepad buttons[].
144 pad.buttons[j].pressed = buttons[j];
145 pad.buttons[j].value = buttons[j];
  /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/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/third_party/WebKit/Source/modules/gamepad/
Gamepad.idl 35 readonly attribute GamepadButton[] buttons;
Gamepad.h 46 const GamepadButtonVector& buttons() const { return m_buttons; } function in class:WebCore::FINAL
WebKitGamepad.h 26 const FloatVector& buttons() const { return m_buttons; } function in class:WebCore::FINAL
  /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/content/common/
gamepad_param_traits.cc 71 for (size_t i = 0; i < arraysize(p.buttons); ++i) {
73 p.buttons[i].pressed, p.buttons[i].value,
74 i < (arraysize(p.buttons) - 1) ? ", " : "], "));
gamepad_user_gesture.cc 17 // If the device is physically connected, then check the primary 4 buttons
25 if (pad.buttons[button_index].pressed)
  /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/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/chrome/android/java/src/org/chromium/chrome/browser/appmenu/
AppMenuAdapter.java 42 * Menu item that has two buttons, the first one is a title and the second one is an icon.
43 * It is different from the regular menu item because it contains two separate buttons.
47 * Menu item that has three buttons. Every one of these buttons is displayed as an icon.
51 * Menu item that has four buttons. Every one of these buttons is displayed as an icon.
55 * Menu item that has two buttons, the first one is a title and the second is a menu icon.
172 holder.buttons[0] = (ImageButton) convertView.findViewById(R.id.button_one);
173 holder.buttons[1] = (ImageButton) convertView.findViewById(R.id.button_two);
174 holder.buttons[2] = (ImageButton) convertView.findViewById(R.id.button_three)
    [all...]
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
ModalDialogTest.java 93 * Verifies that modal confirm-dialogs display, two buttons are visible and
106 Button[] buttons = getAlertDialogButtons(jsDialog.getDialogForTest()); local
107 assertNotNull("No cancel button in confirm dialog.", buttons[0]);
108 assertEquals("Cancel button is not visible.", View.VISIBLE, buttons[0].getVisibility());
109 if (buttons[1] != null) {
111 View.VISIBLE, buttons[1].getVisibility());
113 assertNotNull("No OK button in confirm dialog.", buttons[2]);
114 assertEquals("OK button is not visible.", View.VISIBLE, buttons[2].getVisibility());
328 * Returns an array of the 3 buttons for this dialog, in the order
336 final Button[] buttons = new Button[3]
    [all...]
  /external/chromium_org/ui/events/ozone/evdev/libgestures_glue/
gesture_interpreter_libevdev_cros.cc 151 // Buttons.
171 OnGestureButtonsChange(gesture, &gesture->details.buttons);
235 const GestureButtonsChange* buttons) {
237 buttons->down,
238 buttons->up);
239 // TODO(spang): Use buttons->start_time, buttons->end_time
240 if (buttons->down & GESTURES_BUTTON_LEFT)
242 if (buttons->down & GESTURES_BUTTON_MIDDLE)
244 if (buttons->down & GESTURES_BUTTON_RIGHT
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
StatusBarButton.js 366 var buttons = this._longClickOptionsData.buttonsProvider();
370 buttons.push(mainButtonClone);
375 var optionsBarElement = optionsGlassPane.element.createChild("div", "alternate-status-bar-buttons-bar");
380 var topNotBottom = hostButtonPosition.top + buttonHeight * buttons.length < document.documentElement.offsetHeight;
383 buttons = buttons.reverse();
385 optionsBarElement.style.height = (buttonHeight * buttons.length) + "px";
389 optionsBarElement.style.top = (hostButtonPosition.top - (buttonHeight * (buttons.length - 1))) + "px";
392 for (var i = 0; i < buttons.length; ++i) {
393 buttons[i].element.addEventListener("mousemove", mouseOver, false)
    [all...]
  /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/chromium_org/chrome/browser/resources/user_manager/
user_manager_tutorial.css 88 .slide-buttons {
95 .slide-buttons .link-button {
99 .slide-buttons button {
106 .slide-buttons button.left {
111 html[dir=rtl] .slide-buttons button.left {
115 .slide-buttons button.right {
  /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_org/content/shell/renderer/test_runner/
gamepad_controller.cc 45 void SetButtonCount(int index, int buttons);
118 void GamepadControllerBindings::SetButtonCount(int index, int buttons) {
120 controller_->SetButtonCount(index, buttons);
212 void GamepadController::SetButtonCount(int index, int buttons) {
215 if (buttons < 0 || buttons >= static_cast<int>(WebGamepad::buttonsLengthCap))
217 gamepads_.items[index].buttonsLength = buttons;
225 gamepads_.items[index].buttons[button].value = data;
226 gamepads_.items[index].buttons[button].pressed = data > 0.1f;

Completed in 809 milliseconds

1 2 3 4 5 6 7 8 910