Home
last modified time | relevance | path

Searched refs:xRange (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
DInterpolator.cpp117 float xRange = mX[endIndex] - mX[startIndex]; in interpolate() local
118 if (xRange == 0) { in interpolate()
123 float fraction = tInRange / xRange; in interpolate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPathInterpolatorBuilder.java139 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation() local
140 if (xRange == 0) { in getInterpolation()
145 float fraction = tInRange / xRange; in getInterpolation()
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java226 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation() local
227 if (xRange == 0) { in getInterpolation()
232 float fraction = tInRange / xRange; in getInterpolation()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp6691 const auto* xRange = deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_X, AINPUT_SOURCE_TOUCHSCREEN); in TEST_P() local
6700 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()