Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp61 const float rawXScale = 4; 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.cpp68 const float rawXScale = 4; 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()