Searched defs:gamepads (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/content/common/
H A Dgamepad_user_gesture.cc13 bool GamepadsHaveUserGesture(const blink::WebGamepads& gamepads) { argument
15 const blink::WebGamepad& pad = gamepads.items[i];
/external/chromium_org/third_party/WebKit/Source/modules/gamepad/
H A DGamepadDispatcher.cpp20 void GamepadDispatcher::sampleGamepads(WebGamepads& gamepads) argument
22 Platform::current()->sampleGamepads(gamepads);
H A DNavigatorGamepad.cpp57 WebGamepads gamepads; local
59 GamepadDispatcher::instance().sampleGamepads(gamepads);
62 WebGamepad& webGamepad = gamepads.items[i];
63 if (i < gamepads.length && webGamepad.connected) {
100 return NavigatorGamepad::from(navigator).gamepads();
114 GamepadList* NavigatorGamepad::gamepads() function in class:blink::NavigatorGamepad
139 // We register to the dispatcher before sampling gamepads so we need to check if we actually have an event listener.
274 gamepads();
/external/chromium_org/content/browser/gamepad/
H A Dgamepad_platform_data_fetcher_android.cc67 jlong gamepads,
75 DCHECK(gamepads);
76 blink::WebGamepads* pads = reinterpret_cast<WebGamepads*>(gamepads);
65 SetGamepadData(JNIEnv* env, jobject obj, jlong gamepads, jint index, jboolean mapping, jboolean connected, jstring devicename, jlong timestamp, jfloatArray jaxes, jfloatArray jbuttons) argument
H A Dgamepad_service.cc149 blink::WebGamepads gamepads; local
150 provider_->GetCurrentGamepadData(&gamepads);
152 const blink::WebGamepad& pad = gamepads.items[i];
/external/chromium_org/content/renderer/
H A Dgamepad_shared_memory_reader.cc55 void GamepadSharedMemoryReader::SampleGamepads(blink::WebGamepads& gamepads) { argument
95 memcpy(&gamepads, &read_into, sizeof(gamepads));
99 // gamepads to prevent fingerprinting. The actual data is not cleared.
101 // gamepads so this is sufficient.
103 gamepads.items[i].connected = false;
H A Drenderer_webkitplatformsupport_impl.cc870 void RendererWebKitPlatformSupportImpl::sampleGamepads(WebGamepads& gamepads) { argument
875 static_cast<RendererGamepadProvider*>(observer)->SampleGamepads(gamepads);
/external/chromium_org/content/shell/renderer/test_runner/
H A Dgamepad_controller.cc165 void GamepadController::SampleGamepads(blink::WebGamepads& gamepads) { argument
166 memcpy(&gamepads, &gamepads_, sizeof(blink::WebGamepads));

Completed in 213 milliseconds