Searched refs:MAX_POINTERS (Results 1 – 18 of 18) sorted by relevance
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualTouchEvent.java | 90 private static final int MAX_POINTERS = 16; field in VirtualTouchEvent 257 @IntRange(from = 0, to = MAX_POINTERS - 1) int pointerId) { in setPointerId() 260 "The pointer id must be in the range 0 - " + (MAX_POINTERS - 1) in setPointerId()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | MultiTouchInputMapper.cpp | 89 if (outCount >= MAX_POINTERS) { in syncTouch() 93 getDeviceName().c_str(), MAX_POINTERS); in syncTouch() 216 mMultiTouchMotionAccumulator.configure(getDeviceContext(), MAX_POINTERS, in configureRawPointerAxes()
|
D | TouchInputMapper.h | 81 using PropertiesArray = std::array<PointerProperties, MAX_POINTERS>; 82 using CoordsArray = std::array<PointerCoords, MAX_POINTERS>; 106 std::array<Pointer, MAX_POINTERS> pointers{};
|
D | TouchInputMapper.cpp | 3773 PointerDistanceHeapElement heap[MAX_POINTERS * MAX_POINTERS]; in assignPointerIds()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 155 } pointers[MAX_POINTERS] __attribute__((aligned(8))); 164 return sizeof(Motion) - sizeof(Pointer) * MAX_POINTERS in size()
|
D | VirtualInputDevice.h | 100 std::bitset<MAX_POINTERS> mActivePointers{};
|
D | InputConsumer.h | 137 PointerCoords pointers[MAX_POINTERS];
|
D | Input.h | 181 static constexpr size_t MAX_POINTERS = 16; variable
|
/frameworks/native/libs/input/tests/ |
D | StructLayout_test.cpp | 123 sizeof(InputMessage::Body::Motion::Pointer) * MAX_POINTERS); in TestBodySize() 139 sizeof(InputMessage::Body::Motion::Pointer) * MAX_POINTERS); in TestBodySize()
|
D | InputPublisherAndConsumer_test.cpp | 656 const size_t pointerCount = MAX_POINTERS + 1; in TEST_F()
|
D | InputPublisherAndConsumerNoResampling_test.cpp | 772 const size_t pointerCount = MAX_POINTERS + 1; in TEST_F()
|
/frameworks/native/libs/input/ |
D | VirtualInputDevice.cpp | 299 if (pointerId < -1 || pointerId >= (int)MAX_POINTERS) { in isValidPointerId() 301 pointerId, MAX_POINTERS - 0); in isValidPointerId()
|
D | InputTransport.cpp | 124 body.motion.pointerCount > 0 && body.motion.pointerCount <= MAX_POINTERS; in isValid() 616 if (pointerCount > MAX_POINTERS || pointerCount < 1) { in publishMotionEvent()
|
D | Input.cpp | 825 if (pointerCount == 0 || pointerCount > MAX_POINTERS || in readFromParcel() 1153 LOG_ALWAYS_FATAL_IF(pointerCount > MAX_POINTERS, "Too many pointers : pointerCount = %zu", in operator <<()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_companion_virtual_InputController.cpp | 166 slotAbsSetup.absinfo.maximum = MAX_POINTERS - 1; in openUinput() 174 trackingIdAbsSetup.absinfo.maximum = MAX_POINTERS - 1; in openUinput()
|
/frameworks/base/libs/input/ |
D | PointerController.cpp | 207 std::array<PointerCoords, MAX_POINTERS> outSpotCoords{}; in setSpots()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 254 if (pointerCount < 1 || pointerCount > MAX_POINTERS) { in validateMotionEvent() 256 << "; value must be between 1 and " << MAX_POINTERS << "."; in validateMotionEvent() 3747 PointerCoords scaledCoords[MAX_POINTERS]; in publishMotionEvent()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 276 PointerProperties pointerProperties[MAX_POINTERS + 1]; in TEST_F() 277 PointerCoords pointerCoords[MAX_POINTERS + 1]; in TEST_F() 278 for (size_t i = 0; i <= MAX_POINTERS; i++) { in TEST_F() 368 /*pointerCount=*/MAX_POINTERS + 1, pointerProperties, pointerCoords); in TEST_F()
|