Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp64 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()
DInputPublisherAndConsumerNoResampling_test.cpp71 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()