Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/gesture/
DGestureUtils.java148 float segmentEndX = -1; in spatialSampling() local
160 if (segmentEndX != -1) { in spatialSampling()
162 if (segmentEndX > segmentStartX) { in spatialSampling()
165 (segmentEndX - segmentStartX); in spatialSampling()
166 while (xpos < segmentEndX) { in spatialSampling()
171 } else if (segmentEndX < segmentStartX){ in spatialSampling()
172 xpos = (float) Math.ceil(segmentEndX); in spatialSampling()
174 (segmentEndX - segmentStartX); in spatialSampling()
184 float invertSlope = (segmentEndX - segmentStartX) / in spatialSampling()
193 float invertSlope = (segmentEndX - segmentStartX) / in spatialSampling()
[all …]