Searched refs:rawXOffset (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 63 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()
|
D | InputPublisherAndConsumerNoResampling_test.cpp | 70 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()
|