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

1 2

  /external/chromium_org/third_party/WebKit/public/platform/
WebGamepadListener.h 10 class WebGamepad;
14 virtual void didConnectGamepad(unsigned index, const blink::WebGamepad&) = 0;
15 virtual void didDisconnectGamepad(unsigned index, const blink::WebGamepad&) = 0;
WebGamepad.h 56 class WebGamepad {
63 WebGamepad()
100 COMPILE_ASSERT(sizeof(WebGamepad) == 721, WebGamepad_has_wrong_size);
WebGamepads.h 27 #include "WebGamepad.h"
51 WebGamepad items[itemsLengthCap];
  /external/chromium_org/content/common/
gamepad_param_traits.h 14 namespace blink { class WebGamepad; }
21 struct ParamTraits<blink::WebGamepad> {
22 typedef blink::WebGamepad param_type;
23 static void Write(Message* m, const blink::WebGamepad& p);
26 blink::WebGamepad* p);
27 static void Log(const blink::WebGamepad& p, std::string* l);
gamepad_messages.h 12 #include "third_party/WebKit/public/platform/WebGamepad.h"
18 blink::WebGamepad)
22 blink::WebGamepad)
gamepad_param_traits.cc 11 #include "third_party/WebKit/public/platform/WebGamepad.h"
13 using blink::WebGamepad;
33 void ParamTraits<WebGamepad>::Write(
35 const WebGamepad& p) {
36 m->WriteData(reinterpret_cast<const char*>(&p), sizeof(WebGamepad));
39 bool ParamTraits<WebGamepad>::Read(
42 WebGamepad* p) {
45 if (!m->ReadData(iter, &data, &length) || length != sizeof(WebGamepad))
47 memcpy(p, data, sizeof(WebGamepad));
52 void ParamTraits<WebGamepad>::Log
    [all...]
gamepad_user_gesture.cc 15 const blink::WebGamepad& pad = gamepads.items[i];
  /external/chromium_org/content/browser/gamepad/
gamepad_consumer.h 10 #include "third_party/WebKit/public/platform/WebGamepad.h"
18 const blink::WebGamepad& gamepad) = 0;
21 const blink::WebGamepad& gamepad) = 0;
gamepad_provider.h 78 const blink::WebGamepad& pad);
81 const blink::WebGamepad& pad);
133 bool Match(const blink::WebGamepad& pad) const;
134 void SetPad(const blink::WebGamepad& pad);
136 void AsWebGamepad(blink::WebGamepad* pad);
144 blink::WebUChar id_[blink::WebGamepad::idLengthCap];
145 blink::WebUChar mapping_[blink::WebGamepad::mappingLengthCap];
gamepad_standard_mappings.h 14 const blink::WebGamepad& original,
15 blink::WebGamepad* mapped);
65 void DpadFromAxis(blink::WebGamepad* mapped, float dir);
gamepad_platform_data_fetcher_mac.h 85 IOHIDElementRef button_elements[blink::WebGamepad::buttonsLengthCap];
86 IOHIDElementRef axis_elements[blink::WebGamepad::axesLengthCap];
87 CFIndex axis_minimums[blink::WebGamepad::axesLengthCap];
88 CFIndex axis_maximums[blink::WebGamepad::axesLengthCap];
gamepad_platform_data_fetcher_win.h 60 bool GetXInputPadConnectivity(int i, blink::WebGamepad* pad) const;
62 void GetXInputPadData(int i, blink::WebGamepad* pad);
63 void GetRawInputPadData(int i, blink::WebGamepad* pad);
gamepad_service.h 19 class WebGamepad;
77 void OnGamepadConnected(int index, const blink::WebGamepad& pad);
80 void OnGamepadDisconnected(int index, const blink::WebGamepad& pad);
gamepad_platform_data_fetcher_android.cc 24 using blink::WebGamepad;
82 blink::WebGamepad& pad = pads->items[index];
93 // Map the Gamepad DeviceName String to the WebGamepad Id. Ideally it should
97 // TODO(SaurabhK): Store a cached WebGamePad object in
98 // GamepadPlatformDataFetcherAndroid and only update constant WebGamepad
103 std::min(device_name.size(), WebGamepad::idLengthCap - 1);
111 std::min(mapping_name.size(), WebGamepad::mappingLengthCap - 1);
122 // Set WebGamepad axeslength to total number of axes on the gamepad device.
126 static_cast<int>(WebGamepad::axesLengthCap));
128 // Copy axes state to the WebGamepad axes[]
    [all...]
