Home
last modified time | relevance | path

Searched refs:MAX_AXES (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.cpp136 if (mAxes.size() > PointerCoords::MAX_AXES) { in configure()
138 getDeviceName().c_str(), mAxes.size(), PointerCoords::MAX_AXES); in configure()
219 while (mAxes.size() > PointerCoords::MAX_AXES) { in pruneAxes()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp137 for (size_t axis = 4; axis < PointerCoords::MAX_AXES; axis++) { in TEST_F()
140 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); in TEST_F()
144 ASSERT_EQ(NO_MEMORY, coords.setAxisValue(PointerCoords::MAX_AXES, 100)); in TEST_F()
145 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); in TEST_F()
/frameworks/native/include/input/
DInput.h359 enum { MAX_AXES = 30 }; // 30 so that sizeof(PointerCoords) == 128 enumerator
366 float values[MAX_AXES];
/frameworks/native/libs/input/
DInput.cpp330 if (count >= MAX_AXES) { in setAxisValue()
374 if (count > MAX_AXES) { in readFromParcel()
397 "cannot contain more than %d axis values.", axis, int(MAX_AXES)); in tooManyAxes()