diff options
author | Romain Guy <romainguy@google.com> | 2011-07-07 21:28:41 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-07-07 21:28:41 -0700 |
commit | e92096fa6ad01eb022386d2ca536d99bc068e817 (patch) | |
tree | ba91f71972ba7d5e9bfc9856b796e4f84b650048 /tests/HwAccelerationTest/src/com/android/test/hwui/TextureViewActivity.java | |
parent | 7024e0b9020e4ec2d544d687c98c30bd21c2526c (diff) | |
parent | ec19b4a764d512091a780fc93ced567dfbf80914 (diff) | |
download | frameworks_base-e92096fa6ad01eb022386d2ca536d99bc068e817.zip frameworks_base-e92096fa6ad01eb022386d2ca536d99bc068e817.tar.gz frameworks_base-e92096fa6ad01eb022386d2ca536d99bc068e817.tar.bz2 |
Merge "Use NEAREST filtering mode for TextureView.getBitmap()."
Diffstat (limited to 'tests/HwAccelerationTest/src/com/android/test/hwui/TextureViewActivity.java')
-rw-r--r-- | tests/HwAccelerationTest/src/com/android/test/hwui/TextureViewActivity.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/TextureViewActivity.java b/tests/HwAccelerationTest/src/com/android/test/hwui/TextureViewActivity.java index 95b84c4..634e7e3 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/TextureViewActivity.java +++ b/tests/HwAccelerationTest/src/com/android/test/hwui/TextureViewActivity.java @@ -16,7 +16,6 @@ package com.android.test.hwui; -import android.animation.AnimatorSet; import android.app.Activity; import android.graphics.SurfaceTexture; import android.hardware.Camera; @@ -34,7 +33,6 @@ public class TextureViewActivity extends Activity implements TextureView.Surface private Camera mCamera; private TextureView mTextureView; private FrameLayout mContent; - private AnimatorSet mAnimatorSet; @Override protected void onCreate(Bundle savedInstanceState) { @@ -53,7 +51,6 @@ public class TextureViewActivity extends Activity implements TextureView.Surface @Override public void onClick(View v) { if (mAdded) { - if (mAnimatorSet != null) mAnimatorSet.cancel(); mContent.removeView(mTextureView); } else { mContent.addView(mTextureView); |