Home
last modified time | relevance | path

Searched refs:MAX_POINTERS (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
DVirtualTouchEvent.java90 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/
DMultiTouchInputMapper.cpp89 if (outCount >= MAX_POINTERS) { in syncTouch()
93 getDeviceName().c_str(), MAX_POINTERS); in syncTouch()
216 mMultiTouchMotionAccumulator.configure(getDeviceContext(), MAX_POINTERS, in configureRawPointerAxes()
DTouchInputMapper.h81 using PropertiesArray = std::array<PointerProperties, MAX_POINTERS>;
82 using CoordsArray = std::array<PointerCoords, MAX_POINTERS>;
106 std::array<Pointer, MAX_POINTERS> pointers{};
DTouchInputMapper.cpp3773 PointerDistanceHeapElement heap[MAX_POINTERS * MAX_POINTERS]; in assignPointerIds()
/frameworks/native/include/input/
DInputTransport.h155 } pointers[MAX_POINTERS] __attribute__((aligned(8)));
164 return sizeof(Motion) - sizeof(Pointer) * MAX_POINTERS in size()
DVirtualInputDevice.h100 std::bitset<MAX_POINTERS> mActivePointers{};
DInputConsumer.h137 PointerCoords pointers[MAX_POINTERS];
DInput.h181 static constexpr size_t MAX_POINTERS = 16; variable
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp123 sizeof(InputMessage::Body::Motion::Pointer) * MAX_POINTERS); in TestBodySize()
139 sizeof(InputMessage::Body::Motion::Pointer) * MAX_POINTERS); in TestBodySize()
DInputPublisherAndConsumer_test.cpp656 const size_t pointerCount = MAX_POINTERS + 1; in TEST_F()
DInputPublisherAndConsumerNoResampling_test.cpp772 const size_t pointerCount = MAX_POINTERS + 1; in TEST_F()
/frameworks/native/libs/input/
DVirtualInputDevice.cpp299 if (pointerId < -1 || pointerId >= (int)MAX_POINTERS) { in isValidPointerId()
301 pointerId, MAX_POINTERS - 0); in isValidPointerId()
DInputTransport.cpp124 body.motion.pointerCount > 0 && body.motion.pointerCount <= MAX_POINTERS; in isValid()
616 if (pointerCount > MAX_POINTERS || pointerCount < 1) { in publishMotionEvent()
DInput.cpp825 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/
Dcom_android_server_companion_virtual_InputController.cpp166 slotAbsSetup.absinfo.maximum = MAX_POINTERS - 1; in openUinput()
174 trackingIdAbsSetup.absinfo.maximum = MAX_POINTERS - 1; in openUinput()
/frameworks/base/libs/input/
DPointerController.cpp207 std::array<PointerCoords, MAX_POINTERS> outSpotCoords{}; in setSpots()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp254 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/
DInputDispatcher_test.cpp276 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()