/external/chromium_org/content/common/ |
D | gamepad_param_traits.cc | 13 using blink::WebGamepad; 33 void ParamTraits<WebGamepad>::Write( in Write() 35 const WebGamepad& p) { in Write() 36 m->WriteData(reinterpret_cast<const char*>(&p), sizeof(WebGamepad)); in Write() 39 bool ParamTraits<WebGamepad>::Read( in Read() 42 WebGamepad* p) { in Read() 45 if (!m->ReadData(iter, &data, &length) || length != sizeof(WebGamepad)) in Read() 47 memcpy(p, data, sizeof(WebGamepad)); in Read() 52 void ParamTraits<WebGamepad>::Log( in Log() 53 const WebGamepad& p, in Log() [all …]
|
D | gamepad_param_traits.h | 14 namespace blink { class WebGamepad; } variable 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);
|
D | gamepad_messages.h | 18 blink::WebGamepad) 22 blink::WebGamepad)
|
/external/chromium_org/content/browser/gamepad/ |
D | 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];
|
D | gamepad_standard_mappings_linux.cc | 12 const blink::WebGamepad& input, in MapperXInputStyleGamepad() 13 blink::WebGamepad* mapped) { in MapperXInputStyleGamepad() 33 const blink::WebGamepad& input, in MapperLakeviewResearch() 34 blink::WebGamepad* mapped) { in MapperLakeviewResearch() 54 const blink::WebGamepad& input, in MapperPlaystationSixAxis() 55 blink::WebGamepad* mapped) { in MapperPlaystationSixAxis() 80 const blink::WebGamepad& input, in MapperDualshock4() 81 blink::WebGamepad* mapped) { in MapperDualshock4() 113 const blink::WebGamepad& input, in MapperXGEAR() 114 blink::WebGamepad* mapped) { in MapperXGEAR() [all …]
|
D | gamepad_standard_mappings_mac.mm | 12 const blink::WebGamepad& input, 13 blink::WebGamepad* mapped) { 33 const blink::WebGamepad& input, 34 blink::WebGamepad* mapped) { 71 const blink::WebGamepad& input, 72 blink::WebGamepad* mapped) { 101 const blink::WebGamepad& input, 102 blink::WebGamepad* mapped) { 114 const blink::WebGamepad& input, 115 blink::WebGamepad* mapped) { [all …]
|
D | gamepad_standard_mappings_win.cc | 12 const blink::WebGamepad& input, in MapperLogitechDualAction() 13 blink::WebGamepad* mapped) { in MapperLogitechDualAction() 26 const blink::WebGamepad& input, in Mapper2Axes8Keys() 27 blink::WebGamepad* mapped) { in Mapper2Axes8Keys() 50 const blink::WebGamepad& input, in MapperDualshock4() 51 blink::WebGamepad* mapped) { in MapperDualshock4() 80 const blink::WebGamepad& input, in MapperOnLiveWireless() 81 blink::WebGamepad* mapped) { in MapperOnLiveWireless()
|
D | gamepad_platform_data_fetcher_android.cc | 24 using blink::WebGamepad; 82 blink::WebGamepad& pad = pads->items[index]; in SetGamepadData() 103 std::min(device_name.size(), WebGamepad::idLengthCap - 1); in SetGamepadData() 111 std::min(mapping_name.size(), WebGamepad::mappingLengthCap - 1); in SetGamepadData() 126 static_cast<int>(WebGamepad::axesLengthCap)); in SetGamepadData() 140 static_cast<int>(WebGamepad::buttonsLengthCap)); in SetGamepadData()
|
D | gamepad_platform_data_fetcher_win.cc | 112 WebGamepad& pad = pads->items[pad_index]; in EnumerateDevices() 131 WebGamepad& pad = pads->items[pad_index]; in EnumerateDevices() 141 swprintf(pad.id, WebGamepad::idLengthCap, in EnumerateDevices() 147 swprintf(pad.mapping, WebGamepad::mappingLengthCap, L"standard"); in EnumerateDevices() 200 WebGamepad* pad) const { in GetXInputPadConnectivity() 211 WebGamepad::idLengthCap, in GetXInputPadConnectivity() 214 swprintf(pad->mapping, WebGamepad::mappingLengthCap, L"standard"); in GetXInputPadConnectivity() 221 WebGamepad* pad) { in GetXInputPadData() 271 WebGamepad* pad) { in GetRawInputPadData() 279 WebGamepad raw_pad = *pad; in GetRawInputPadData()
|
D | 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];
|
D | gamepad_platform_data_fetcher_linux.cc | 67 using blink::WebGamepad; 119 WebGamepad& pad = data_.items[index]; in RefreshDevice() 189 base::TruncateUTF8ToByteSize(id, WebGamepad::idLengthCap - 1, &id); in RefreshDevice() 196 base::TruncateUTF8ToByteSize(mapping, WebGamepad::mappingLengthCap - 1, in RefreshDevice() 245 WebGamepad& pad = data_.items[index]; in ReadDeviceData() 252 if (item >= WebGamepad::axesLengthCap) in ReadDeviceData() 258 if (item >= WebGamepad::buttonsLengthCap) in ReadDeviceData()
|
D | gamepad_standard_mappings.h | 14 const blink::WebGamepad& original, 15 blink::WebGamepad* mapped); 65 void DpadFromAxis(blink::WebGamepad* mapped, float dir);
|
D | gamepad_provider.cc | 24 using blink::WebGamepad; 169 bool GamepadProvider::PadState::Match(const WebGamepad& pad) const { in Match() 177 void GamepadProvider::PadState::SetPad(const WebGamepad& pad) { in SetPad() 194 void GamepadProvider::PadState::AsWebGamepad(WebGamepad* pad) { in AsWebGamepad() 237 WebGamepad& pad = hwbuf->buffer.items[i]; in DoPoll() 244 WebGamepad old_pad; in DoPoll() 275 bool connected, int index, const WebGamepad& pad) { in OnGamepadConnectionChange() 293 bool connected, int index, const WebGamepad& pad) { in DispatchGamepadConnectionChange()
|
D | 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);
|
D | gamepad_service.h | 19 class WebGamepad; variable 77 void OnGamepadConnected(int index, const blink::WebGamepad& pad); 80 void OnGamepadDisconnected(int index, const blink::WebGamepad& pad);
|
D | gamepad_consumer.h | 18 const blink::WebGamepad& gamepad) = 0; 21 const blink::WebGamepad& gamepad) = 0;
|
D | raw_input_data_fetcher_win.cc | 247 swprintf(gamepad_info->id, WebGamepad::idLengthCap, L"Unknown Gamepad"); in ParseGamepadInfo() 282 if (button_caps[i].Range.UsageMin <= WebGamepad::buttonsLengthCap) { in ParseGamepadInfo() 284 std::min(WebGamepad::buttonsLengthCap, in ParseGamepadInfo() 302 if (axis_index < WebGamepad::axesLengthCap) { in ParseGamepadInfo() 318 if (usage >= WebGamepad::axesLengthCap && in ParseGamepadInfo() 321 for (; next_index < WebGamepad::axesLengthCap; ++next_index) { in ParseGamepadInfo() 325 if (next_index < WebGamepad::axesLengthCap) { in ParseGamepadInfo() 334 if (next_index >= WebGamepad::axesLengthCap) in ParseGamepadInfo() 378 button_index < blink::WebGamepad::buttonsLengthCap) in UpdateGamepad()
|
/external/chromium_org/third_party/WebKit/Source/modules/gamepad/ |
D | GamepadDispatcher.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 connecte…
|
D | GamepadDispatcher.cpp | 33 void GamepadDispatcher::didConnectGamepad(unsigned index, const blink::WebGamepad& gamepad) in didConnectGamepad() 38 void GamepadDispatcher::didDisconnectGamepad(unsigned index, const blink::WebGamepad& gamepad) in didDisconnectGamepad() 43 …er::dispatchDidConnectOrDisconnectGamepad(unsigned index, const blink::WebGamepad& gamepad, bool c… in dispatchDidConnectOrDisconnectGamepad()
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebGamepadListener.h | 10 class WebGamepad; variable 14 virtual void didConnectGamepad(unsigned index, const blink::WebGamepad&) = 0; 15 virtual void didDisconnectGamepad(unsigned index, const blink::WebGamepad&) = 0;
|
D | WebGamepad.h | 56 class WebGamepad { 63 WebGamepad() in WebGamepad() function 100 COMPILE_ASSERT(sizeof(WebGamepad) == 721, WebGamepad_has_wrong_size);
|
/external/chromium_org/content/shell/renderer/test_runner/ |
D | gamepad_controller.cc | 19 using blink::WebGamepad; 184 const WebGamepad& pad = gamepads_.items[index]; in DispatchConnected() 192 WebGamepad& pad = gamepads_.items[index]; in Disconnect() 208 for (unsigned i = 0; *p && i < WebGamepad::idLengthCap - 1; ++i) in SetId() 215 if (buttons < 0 || buttons >= static_cast<int>(WebGamepad::buttonsLengthCap)) in SetButtonCount() 223 if (button < 0 || button >= static_cast<int>(WebGamepad::buttonsLengthCap)) in SetButtonData() 232 if (axes < 0 || axes >= static_cast<int>(WebGamepad::axesLengthCap)) in SetAxisCount() 240 if (axis < 0 || axis >= static_cast<int>(WebGamepad::axesLengthCap)) in SetAxisData()
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
D | pepper_gamepad_host_unittest.cc | 87 COMPILE_ASSERT(sizeof(ppapi::WebKitGamepad) == sizeof(blink::WebGamepad), in TEST_F() 90 blink::WebGamepad web_gamepad; in TEST_F() 95 size_t webkit_id_length_cap = blink::WebGamepad::idLengthCap; in TEST_F() 99 size_t webkit_axes_length_cap = blink::WebGamepad::axesLengthCap; in TEST_F() 103 size_t webkit_buttons_length_cap = blink::WebGamepad::buttonsLengthCap; in TEST_F()
|
/external/chromium_org/content/browser/renderer_host/ |
D | gamepad_browser_message_filter.h | 30 const blink::WebGamepad& gamepad) OVERRIDE; 33 const blink::WebGamepad& gamepad) OVERRIDE;
|
/external/chromium_org/content/renderer/ |
D | gamepad_shared_memory_reader.h | 38 void OnGamepadConnected(int index, const blink::WebGamepad& gamepad); 39 void OnGamepadDisconnected(int index, const blink::WebGamepad& gamepad);
|