Searched refs:mPathBounds (Results 1 – 2 of 2) sorted by relevance
47 private final RectF mPathBounds; field in PathsActivity.PathsView91 mPathBounds = new RectF(); in PathsView()92 mPath.computeBounds(mPathBounds, true); in PathsView()98 final int width = (int) (mPathBounds.width() + mOffset * 3.0f + 0.5f); in PathsView()99 final int height = (int) (mPathBounds.height() + mOffset * 3.0f + 0.5f); in PathsView()102 canvas.translate(-mPathBounds.left + mOffset * 1.5f, -mPathBounds.top + mOffset * 1.5f); in PathsView()129 canvas.drawRect(mPathBounds, mBoundsPaint); in onDraw()132 canvas.drawBitmap(mBitmap, mPathBounds.left - mOffset * 1.5f, in onDraw()133 mPathBounds.top - mOffset * 1.5f, null); in onDraw()134 canvas.drawRect(mPathBounds, mBoundsPaint); in onDraw()[all …]
40 private final RectF mPathBounds = new RectF(); field in ScaledPathsActivity.PathsView57 mPath.computeBounds(mPathBounds, true); in PathsView()89 canvas.translate(mPathBounds.width() * scaleX, 0.0f); in drawPath()