summaryrefslogtreecommitdiffstats
path: root/tests/HwAccelerationTest
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-07-07 21:33:41 -0700
committerRomain Guy <romainguy@google.com>2011-07-07 21:33:41 -0700
commitcfacbeadffb5dccbf0434d9c05b19430a5237c3b (patch)
treeaa04e728f2233768a0f919c1349c1c16717aef25 /tests/HwAccelerationTest
parentec19b4a764d512091a780fc93ced567dfbf80914 (diff)
downloadframeworks_base-cfacbeadffb5dccbf0434d9c05b19430a5237c3b.zip
frameworks_base-cfacbeadffb5dccbf0434d9c05b19430a5237c3b.tar.gz
frameworks_base-cfacbeadffb5dccbf0434d9c05b19430a5237c3b.tar.bz2
Cleanup
Change-Id: I2a9dc34e907b4c6e60f8c2999150b22015012e74
Diffstat (limited to 'tests/HwAccelerationTest')
-rw-r--r--tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java b/tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java
index f471f3e..949589f 100644
--- a/tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java
+++ b/tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java
@@ -16,8 +16,6 @@
package com.android.test.hwui;
-import android.animation.Animator;
-import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.app.Activity;
@@ -41,7 +39,6 @@ import javax.microedition.khronos.egl.EGLContext;
import javax.microedition.khronos.egl.EGLDisplay;
import javax.microedition.khronos.egl.EGLSurface;
import javax.microedition.khronos.opengles.GL;
-
import java.io.BufferedOutputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
@@ -66,7 +63,7 @@ public class GLTextureViewActivity extends Activity implements TextureView.Surfa
mTextureView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
- Bitmap b = mTextureView.getBitmap(600, 350);
+ Bitmap b = mTextureView.getBitmap(800, 800);
BufferedOutputStream out = null;
try {
out = new BufferedOutputStream(new FileOutputStream("/sdcard/out.png"));