HomeSort by relevance Sort by last modified time
    Searched refs:mPathBounds (Results 1 - 3 of 3) sorted by null

  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
PathsActivity.java 47 private final RectF mPathBounds;
91 mPathBounds = new RectF();
92 mPath.computeBounds(mPathBounds, true);
98 final int width = (int) (mPathBounds.width() + mOffset * 3.0f + 0.5f);
99 final int height = (int) (mPathBounds.height() + mOffset * 3.0f + 0.5f);
102 canvas.translate(-mPathBounds.left + mOffset * 1.5f, -mPathBounds.top + mOffset * 1.5f);
129 canvas.drawRect(mPathBounds, mBoundsPaint);
132 canvas.drawBitmap(mBitmap, mPathBounds.left - mOffset * 1.5f,
133 mPathBounds.top - mOffset * 1.5f, null)
    [all...]
ScaledPathsActivity.java 40 private final RectF mPathBounds = new RectF();
57 mPath.computeBounds(mPathBounds, true);
89 canvas.translate(mPathBounds.width() * scaleX, 0.0f);
  /frameworks/base/core/java/android/view/
GLES20Canvas.java 66 private RectF mPathBounds;
462 if (mPathBounds == null) mPathBounds = new RectF();
463 return mPathBounds;
    [all...]

Completed in 56 milliseconds