Searched refs:xRange (Results 1 – 4 of 4) sorted by relevance
117 float xRange = mX[endIndex] - mX[startIndex]; in interpolate() local118 if (xRange == 0) { in interpolate()123 float fraction = tInRange / xRange; in interpolate()
139 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation() local140 if (xRange == 0) { in getInterpolation()145 float fraction = tInRange / xRange; in getInterpolation()
226 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation() local227 if (xRange == 0) { in getInterpolation()232 float fraction = tInRange / xRange; in getInterpolation()
6691 const auto* xRange = deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_X, AINPUT_SOURCE_TOUCHSCREEN); in TEST_P() local6700 EXPECT_EQ(xRange->min, 0.f); in TEST_P()6702 EXPECT_EQ(xRange->max, displayRotated ? MAX_Y : MAX_X); in TEST_P()6705 EXPECT_EQ(xRange->flat, 8.f); in TEST_P()6708 EXPECT_EQ(xRange->fuzz, 2.f); in TEST_P()6711 EXPECT_EQ(xRange->resolution, 25.f); // pixels per millimeter in TEST_P()