Searched refs:xRange (Results 1 – 5 of 5) sorted by relevance
119 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation() local120 if (xRange == 0) { in getInterpolation()125 float fraction = tInRange / xRange; in getInterpolation()
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()
224 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation() local225 if (xRange == 0) { in getInterpolation()230 float fraction = tInRange / xRange; in getInterpolation()
6449 InputDevice.MotionRange xRange = device.getMotionRange(MotionEvent.AXIS_X);6451 if (xRange != null && yRange != null) {6455 float xRes = xRange.getResolution();6457 xRes = xRange.getRange() / DEFAULT_WIDTH_MILLIMETERS;