Home
last modified time | relevance | path

Searched refs:rawTransform (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp46 const ui::Transform& rawTransform) { in verifiedMotionEventFromMotionEntry() argument
47 const vec2 rawXY = MotionEvent::calculateTransformedXY(entry.source, rawTransform, in verifiedMotionEventFromMotionEntry()
292 const ui::Transform& transform, const ui::Transform& rawTransform, in DispatchEntry() argument
299 rawTransform(rawTransform), in DispatchEntry()
DEntry.h222 ui::Transform rawTransform; member
243 const ui::Transform& rawTransform, float globalScaleFactor, gui::Uid targetUid,
264 const ui::Transform& rawTransform);
DInputDispatcher.cpp3779 dispatchEntry.rawTransform, motionEntry.downTime, in publishMotionEvent()
3955 verifiedMotionEventFromMotionEntry(motionEntry, dispatchEntry.rawTransform); in getSignature()
/frameworks/native/services/inputflinger/
DInputCommonConverter.h33 const ui::Transform* rawTransform = nullptr,
DInputCommonConverter.cpp344 const ui::Transform* rawTransform, const std::array<uint8_t, 32>* hmac) { in toMotionEvent() argument
346 if (rawTransform == nullptr) rawTransform = &kIdentityTransform; in toMotionEvent()
353 args.yPrecision, args.xCursorPosition, args.yCursorPosition, *rawTransform, in toMotionEvent()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp711 .rawTransform(ui::Transform(ui::Transform::FLIP_H, 50, 50)) in TEST_F()
875 const ui::Transform& transform, const ui::Transform& rawTransform) { in createMotionEvent() argument
890 AMOTION_EVENT_INVALID_CURSOR_POSITION, rawTransform, eventTime, eventTime, in createMotionEvent()
897 const ui::Transform& rawTransform) { in createTouchDownEvent() argument
899 transform, rawTransform); in createTouchDownEvent()
907 ui::Transform rawTransform(ui::Transform::ROT_90, 800, 400); in TEST_F() local
908 MotionEvent event = createTouchDownEvent(60, 100, 42, 96, transform, rawTransform); in TEST_F()
987 ui::Transform rawTransform; in TEST_F() local
988 rawTransform.set({-6.6, 5.5, -4.4, 3.3, -2.2, 1.1, 0, 0, 1}); in TEST_F()
995 const MotionEvent event = createTouchDownEvent(60, 100, 42, 96, transform, rawTransform); in TEST_F()
[all …]
DInputPublisherAndConsumer_test.cpp72 ui::Transform rawTransform; member
119 rawTransform.set({rawXScale, 0, rawXOffset, 0, rawYScale, rawYOffset, 0, 0, 1}); in PublishMotionArgs()
150 EXPECT_EQ(args.rawTransform, motionEvent.getRawTransform()); in verifyArgsEqualToEvent()
189 a.yCursorPosition, a.rawTransform, a.downTime, a.eventTime, in publishMotionEvent()
DInputPublisherAndConsumerNoResampling_test.cpp79 ui::Transform rawTransform; member
126 rawTransform.set({rawXScale, 0, rawXOffset, 0, rawYScale, rawYOffset, 0, 0, 1}); in PublishMotionArgs()
157 EXPECT_EQ(args.rawTransform, motionEvent.getRawTransform()); in verifyArgsEqualToEvent()
196 a.yCursorPosition, a.rawTransform, a.downTime, a.eventTime, in publishMotionEvent()
/frameworks/native/services/inputflinger/dispatcher/trace/
DInputTracingBackendInterface.h115 ui::Transform rawTransform; member
DAndroidInputEventProtoConverter.cpp119 MotionEvent::calculateTransformedXY(motion->source, args.rawTransform, in toProtoWindowDispatchEvent()
DInputTracer.cpp225 dispatchEntry.rawTransform, in traceEventDispatch()
/frameworks/native/libs/input/
DInputTransport.cpp580 const ui::Transform& rawTransform, nsecs_t downTime, nsecs_t eventTime, in publishMotionEvent() argument
647 msg.body.motion.dsdxRaw = rawTransform.dsdx(); in publishMotionEvent()
648 msg.body.motion.dtdxRaw = rawTransform.dtdx(); in publishMotionEvent()
649 msg.body.motion.dtdyRaw = rawTransform.dtdy(); in publishMotionEvent()
650 msg.body.motion.dsdyRaw = rawTransform.dsdy(); in publishMotionEvent()
651 msg.body.motion.txRaw = rawTransform.tx(); in publishMotionEvent()
652 msg.body.motion.tyRaw = rawTransform.ty(); in publishMotionEvent()
DInput.cpp559 float rawYCursorPosition, const ui::Transform& rawTransform, in initialize() argument
576 mRawTransform = rawTransform; in initialize()
/frameworks/native/services/inputflinger/tests/
DFakeInputTracingBackend.cpp47 e.xCursorPosition, e.yCursorPosition, dispatchArgs.rawTransform, e.downTime, in toInputEvent()
/frameworks/native/include/input/
DInputEventBuilders.h125 MotionEventBuilder& rawTransform(ui::Transform t) { in rawTransform() function
DInputTransport.h375 float yCursorPosition, const ui::Transform& rawTransform,
DInput.h883 float rawYCursorPosition, const ui::Transform& rawTransform, nsecs_t downTime,