Home
last modified time | relevance | path

Searched refs:rawXOffset (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp63 const float rawXOffset = -11; member
119 rawTransform.set({rawXScale, 0, rawXOffset, 0, rawYScale, rawYOffset, 0, 0, 1}); in PublishMotionArgs()
138 EXPECT_NEAR((-args.rawXOffset / args.rawXScale) * args.xScale + args.xOffset, in verifyArgsEqualToEvent()
163 EXPECT_NEAR(pc.getX() * args.rawXScale + args.rawXOffset, motionEvent.getRawX(i), EPSILON); in verifyArgsEqualToEvent()
DInputPublisherAndConsumerNoResampling_test.cpp70 const float rawXOffset = -11; member
126 rawTransform.set({rawXScale, 0, rawXOffset, 0, rawYScale, rawYOffset, 0, 0, 1}); in PublishMotionArgs()
145 EXPECT_NEAR((-args.rawXOffset / args.rawXScale) * args.xScale + args.xOffset, in verifyArgsEqualToEvent()
170 EXPECT_NEAR(pc.getX() * args.rawXScale + args.rawXOffset, motionEvent.getRawX(i), EPSILON); in verifyArgsEqualToEvent()