Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DPath.cpp263 float oneMinusT = 1 - t; in cubicCoordinateCalculation() local
264 float oneMinusTSquared = oneMinusT * oneMinusT; in cubicCoordinateCalculation()
265 float oneMinusTCubed = oneMinusTSquared * oneMinusT; in cubicCoordinateCalculation()
269 + (3 * oneMinusT * tSquared * p2) + (tCubed * p3); in cubicCoordinateCalculation()
281 float oneMinusT = 1 - t; in quadraticCoordinateCalculation() local
282 return oneMinusT * ((oneMinusT * p0) + (t * p1)) + t * ((oneMinusT * p1) + (t * p2)); in quadraticCoordinateCalculation()