diff options
Diffstat (limited to 'tests/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java')
-rw-r--r-- | tests/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java b/tests/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java index 9f97311..c1e7f4a 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java +++ b/tests/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java @@ -88,8 +88,6 @@ public class PathsCacheActivity extends Activity { @Override protected void onDraw(Canvas canvas) { super.onDraw(canvas); - - Log.d("OpenGLRenderer", "Start frame"); canvas.drawARGB(255, 255, 255, 255); @@ -104,6 +102,13 @@ public class PathsCacheActivity extends Activity { canvas.drawPath(mPath, mMediumPaint); canvas.drawPath(mPath, mMediumPaint); + mPath.reset(); + buildPath(mPath); + + canvas.translate(30.0f, 30.0f); + canvas.drawPath(mPath, mMediumPaint); + canvas.drawPath(mPath, mMediumPaint); + canvas.restore(); for (int i = 0; i < mRandom.nextInt(20); i++) { |