Searched refs:rawYOffset (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 64 const float rawYOffset = 42; member 119 rawTransform.set({rawXScale, 0, rawXOffset, 0, rawYScale, rawYOffset, 0, 0, 1}); in PublishMotionArgs() 140 EXPECT_NEAR((-args.rawYOffset / args.rawYScale) * args.yScale + args.yOffset, in verifyArgsEqualToEvent() 164 EXPECT_NEAR(pc.getY() * args.rawYScale + args.rawYOffset, motionEvent.getRawY(i), EPSILON); in verifyArgsEqualToEvent()
|
D | InputPublisherAndConsumerNoResampling_test.cpp | 71 const float rawYOffset = 42; member 126 rawTransform.set({rawXScale, 0, rawXOffset, 0, rawYScale, rawYOffset, 0, 0, 1}); in PublishMotionArgs() 147 EXPECT_NEAR((-args.rawYOffset / args.rawYScale) * args.yScale + args.yOffset, in verifyArgsEqualToEvent() 171 EXPECT_NEAR(pc.getY() * args.rawYScale + args.rawYOffset, motionEvent.getRawY(i), EPSILON); in verifyArgsEqualToEvent()
|