Home
last modified time | relevance | path

Searched refs:itemsLengthCap (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/content/shell/renderer/test_runner/
Dgamepad_controller.cc170 if (index < 0 || index >= static_cast<int>(WebGamepads::itemsLengthCap)) in Connect()
174 for (unsigned i = 0; i < WebGamepads::itemsLengthCap; ++i) { in Connect()
181 if (index < 0 || index >= static_cast<int>(WebGamepads::itemsLengthCap) in DispatchConnected()
190 if (index < 0 || index >= static_cast<int>(WebGamepads::itemsLengthCap)) in Disconnect()
195 for (unsigned i = 0; i < WebGamepads::itemsLengthCap; ++i) { in Disconnect()
204 if (index < 0 || index >= static_cast<int>(WebGamepads::itemsLengthCap)) in SetId()
213 if (index < 0 || index >= static_cast<int>(WebGamepads::itemsLengthCap)) in SetButtonCount()
221 if (index < 0 || index >= static_cast<int>(WebGamepads::itemsLengthCap)) in SetButtonData()
230 if (index < 0 || index >= static_cast<int>(WebGamepads::itemsLengthCap)) in SetAxisCount()
238 if (index < 0 || index >= static_cast<int>(WebGamepads::itemsLengthCap)) in SetAxisData()
/external/chromium_org/content/browser/gamepad/
Dgamepad_platform_data_fetcher_linux.cc55 tmp_idx >= static_cast<int>(blink::WebGamepads::itemsLengthCap)) { in IsGamepad()
86 for (size_t i = 0; i < WebGamepads::itemsLengthCap; ++i) in ~GamepadPlatformDataFetcherLinux()
93 data_.length = WebGamepads::itemsLengthCap; in GetGamepadData()
96 for (size_t i = 0; i < WebGamepads::itemsLengthCap; ++i) { in GetGamepadData()
105 for (size_t i = 0; i < WebGamepads::itemsLengthCap; ++i) { in GetGamepadData()
239 if (index >= WebGamepads::itemsLengthCap) { in ReadDeviceData()
Dgamepad_platform_data_fetcher_mac.mm231 for (size_t slot = 0; slot < WebGamepads::itemsLengthCap; ++slot) {
235 return WebGamepads::itemsLengthCap;
239 for (size_t slot = 0; slot < WebGamepads::itemsLengthCap; ++slot) {
245 return WebGamepads::itemsLengthCap;
252 for (size_t slot = 0; slot < WebGamepads::itemsLengthCap; ++slot) {
259 return WebGamepads::itemsLengthCap;
281 if (slot == WebGamepads::itemsLengthCap)
335 for (slot = 0; slot < WebGamepads::itemsLengthCap; ++slot) {
341 DCHECK(slot < WebGamepads::itemsLengthCap);
404 if (slot == WebGamepads::itemsLengthCap)
[all …]
Dgamepad_platform_data_fetcher_win.cc58 for (size_t i = 0; i < WebGamepads::itemsLengthCap; ++i) in GamepadPlatformDataFetcherWin()
70 for (size_t i = 0; i < WebGamepads::itemsLengthCap; ++i) { in FirstAvailableGamepadId()
78 for (size_t i = 0; i < WebGamepads::itemsLengthCap; ++i) { in HasXInputGamepad()
88 for (size_t i = 0; i < WebGamepads::itemsLengthCap; ++i) { in HasRawInputGamepad()
101 for (size_t i = 0; i < WebGamepads::itemsLengthCap; ++i) { in EnumerateDevices()
177 for (size_t i = 0; i < WebGamepads::itemsLengthCap; ++i) { in GetGamepadData()
Dgamepad_platform_data_fetcher_linux.h40 int device_fds_[blink::WebGamepads::itemsLengthCap];
44 GamepadStandardMappingFunction mappers_[blink::WebGamepads::itemsLengthCap];
Dgamepad_platform_data_fetcher_win.h91 PadState pad_state_[blink::WebGamepads::itemsLengthCap];
Dgamepad_platform_data_fetcher_mac.h99 AssociatedData associated_[blink::WebGamepads::itemsLengthCap];
Dgamepad_provider.cc127 pad_states_.reset(new PadState[WebGamepads::itemsLengthCap]); in Initialize()
236 for (unsigned i = 0; i < WebGamepads::itemsLengthCap; ++i) { in DoPoll()
Dgamepad_platform_data_fetcher_android.cc78 DCHECK_LT(index, static_cast<int>(blink::WebGamepads::itemsLengthCap)); in SetGamepadData()
Dgamepad_service.cc134 for (unsigned i = 0; i < blink::WebGamepads::itemsLengthCap; ++i) { in OnUserGesture()
/external/chromium_org/third_party/WebKit/public/platform/
DWebGamepads.h45 static const size_t itemsLengthCap = 4; variable
51 WebGamepad items[itemsLengthCap];
/external/chromium_org/third_party/WebKit/Source/modules/gamepad/
DGamepadList.h48 unsigned length() const { return blink::WebGamepads::itemsLengthCap; } in length()
54 Member<Gamepad> m_items[blink::WebGamepads::itemsLengthCap];
DWebKitGamepadList.h27 unsigned length() const { return blink::WebGamepads::itemsLengthCap; } in length()
33 Member<WebKitGamepad> m_items[blink::WebGamepads::itemsLengthCap];
DWebKitGamepadList.cpp21 if (index >= blink::WebGamepads::itemsLengthCap) in set()
33 for (unsigned index = 0; index < blink::WebGamepads::itemsLengthCap; index++) { in trace()
DGamepadList.cpp42 if (index >= blink::WebGamepads::itemsLengthCap) in set()
54 for (unsigned index = 0; index < blink::WebGamepads::itemsLengthCap; index++) { in trace()
DGamepadDispatcher.cpp45 ASSERT(index < blink::WebGamepads::itemsLengthCap); in dispatchDidConnectOrDisconnectGamepad()
DNavigatorGamepad.cpp61 for (unsigned i = 0; i < blink::WebGamepads::itemsLengthCap; ++i) { in sampleGamepads()
/external/chromium_org/content/common/
Dgamepad_user_gesture.cc14 for (unsigned i = 0; i < blink::WebGamepads::itemsLengthCap; i++) { in GamepadsHaveUserGesture()
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_gamepad_host_unittest.cc75 size_t webkit_items_length_cap = blink::WebGamepads::itemsLengthCap; in TEST_F()
79 for (size_t i = 0; i < web_gamepads.itemsLengthCap; i++) { in TEST_F()
/external/chromium_org/content/renderer/
Dgamepad_shared_memory_reader.cc111 for (unsigned i = 0; i < blink::WebGamepads::itemsLengthCap; i++) in SampleGamepads()