OSDN Git Service

Requested RS method rename.
authorRuben Brunk <rubenbrunk@google.com>
Thu, 14 Mar 2013 22:13:12 +0000 (15:13 -0700)
committerRuben Brunk <rubenbrunk@google.com>
Thu, 14 Mar 2013 22:13:12 +0000 (15:13 -0700)
Change-Id: I2f158cb6cfb6ab23907e49c89f93681692e56dfb

src/com/android/gallery3d/filtershow/FilterShowActivity.java
src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java

index 0ed90c4..081cf5d 100644 (file)
@@ -138,7 +138,7 @@ public class FilterShowActivity extends Activity implements OnItemClickListener,
         clearGalleryBitmapPool();
 
         setupMasterImage();
-        ImageFilterRS.setRenderScriptContext(this);
+        ImageFilterRS.createRenderscriptContext(this);
         setDefaultValues();
         fillEditors();
 
index 3d35562..2ebd61f 100644 (file)
@@ -108,7 +108,7 @@ public abstract class ImageFilterRS extends ImageFilter {
         return sRS;
     }
 
-    public static synchronized void setRenderScriptContext(Activity context) {
+    public static synchronized void createRenderscriptContext(Activity context) {
         if( sRS != null) {
             Log.w(LOGTAG, "A prior RS context exists when calling setRenderScriptContext");
             destroyRenderScriptContext();