Home
last modified time | relevance | path

Searched refs:gamepads (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/gamepad/
DNavigatorGamepad.cpp57 blink::WebGamepads gamepads; in sampleGamepads() local
59 GamepadDispatcher::instance().sampleGamepads(gamepads); in sampleGamepads()
62 blink::WebGamepad& webGamepad = gamepads.items[i]; in sampleGamepads()
63 if (i < gamepads.length && webGamepad.connected) { in sampleGamepads()
100 return NavigatorGamepad::from(navigator).gamepads(); in getGamepads()
114 GamepadList* NavigatorGamepad::gamepads() in gamepads() function in WebCore::NavigatorGamepad
DGamepadDispatcher.cpp20 void GamepadDispatcher::sampleGamepads(blink::WebGamepads& gamepads) in sampleGamepads() argument
22 blink::Platform::current()->sampleGamepads(gamepads); in sampleGamepads()
DNavigatorGamepad.h59 GamepadList* gamepads();
/external/chromium_org/content/renderer/
Dgamepad_shared_memory_reader.cc60 void GamepadSharedMemoryReader::SampleGamepads(blink::WebGamepads& gamepads) { in SampleGamepads() argument
104 memcpy(&gamepads, &read_into, sizeof(gamepads)); in SampleGamepads()
112 gamepads.items[i].connected = false; in SampleGamepads()
Dgamepad_shared_memory_reader.h30 blink::WebGamepads& gamepads) OVERRIDE;
Drenderer_webkitplatformsupport_impl.cc892 void RendererWebKitPlatformSupportImpl::sampleGamepads(WebGamepads& gamepads) { in sampleGamepads() argument
894 gamepad_provider_->SampleGamepads(gamepads); in sampleGamepads()
/external/chromium_org/content/common/
Dgamepad_user_gesture.cc13 bool GamepadsHaveUserGesture(const blink::WebGamepads& gamepads) { in GamepadsHaveUserGesture() argument
15 const blink::WebGamepad& pad = gamepads.items[i]; in GamepadsHaveUserGesture()
Dgamepad_user_gesture.h16 bool GamepadsHaveUserGesture(const blink::WebGamepads& gamepads);
/external/chromium_org/content/browser/gamepad/
Dgamepad_platform_data_fetcher_android.cc67 jlong gamepads, in SetGamepadData() argument
75 DCHECK(gamepads); in SetGamepadData()
76 blink::WebGamepads* pads = reinterpret_cast<WebGamepads*>(gamepads); in SetGamepadData()
Dgamepad_service.cc132 blink::WebGamepads gamepads; in OnUserGesture() local
133 provider_->GetCurrentGamepadData(&gamepads); in OnUserGesture()
135 const blink::WebGamepad& pad = gamepads.items[i]; in OnUserGesture()
/external/chromium_org/ppapi/api/
Dppb_gamepad.idl66 * The data for all gamepads connected to the system.
91 * Samples the current state of the available gamepads.
/external/chromium_org/content/public/renderer/
Drenderer_gamepad_provider.h19 virtual void SampleGamepads(blink::WebGamepads& gamepads) = 0;
/external/chromium_org/content/shell/renderer/test_runner/
Dgamepad_controller.h36 blink::WebGamepads& gamepads) OVERRIDE;
Dgamepad_controller.cc160 void GamepadController::SampleGamepads(blink::WebGamepads& gamepads) { in SampleGamepads() argument
161 memcpy(&gamepads, &gamepads_, sizeof(blink::WebGamepads)); in SampleGamepads()