Home
last modified time | relevance | path

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

/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
DAnimatorPath.java31 ArrayList<PathPoint> mPoints = new ArrayList<PathPoint>(); field in AnimatorPath
41 mPoints.add(PathPoint.moveTo(x, y)); in moveTo()
49 mPoints.add(PathPoint.lineTo(x, y)); in lineTo()
58 mPoints.add(PathPoint.curveTo(c0X, c0Y, c1X, c1Y, x, y)); in curveTo()
65 return mPoints; in getPoints()
/development/samples/ApiDemos/src/com/example/android/apis/media/
DAudioFxDemo.java204 private float[] mPoints; field in VisualizerView
235 if (mPoints == null || mPoints.length < mBytes.length * 4) { in onDraw()
236 mPoints = new float[mBytes.length * 4]; in onDraw()
242 mPoints[i * 4] = mRect.width() * i / (mBytes.length - 1); in onDraw()
243 mPoints[i * 4 + 1] = mRect.height() / 2 in onDraw()
245 mPoints[i * 4 + 2] = mRect.width() * (i + 1) / (mBytes.length - 1); in onDraw()
246 mPoints[i * 4 + 3] = mRect.height() / 2 in onDraw()
250 canvas.drawLines(mPoints, mForePaint); in onDraw()