Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputListener.cpp102 const PointerCoords* pointerCoords, float xPrecision, in NotifyMotionArgs() argument
119 xPrecision(xPrecision), in NotifyMotionArgs()
145 xPrecision(other.xPrecision), in NotifyMotionArgs()
169 && xPrecision == rhs.xPrecision && yPrecision == rhs.yPrecision && in operator ==()
DInputClassifierConverter.cpp370 event.xPrecision = args.xPrecision; in notifyMotionArgsToHalMotionEvent()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp181 int32_t edgeFlags, float xPrecision, float yPrecision, in MotionEntry() argument
197 xPrecision(xPrecision), in MotionEntry()
226 motionClassificationToString(classification), edgeFlags, xPrecision, in appendDescription()
DInputState.cpp238 memento.xPrecision = entry.xPrecision; in addMotionMemento()
290 AMOTION_EVENT_EDGE_FLAG_NONE, memento.xPrecision, in synthesizeCancelationEvents()
340 AMOTION_EVENT_EDGE_FLAG_NONE, memento.xPrecision, in synthesizePointerDownEvents()
DEntry.h168 float xPrecision; member
180 int32_t edgeFlags, float xPrecision, float yPrecision, float xCursorPosition,
DInputState.h97 float xPrecision; member
DInputDispatcher.cpp309 motionEntry.xPrecision, motionEntry.yPrecision, in createDispatchEntry()
1317 entry.edgeFlags, entry.xPrecision, entry.yPrecision, entry.downTime); in logOutboundMotionDetails()
2547 xOffset, yOffset, motionEntry->xPrecision, in startDispatchCycleLocked()
3006 originalMotionEntry.xPrecision, originalMotionEntry.yPrecision, in splitMotionEvent()
3161 args->buttonState, args->edgeFlags, args->xPrecision, args->yPrecision, in notifyMotion()
3206 1 /*yScale*/, 0 /* xOffset */, 0 /* yOffset */, args->xPrecision, in notifyMotion()
3224 args->classification, args->edgeFlags, args->xPrecision, in notifyMotion()
/frameworks/base/core/java/android/view/
DMotionEvent.java1527 float xOffset, float yOffset, float xPrecision, float yPrecision, in nativeInitialize() argument
1701 float xPrecision, float yPrecision, int deviceId, in obtain() argument
1705 metaState, buttonState, CLASSIFICATION_NONE, 0, 0, xPrecision, yPrecision, in obtain()
1747 float xPrecision, float yPrecision, int deviceId, in obtain() argument
1750 metaState, buttonState, xPrecision, yPrecision, deviceId, edgeFlags, source, in obtain()
1786 int metaState, float xPrecision, float yPrecision, int deviceId, in obtain() argument
1796 pointerCoords, metaState, 0, xPrecision, yPrecision, deviceId, in obtain()
1832 float xPrecision, float yPrecision, int deviceId, int edgeFlags) { in obtain() argument
1834 xPrecision, yPrecision, deviceId, edgeFlags, InputDevice.SOURCE_UNKNOWN, in obtain()
1872 float xPrecision, float yPrecision, int deviceId, int edgeFlags, int source, in obtain() argument
[all …]
/frameworks/native/services/inputflinger/include/
DInputListener.h112 float xPrecision; member
131 float xPrecision, float yPrecision, float xCursorPosition,
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp162 constexpr float xPrecision = 0.25; in PublishAndConsumeMotionEvent() local
191 xPrecision, yPrecision, xCursorPosition, in PublishAndConsumeMotionEvent()
225 EXPECT_EQ(xPrecision, motionEvent->getXPrecision()); in PublishAndConsumeMotionEvent()
DStructLayout_test.cpp71 CHECK_OFFSET(InputMessage::Body::Motion, xPrecision, 112); in TestInputMessageAlignment()
/frameworks/native/include/input/
DInputTransport.h124 float xPrecision; member
299 float xOffset, float yOffset, float xPrecision, float yPrecision,
DInput.h689 float yOffset, float xPrecision, float yPrecision, float rawXCursorPosition,
/frameworks/native/libs/input/
DInputTransport.cpp210 msg->body.motion.xPrecision = body.motion.xPrecision; in getSanitizedCopy()
488 float yOffset, float xPrecision, float yPrecision, float xCursorPosition, in publishMotionEvent() argument
508 xPrecision, yPrecision, downTime, eventTime, pointerCount); in publishMotionEvent()
541 msg.body.motion.xPrecision = xPrecision; in publishMotionEvent()
1192 msg->body.motion.yOffset, msg->body.motion.xPrecision, in initializeMotionEvent()
DInput.cpp324 float yScale, float xOffset, float yOffset, float xPrecision, in initialize() argument
341 mXPrecision = xPrecision; in initialize()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp3151 ASSERT_EQ(TRACKBALL_MOVEMENT_THRESHOLD, args.xPrecision); in TEST_F()
3170 ASSERT_EQ(TRACKBALL_MOVEMENT_THRESHOLD, args.xPrecision); in TEST_F()
3192 ASSERT_EQ(TRACKBALL_MOVEMENT_THRESHOLD, args.xPrecision); in TEST_F()
3211 ASSERT_EQ(TRACKBALL_MOVEMENT_THRESHOLD, args.xPrecision); in TEST_F()
4282 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4306 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4329 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4379 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4402 ASSERT_NEAR(X_PRECISION, motionArgs.xPrecision, EPSILON); in TEST_F()
4448 ASSERT_NEAR(X_PRECISION_VIRTUAL, motionArgs.xPrecision, EPSILON); in TEST_F()
[all …]
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp336 jint classification, jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, in android_view_MotionEvent_nativeInitialize() argument
375 xOffset, yOffset, xPrecision, yPrecision, in android_view_MotionEvent_nativeInitialize()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.h749 int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime);
DTouchInputMapper.cpp3537 BitSet32 idBits, int32_t changedId, float xPrecision, in dispatchMotion() argument
3583 pointerCoords, xPrecision, yPrecision, xCursorPosition, yCursorPosition, in dispatchMotion()