summaryrefslogtreecommitdiffstats
path: root/graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-02-03 22:36:45 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-02-03 22:36:45 +0000
commitb4cf2a2aee78b0ed3e75b5a07baaf5479fe708d9 (patch)
treeaeb1718593854c711147091e059237c758451a0e /graphics/java/android/renderscript/ScriptIntrinsicConvolve5x5.java
parente22e268e6d158f37173b1bce37a5614daabcf18c (diff)
parent7a629fac82f88126642081b4474879f6a883e313 (diff)
downloadframeworks_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.java4
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);
}