Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DInputEvent_test.cpp130 for (size_t axis = 4; axis < PointerCoords::MAX_AXES; axis++) { in TEST_F()
133 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); in TEST_F()
137 ASSERT_EQ(NO_MEMORY, coords.setAxisValue(PointerCoords::MAX_AXES, 100)); in TEST_F()
138 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); in TEST_F()
/frameworks/native/libs/input/
DInput.cpp124 if (count >= MAX_AXES) { in setAxisValue()
175 if (count > MAX_AXES) { in readFromParcel()
198 "cannot contain more than %d axis values.", axis, int(MAX_AXES)); in tooManyAxes()
/frameworks/native/include/input/
DInput.h253 enum { MAX_AXES = 30 }; // 30 so that sizeof(PointerCoords) == 128 enumerator
260 float values[MAX_AXES];
/frameworks/native/services/inputflinger/
DInputReader.cpp7296 if (mAxes.size() > PointerCoords::MAX_AXES) { in configure()
7298 getDeviceName().c_str(), mAxes.size(), PointerCoords::MAX_AXES); in configure()
7344 while (mAxes.size() > PointerCoords::MAX_AXES && i-- > 0) { in pruneAxes()