gamepad_standard_mappings_win.cc 12 const blink::WebGamepad& input,
13 blink::WebGamepad* mapped) {
26 const blink::WebGamepad& input,
27 blink::WebGamepad* mapped) {
50 const blink::WebGamepad& input,
51 blink::WebGamepad* mapped) {
80 const blink::WebGamepad& input,
81 blink::WebGamepad* mapped) {
gamepad_standard_mappings_linux.cc 12 const blink::WebGamepad& input,
13 blink::WebGamepad* mapped) {
33 const blink::WebGamepad& input,
34 blink::WebGamepad* mapped) {
54 const blink::WebGamepad& input,
55 blink::WebGamepad* mapped) {
80 const blink::WebGamepad& input,
81 blink::WebGamepad* mapped) {
113 const blink::WebGamepad& input,
114 blink::WebGamepad* mapped)
    [all...]
gamepad_platform_data_fetcher_win.cc 112 WebGamepad& pad = pads->items[pad_index];
131 WebGamepad& pad = pads->items[pad_index];
141 swprintf(pad.id, WebGamepad::idLengthCap,
147 swprintf(pad.mapping, WebGamepad::mappingLengthCap, L"standard");
200 WebGamepad* pad) const {
211 WebGamepad::idLengthCap,
214 swprintf(pad->mapping, WebGamepad::mappingLengthCap, L"standard");
221 WebGamepad* pad) {
271 WebGamepad* pad) {
279 WebGamepad raw_pad = *pad
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/gamepad/
GamepadDispatcher.h 10 #include "public/platform/WebGamepad.h"
28 blink::WebGamepad pad;
39 virtual void didConnectGamepad(unsigned index, const blink::WebGamepad&) OVERRIDE;
40 virtual void didDisconnectGamepad(unsigned index, const blink::WebGamepad&) OVERRIDE;
46 void dispatchDidConnectOrDisconnectGamepad(unsigned index, const blink::WebGamepad&, bool connected);
GamepadDispatcher.cpp 33 void GamepadDispatcher::didConnectGamepad(unsigned index, const blink::WebGamepad& gamepad)
38 void GamepadDispatcher::didDisconnectGamepad(unsigned index, const blink::WebGamepad& gamepad)
43 void GamepadDispatcher::dispatchDidConnectOrDisconnectGamepad(unsigned index, const blink::WebGamepad& gamepad, bool connected)
NavigatorGamepad.h 37 class WebGamepad;
63 void didConnectOrDisconnectGamepad(unsigned index, const blink::WebGamepad&, bool connected);
  /external/chromium_org/content/browser/renderer_host/
gamepad_browser_message_filter.h 30 const blink::WebGamepad& gamepad) OVERRIDE;
33 const blink::WebGamepad& gamepad) OVERRIDE;
gamepad_browser_message_filter.cc 36 const blink::WebGamepad& gamepad) {
42 const blink::WebGamepad& gamepad) {
  /external/chromium_org/content/renderer/
gamepad_shared_memory_reader.h 38 void OnGamepadConnected(int index, const blink::WebGamepad& gamepad);
39 void OnGamepadDisconnected(int index, const blink::WebGamepad& gamepad);
  /external/chromium_org/content/browser/renderer_host/pepper/
pepper_gamepad_host.h 49 const blink::WebGamepad& gamepad) OVERRIDE {}
52 const blink::WebGamepad& gamepad) OVERRIDE {}
  /external/chromium_org/content/shell/renderer/test_runner/
gamepad_controller.cc 19 using blink::WebGamepad;
184 const WebGamepad& pad = gamepads_.items[index];
192 WebGamepad& pad = gamepads_.items[index];
208 for (unsigned i = 0; *p && i < WebGamepad::idLengthCap - 1; ++i)
215 if (buttons < 0 || buttons >= static_cast<int>(WebGamepad::buttonsLengthCap))
223 if (button < 0 || button >= static_cast<int>(WebGamepad::buttonsLengthCap))
232 if (axes < 0 || axes >= static_cast<int>(WebGamepad::axesLengthCap))
240 if (axis < 0 || axis >= static_cast<int>(WebGamepad::axesLengthCap))

Completed in 1058 milliseconds

1 2