summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-03-12 01:43:20 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-03-12 01:43:20 +0000
commit2a2ead93a96b1e57098b5b6c14ec88906927d0cd (patch)
tree78f99fde59752382105e4c529ba7187c26f587de /tests
parentb13eb3e789dd1b26a38848e8aa27827e38fd9e9c (diff)
parentca89e2a68703bd428e8b66547d033a6ed35b3595 (diff)
downloadframeworks_base-2a2ead93a96b1e57098b5b6c14ec88906927d0cd.zip
frameworks_base-2a2ead93a96b1e57098b5b6c14ec88906927d0cd.tar.gz
frameworks_base-2a2ead93a96b1e57098b5b6c14ec88906927d0cd.tar.bz2
Merge "Precache paths from a worker thread" into jb-mr2-dev
Diffstat (limited to 'tests')
-rw-r--r--tests/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java4
1 files changed, 2 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 9ab2a86..ac8ab1f 100644
--- a/tests/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java
+++ b/tests/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java
@@ -45,13 +45,13 @@ public class PathsCacheActivity extends Activity {
setContentView(view);
}
- private Path makePath() {
+ private static Path makePath() {
Path path = new Path();
buildPath(path);
return path;
}
- private void buildPath(Path path) {
+ private static void buildPath(Path path) {
path.moveTo(0.0f, 0.0f);
path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f);
path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f);