/external/chromium_org/third_party/WebKit/Source/modules/gamepad/ |
H A D | Gamepad.h | 46 const GamepadButtonVector& buttons() const { return m_buttons; } function in class:WebCore::FINAL
|
H A D | WebKitGamepad.h | 26 const FloatVector& buttons() const { return m_buttons; } function in class:WebCore::FINAL
|
/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/ |
H A D | constrained_window_alert.h | 13 // (close button on top right, WebUI style buttons, etc...). The alert can be 30 @property(nonatomic, readonly) NSArray* buttons; variable 37 // Adds a button with the given |title|. Newly added buttons are positioned in 45 // positioned above the buttons. If |text| is empty, no link is displayed.
|
/external/qemu/distrib/sdl-1.2.15/src/joystick/ |
H A D | 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/ppapi/c/ |
H A D | 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/ |
H A D | WebGamepad.h | 89 // Number of valid entries in the buttons array. 93 WebGamepadButton buttons[buttonsLengthCap]; member in class:blink::WebGamepad
|
/external/qemu/distrib/sdl-1.2.15/src/joystick/riscos/ |
H A D | 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/browser/gamepad/ |
H A D | 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];
|
H A D | raw_input_data_fetcher_win.h | 48 bool buttons[blink::WebGamepad::buttonsLengthCap]; member in struct:content::RawGamepadInfo
|
H A D | xbox_data_fetcher_mac.h | 64 bool buttons[15]; member in struct:XboxController::Data
|
/external/chromium_org/ppapi/shared_impl/ |
H A D | ppb_gamepad_shared.h | 49 // Number of valid entries in the buttons array. 52 // Normalized values representing buttons, in the range [0..1]. 53 WebKitGamepadButton buttons[kButtonsLengthCap]; member in struct:ppapi::WebKitGamepad
|
/external/qemu/distrib/sdl-1.2.15/src/joystick/beos/ |
H A D | 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/dc/ |
H A D | 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 [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
H A D | 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", [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/dc/ |
H A D | 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.15/src/video/ggi/ |
H A D | SDL_ggievents.c | 62 static int buttons = 0; local
|
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/ |
H A D | SDL_vglevents.c | 101 char buttons; local 109 buttons = mouseinfo.u.data.buttons; 119 state_changed = button_state ^ buttons; 122 if (buttons & (1<<i)) {
|
/external/chromium_org/chrome/browser/chromeos/ui/ |
H A D | echo_dialog_view.cc | 109 int buttons = ui::DIALOG_BUTTON_NONE; local 111 buttons |= ui::DIALOG_BUTTON_OK; 113 buttons |= ui::DIALOG_BUTTON_CANCEL; 114 return buttons;
|
/external/chromium_org/ui/message_center/views/ |
H A D | notifier_settings_view_unittest.cc | 102 const std::set<NotifierSettingsView::NotifierButton*> buttons = local 104 EXPECT_EQ(2u, buttons.size()); 107 buttons.begin(); 108 for (; iter != buttons.end(); ++iter) {
|
/external/chromium_org/ash/frame/caption_buttons/ |
H A D | frame_caption_button_container_view.cc | 52 // Insert the buttons left to right. 84 FrameCaptionButton* buttons[] = { local 87 for (size_t i = 0; i < arraysize(buttons); ++i) { 88 if (buttons[i]->icon() == icon) { 89 buttons[i]->SetImages(icon, 243 // Since the buttons all have the same size, the closest button is the button 245 // TODO(pkotwicz): Make the caption buttons not overlap. 249 FrameCaptionButton* buttons[] = { local 254 for (size_t i = 0; i < arraysize(buttons); ++i) { 255 FrameCaptionButton* button = buttons[ 275 FrameCaptionButton* buttons[] = { local [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/appmenu/ |
H A D | 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[ 385 public ImageButton[] buttons = new ImageButton[3]; field in class:AppMenuAdapter.ThreeButtonMenuItemViewHolder 389 public ImageButton[] buttons = new ImageButton[4]; field in class:AppMenuAdapter.FourButtonMenuItemViewHolder [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
H A D | GamepadList.java | 329 boolean connected, String devicename, long timestamp, float[] axes, float[] buttons); 328 nativeSetGamepadData(long webGamepadsPtr, int index, boolean mapping, boolean connected, String devicename, long timestamp, float[] axes, float[] buttons) argument
|
/external/chromium_org/content/shell/renderer/test_runner/ |
H A D | gamepad_controller.cc | 45 void SetButtonCount(int index, int buttons); 118 void GamepadControllerBindings::SetButtonCount(int index, int buttons) { argument 120 controller_->SetButtonCount(index, buttons); 212 void GamepadController::SetButtonCount(int index, int buttons) { argument 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;
|
/external/chromium_org/ppapi/tests/ |
H A D | test_input_event.cc | 127 PP_InputEvent_MouseButton buttons) { 133 buttons, 125 CreateMouseEvent( PP_InputEvent_Type type, PP_InputEvent_MouseButton buttons) argument
|
/external/chromium_org/ui/app_list/views/ |
H A D | page_switcher.cc | 113 // Gets PageSwitcherButton at |index| in |buttons|. 114 PageSwitcherButton* GetButtonByIndex(views::View* buttons, int index) { argument 115 return static_cast<PageSwitcherButton*>(buttons->child_at(index));
|