Loading tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/Blend.java +4 −2 Original line number Original line Diff line number Diff line Loading @@ -52,9 +52,11 @@ public class Blend extends TestBase { new AdapterView.OnItemSelectedListener() { new AdapterView.OnItemSelectedListener() { public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { currentIntrinsic = pos; currentIntrinsic = pos; if (mRS != null) { runTest(); runTest(); act.updateDisplay(); act.updateDisplay(); } } } public void onNothingSelected(AdapterView parent) { public void onNothingSelected(AdapterView parent) { Loading tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/TestBase.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -123,6 +123,7 @@ public class TestBase { public void destroy() { public void destroy() { mRS.destroy(); mRS.destroy(); mRS = null; } } public void updateBitmap(Bitmap b) { public void updateBitmap(Bitmap b) { Loading Loading
tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/Blend.java +4 −2 Original line number Original line Diff line number Diff line Loading @@ -52,9 +52,11 @@ public class Blend extends TestBase { new AdapterView.OnItemSelectedListener() { new AdapterView.OnItemSelectedListener() { public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { currentIntrinsic = pos; currentIntrinsic = pos; if (mRS != null) { runTest(); runTest(); act.updateDisplay(); act.updateDisplay(); } } } public void onNothingSelected(AdapterView parent) { public void onNothingSelected(AdapterView parent) { Loading
tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/TestBase.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -123,6 +123,7 @@ public class TestBase { public void destroy() { public void destroy() { mRS.destroy(); mRS.destroy(); mRS = null; } } public void updateBitmap(Bitmap b) { public void updateBitmap(Bitmap b) { Loading