Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java42 private ControlPoint mCurrentControlPoint = null; field in Spline
54 if (spline.mCurrentControlPoint == p) { in Spline()
55 mCurrentControlPoint = newPoint; in Spline()
109 mCurrentControlPoint = point; in didMovePoint()
322 if (moving && mCurrentControlPoint != null) { in draw()
323 float px = mCurrentControlPoint.x * w; in draw()
324 float py = mCurrentControlPoint.y * h; in draw()
DImageCurves.java57 private ControlPoint mCurrentControlPoint = null; field in ImageCurves
278 mCurrentControlPoint = null; in onTouchEvent()
301 if (mCurrentControlPoint == null) { in onTouchEvent()
304 mCurrentControlPoint = new ControlPoint(posX, posY); in onTouchEvent()
305 pick = spline.addPoint(mCurrentControlPoint); in onTouchEvent()
308 mCurrentControlPoint = spline.getPoint(pick); in onTouchEvent()