Searched refs:spline (Results 1 – 10 of 10) sorted by relevance
55 Spline[] spline = new Spline[MAX_SPLINE_NUMBER]; in useParametersFrom() local56 for (int i = 0; i < spline.length; i++) { in useParametersFrom()59 spline[i] = new Spline(sp); in useParametersFrom()61 spline[i] = new Spline(); in useParametersFrom()64 mSplines = spline; in useParametersFrom()99 Spline spline = new Spline(); in reset() local101 spline.addPoint(0.0f, 1.0f); in reset()102 spline.addPoint(1.0f, 0.0f); in reset()105 mSplines[i] = new Spline(spline); in reset()144 Spline[] spline = new Spline[MAX_SPLINE_NUMBER]; in deSerializeRepresentation() local[all …]
45 Spline spline = mParameters.getSpline(curveIndex); in populateArray() local46 if (spline == null) { in populateArray()49 float[] curve = spline.getAppliedCurve(); in populateArray()85 public void setSpline(Spline spline, int splineIndex) { in setSpline() argument86 mParameters.setSpline(splineIndex, new Spline(spline)); in setSpline()94 Spline spline = new Spline(); in reset() local96 spline.addPoint(0.0f, 1.0f); in reset()97 spline.addPoint(1.0f, 0.0f); in reset()100 mParameters.setSpline(i, new Spline(spline)); in reset()
205 Spline spline = getSpline(i); in onDraw() local206 if (i != mCurrentCurveIndex && !spline.isOriginal()) { in onDraw()209 spline.draw(canvas, Spline.colorForCurve(i), getWidth(), in onDraw()223 Spline spline = getSpline(mCurrentCurveIndex); in pickControlPoint() local224 float px = spline.getPoint(0).x; in pickControlPoint()225 float py = spline.getPoint(0).y; in pickControlPoint()227 for (int i = 1; i < spline.getNbPoints(); i++) { in pickControlPoint()228 px = spline.getPoint(i).x; in pickControlPoint()229 py = spline.getPoint(i).y; in pickControlPoint()238 && (spline.getNbPoints() < 10)) { in pickControlPoint()[all …]
48 public Spline(Spline spline) { in Spline() argument50 for (int i = 0; i < spline.mPoints.size(); i++) { in Spline()51 ControlPoint p = spline.mPoints.elementAt(i); in Spline()54 if (spline.mCurrentControlPoint == p) { in Spline()434 Spline spline = new Spline(); in copy() local437 spline.addPoint(point.copy()); in copy()439 return spline; in copy()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...
1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...