Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp103 float reflectiveCtrlPointX; in addCommand() local
224 reflectiveCtrlPointX = 0; in addCommand()
228 reflectiveCtrlPointX = currentX - ctrlPointX; in addCommand()
231 outPath->rCubicTo(reflectiveCtrlPointX, reflectiveCtrlPointY, points->at(k + 0), in addCommand()
239 reflectiveCtrlPointX = currentX; in addCommand()
243 reflectiveCtrlPointX = 2 * currentX - ctrlPointX; in addCommand()
246 outPath->cubicTo(reflectiveCtrlPointX, reflectiveCtrlPointY, points->at(k + 0), in addCommand()
270 reflectiveCtrlPointX = 0; in addCommand()
274 reflectiveCtrlPointX = currentX - ctrlPointX; in addCommand()
277 outPath->rQuadTo(reflectiveCtrlPointX, reflectiveCtrlPointY, points->at(k + 0), in addCommand()
[all …]
/frameworks/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java456 float reflectiveCtrlPointX; in addCommand() local
579 reflectiveCtrlPointX = 0; in addCommand()
583 reflectiveCtrlPointX = currentX - ctrlPointX; in addCommand()
586 path.rCubicTo(reflectiveCtrlPointX, reflectiveCtrlPointY, in addCommand()
596 reflectiveCtrlPointX = currentX; in addCommand()
600 reflectiveCtrlPointX = 2 * currentX - ctrlPointX; in addCommand()
603 path.cubicTo(reflectiveCtrlPointX, reflectiveCtrlPointY, in addCommand()
625 reflectiveCtrlPointX = 0; in addCommand()
629 reflectiveCtrlPointX = currentX - ctrlPointX; in addCommand()
632 path.rQuadTo(reflectiveCtrlPointX, reflectiveCtrlPointY, in addCommand()
[all …]