Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DPath.cpp268 float oneMinusT = 1 - t; in cubicCoordinateCalculation() local
269 float oneMinusTSquared = oneMinusT * oneMinusT; in cubicCoordinateCalculation()
270 float oneMinusTCubed = oneMinusTSquared * oneMinusT; in cubicCoordinateCalculation()
274 + (3 * oneMinusT * tSquared * p2) + (tCubed * p3); in cubicCoordinateCalculation()
286 float oneMinusT = 1 - t; in quadraticCoordinateCalculation() local
287 return oneMinusT * ((oneMinusT * p0) + (t * p1)) + t * ((oneMinusT * p1) + (t * p2)); in quadraticCoordinateCalculation()