diff options
| author | Tim Murray <timmurray@google.com> | 2014-02-03 22:36:45 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-02-03 22:36:45 +0000 |
| commit | b4cf2a2aee78b0ed3e75b5a07baaf5479fe708d9 (patch) | |
| tree | aeb1718593854c711147091e059237c758451a0e /graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java | |
| parent | e22e268e6d158f37173b1bce37a5614daabcf18c (diff) | |
| parent | 7a629fac82f88126642081b4474879f6a883e313 (diff) | |
| download | frameworks_base-b4cf2a2aee78b0ed3e75b5a07baaf5479fe708d9.zip frameworks_base-b4cf2a2aee78b0ed3e75b5a07baaf5479fe708d9.tar.gz frameworks_base-b4cf2a2aee78b0ed3e75b5a07baaf5479fe708d9.tar.bz2 | |
Merge "Convert Java/JNI to 64-bit, part 2."
Diffstat (limited to 'graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java')
| -rw-r--r-- | graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java b/graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java index ad09f95..71ea4cb 100644 --- a/graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java +++ b/graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java @@ -26,7 +26,7 @@ public final class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic { private final float[] mValues = new float[25]; private Allocation mInput; - private ScriptIntrinsicConvolve5x5(int id, RenderScript rs) { + private ScriptIntrinsicConvolve5x5(long id, RenderScript rs) { super(id, rs); } @@ -62,7 +62,7 @@ public final class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic { throw new RSIllegalArgumentException("Unsuported element type."); } - int id = rs.nScriptIntrinsicCreate(4, e.getID(rs)); + long id = rs.nScriptIntrinsicCreate(4, e.getID(rs)); return new ScriptIntrinsicConvolve5x5(id, rs); } |
