Home
last modified time | relevance | path

Searched refs:xPrecision (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/native/services/inputflinger/
DNotifyArgs.cpp70 const PointerCoords* pointerCoords, float xPrecision, float yPrecision, in NotifyMotionArgs() argument
86 xPrecision(xPrecision), in NotifyMotionArgs()
110 pointerCoords == rhs.pointerCoords && xPrecision == rhs.xPrecision && in operator ==()
DInputCommonConverter.cpp329 event.xPrecision = args.xPrecision; in notifyMotionArgsToHalMotionEvent()
352 args.buttonState, args.classification, *transform, args.xPrecision, in toMotionEvent()
/frameworks/native/services/inputflinger/tests/
DNotifyArgs_test.cpp64 float xPrecision = 1.2f; in TEST() local
76 xPrecision, yPrecision, xCursorPosition, yCursorPosition, downTime, in TEST()
DTestEventMatchers.h765 MATCHER_P2(WithPrecision, xPrecision, yPrecision, "MotionEvent with specified precision") {
766 *result_listener << "expected x-precision " << xPrecision << " and y-precision " << yPrecision
767 << ", but got " << arg.xPrecision << " and " << arg.yPrecision;
768 return arg.xPrecision == xPrecision && arg.yPrecision == yPrecision;
DFakeInputTracingBackend.cpp46 e.classification, dispatchArgs.transform, e.xPrecision, e.yPrecision, in toInputEvent()
DInputReader_test.cpp4774 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4798 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4821 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4871 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4894 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4940 ASSERT_NEAR(X_PRECISION_VIRTUAL, motionArgs.xPrecision, EPSILON); in TEST_F()
4967 ASSERT_NEAR(X_PRECISION_VIRTUAL, motionArgs.xPrecision, EPSILON); in TEST_F()
4992 ASSERT_NEAR(X_PRECISION_VIRTUAL, motionArgs.xPrecision, EPSILON); in TEST_F()
5034 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
5059 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
[all …]
/frameworks/base/core/java/android/view/
DMotionEvent.java1809 float xOffset, float yOffset, float xPrecision, float yPrecision, in nativeInitialize() argument
1991 int buttonState, float xPrecision, float yPrecision, int deviceId, int edgeFlags, in obtain() argument
1995 metaState, buttonState, classification, 0, 0, xPrecision, yPrecision, in obtain()
2039 float xPrecision, float yPrecision, int deviceId, in obtain() argument
2042 metaState, buttonState, xPrecision, yPrecision, deviceId, edgeFlags, source, in obtain()
2077 float xPrecision, float yPrecision, int deviceId, in obtain() argument
2080 metaState, buttonState, xPrecision, yPrecision, deviceId, edgeFlags, source, in obtain()
2116 int metaState, float xPrecision, float yPrecision, int deviceId, in obtain() argument
2126 pointerCoords, metaState, 0, xPrecision, yPrecision, deviceId, in obtain()
2162 float xPrecision, float yPrecision, int deviceId, int edgeFlags) { in obtain() argument
[all …]
/frameworks/base/tests/Input/src/com/android/test/input/
DInputEventAssignerTest.kt37 val xPrecision = 0f in createMotionEvent() constant
43 xPrecision, yPrecision, deviceId, edgeFlags, source, displayId) in createMotionEvent()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp193 int32_t edgeFlags, float xPrecision, float yPrecision, in MotionEntry() argument
208 xPrecision(xPrecision), in MotionEntry()
232 motionClassificationToString(classification), edgeFlags, xPrecision, in getDescription()
DInputState.cpp254 memento.xPrecision = entry.xPrecision; in addMotionMemento()
406 AMOTION_EVENT_EDGE_FLAG_NONE, memento.xPrecision, in createCancelEntryForMemento()
485 AMOTION_EVENT_EDGE_FLAG_NONE, memento.xPrecision, in synthesizePointerDownEvents()
541 AMOTION_EVENT_EDGE_FLAG_NONE, memento.xPrecision, in synthesizeCancelationEventsForPointers()
DEntry.h166 float xPrecision; member
181 int32_t edgeFlags, float xPrecision, float yPrecision, float xCursorPosition,
DInputState.h107 float xPrecision; member
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
DGestureLogParser.java39 final int xPrecision = 1; in getMotionEventFromLogLine() local
70 xPrecision, yPrecision, deviceId, edgeFlags, source, flags); in getMotionEventFromLogLine()
/frameworks/native/services/inputflinger/include/
DNotifyArgs.h110 float xPrecision; member
130 const PointerCoords* pointerCoords, float xPrecision, float yPrecision,
/frameworks/native/services/inputflinger/dispatcher/trace/
DInputTracingBackendInterface.h81 float xPrecision; member
DInputTracer.cpp48 e.xPrecision, in createTracedEvent()
/frameworks/native/include/input/
DInputTransport.h136 float xPrecision; member
374 float xPrecision, float yPrecision, float xCursorPosition,
/frameworks/native/libs/input/
DInputTransport.cpp258 msg->body.motion.xPrecision = body.motion.xPrecision; in getSanitizedCopy()
579 float xPrecision, float yPrecision, float xCursorPosition, float yCursorPosition, in publishMotionEvent() argument
607 metaState, buttonState, motionClassificationToString(classification), xPrecision, in publishMotionEvent()
643 msg.body.motion.xPrecision = xPrecision; in publishMotionEvent()
DInputConsumerNoResampling.cpp100 msg.body.motion.xPrecision, msg.body.motion.yPrecision, in createMotionEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterInputTest.kt78 val xPrecision = 0f in createMotionEvent() constant
83 xPrecision, yPrecision, deviceId, edgeFlags, source, displayId) in createMotionEvent()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp65 const float xPrecision = 0.25; member
142 EXPECT_EQ(args.xPrecision, motionEvent.getXPrecision()); in verifyArgsEqualToEvent()
188 a.xPrecision, a.yPrecision, a.xCursorPosition, in publishMotionEvent()
DStructLayout_test.cpp73 CHECK_OFFSET(InputMessage::Body::Motion, xPrecision, 120); in TestInputMessageAlignment()
DInputPublisherAndConsumerNoResampling_test.cpp72 const float xPrecision = 0.25; member
149 EXPECT_EQ(args.xPrecision, motionEvent.getXPrecision()); in verifyArgsEqualToEvent()
195 a.xPrecision, a.yPrecision, a.xCursorPosition, in publishMotionEvent()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp326 jint classification, jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, in android_view_MotionEvent_nativeInitialize() argument
377 static_cast<MotionClassification>(classification), transform, xPrecision, in android_view_MotionEvent_nativeInitialize()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.h831 const IdToIndexArray& idToIndex, BitSet32 idBits, int32_t changedId, float xPrecision,

12