summaryrefslogtreecommitdiffstats
path: root/tests/RenderScriptTests/PerfTest/src/com/android/perftest/RsBenchView.java
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2011-12-09 10:04:27 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-12-09 10:04:27 -0800
commitf8c1f1c17c4909e321f23a9cd603d4410cd03ce0 (patch)
tree06195e39a5a5c389419bd8b400e28b8e13eb505e /tests/RenderScriptTests/PerfTest/src/com/android/perftest/RsBenchView.java
parente61fd281a8cb69ae45c5de4b160ab86226083152 (diff)
parente7a5b5aa9a3c8b371dd89f44b7d4cef445f7f7c2 (diff)
downloadframeworks_base-f8c1f1c17c4909e321f23a9cd603d4410cd03ce0.zip
frameworks_base-f8c1f1c17c4909e321f23a9cd603d4410cd03ce0.tar.gz
frameworks_base-f8c1f1c17c4909e321f23a9cd603d4410cd03ce0.tar.bz2
Merge "Making UI a bit more responsive."
Diffstat (limited to 'tests/RenderScriptTests/PerfTest/src/com/android/perftest/RsBenchView.java')
-rw-r--r--tests/RenderScriptTests/PerfTest/src/com/android/perftest/RsBenchView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/RenderScriptTests/PerfTest/src/com/android/perftest/RsBenchView.java b/tests/RenderScriptTests/PerfTest/src/com/android/perftest/RsBenchView.java
index 004e6bf..124071e 100644
--- a/tests/RenderScriptTests/PerfTest/src/com/android/perftest/RsBenchView.java
+++ b/tests/RenderScriptTests/PerfTest/src/com/android/perftest/RsBenchView.java
@@ -92,6 +92,10 @@ public class RsBenchView extends RSSurfaceView {
mRender.setBenchmarkMode(benchNum);
}
+ void suspendRendering(boolean pause) {
+ mRender.pause(pause);
+ }
+
void setDebugMode(int num) {
mRender.setDebugMode(num);
}