Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/gesture/
DGestureUtils.java149 float segmentEndY = -1; in spatialSampling() local
164 float slope = (segmentEndY - segmentStartY) / in spatialSampling()
173 float slope = (segmentEndY - segmentStartY) / in spatialSampling()
182 if (segmentEndY > segmentStartY) { in spatialSampling()
185 (segmentEndY - segmentStartY); in spatialSampling()
186 while (ypos < segmentEndY) { in spatialSampling()
191 } else if (segmentEndY < segmentStartY) { in spatialSampling()
192 ypos = (float) Math.ceil(segmentEndY); in spatialSampling()
194 (segmentEndY - segmentStartY); in spatialSampling()
203 segmentEndY = segmentStartY; in spatialSampling()