Home
last modified time | relevance | path

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

/external/chromium_org/content/browser/gamepad/
Dgamepad_platform_data_fetcher_win.cc258 pad->axesLength = 0; in GetXInputPadData()
260 pad->axes[pad->axesLength++] = NormalizeXInputAxis(state.Gamepad.sThumbLX); in GetXInputPadData()
261 pad->axes[pad->axesLength++] = -NormalizeXInputAxis(state.Gamepad.sThumbLY); in GetXInputPadData()
262 pad->axes[pad->axesLength++] = NormalizeXInputAxis(state.Gamepad.sThumbRX); in GetXInputPadData()
263 pad->axes[pad->axesLength++] = -NormalizeXInputAxis(state.Gamepad.sThumbRY); in GetXInputPadData()
283 raw_pad.axesLength = gamepad->axes_length; in GetRawInputPadData()
290 for (unsigned int i = 0; i < raw_pad.axesLength; i++) in GetRawInputPadData()
Dgamepad_standard_mappings_linux.cc29 mapped->axesLength = kNumAxes; in MapperXInputStyleGamepad()
50 mapped->axesLength = kNumAxes; in MapperLakeviewResearch()
76 mapped->axesLength = kNumAxes; in MapperPlaystationSixAxis()
109 mapped->axesLength = kNumAxes; in MapperDualshock4()
131 mapped->axesLength = kNumAxes; in MapperXGEAR()
148 mapped->axesLength = kNumAxes; in MapperDragonRiseGeneric()
170 mapped->axesLength = kNumAxes; in MapperOnLiveWireless()
Dgamepad_standard_mappings_mac.mm29 mapped->axesLength = kNumAxes;
67 mapped->axesLength = kNumAxes;
97 mapped->axesLength = kNumAxes;
110 mapped->axesLength = kNumAxes;
150 mapped->axesLength = kNumAxes;
168 mapped->axesLength = kNumAxes;
187 mapped->axesLength = kNumAxes;
200 mapped->axesLength = kNumAxes;
225 mapped->axesLength = kNumAxes;
Dgamepad_standard_mappings_win.cc22 mapped->axesLength = kNumAxes; in MapperLogitechDualAction()
46 mapped->axesLength = 0; in Mapper2Axes8Keys()
76 mapped->axesLength = kNumAxes; in MapperDualshock4()
101 mapped->axesLength = kNumAxes; in MapperOnLiveWireless()
Dgamepad_provider_unittest.cc73 test_data.items[0].axesLength = 2; in TEST_F()
108 EXPECT_EQ(2u, output.items[0].axesLength); in TEST_F()
120 no_button_data.items[0].axesLength = 2; in TEST_F()
Dgamepad_platform_data_fetcher_android.cc125 pad.axesLength = std::min(static_cast<int>(axes.size()), in SetGamepadData()
129 for (unsigned int i = 0; i < pad.axesLength; i++) { in SetGamepadData()
Dgamepad_platform_data_fetcher_mac.mm164 pad.axesLength = 0;
192 pad.axesLength = std::max(pad.axesLength, axis_index + 1);
219 pad.axesLength = std::max(pad.axesLength, next_index + 1);
386 for (size_t i = 0; i < pad.axesLength; ++i) {
431 data_.items[slot].axesLength = 4;
Dgamepad_provider.cc171 axes_length_ == pad.axesLength && in Match()
180 axes_length_ = pad.axesLength; in SetPad()
196 pad->axesLength = axes_length_; in AsWebGamepad()
Dgamepad_platform_data_fetcher_linux.cc255 if (item >= pad.axesLength) in ReadDeviceData()
256 pad.axesLength = item + 1; in ReadDeviceData()
/external/chromium_org/third_party/WebKit/public/platform/
DWebGamepad.h66 , axesLength(0) in WebGamepad()
84 unsigned axesLength; variable
/external/chromium_org/content/common/
Dgamepad_param_traits.cc63 LogParam(p.axesLength, l); in Log()
/external/chromium_org/third_party/WebKit/Source/modules/gamepad/
DNavigatorGamepad.cpp50 gamepad.setAxes(webGamepad.axesLength, webGamepad.axes); in sampleGamepad()
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_gamepad_host_unittest.cc113 EXPECT_EQ(AddressDiff(&web_gamepad.axesLength, &web_gamepad), in TEST_F()
/external/chromium_org/content/shell/renderer/test_runner/
Dgamepad_controller.cc234 gamepads_.items[index].axesLength = axes; in SetAxisCount()