Loading api/current.txt +15 −0 Original line number Diff line number Diff line Loading @@ -20079,6 +20079,21 @@ package android.renderscript { public static final class Script.KernelID extends android.renderscript.BaseObj { } public static final class Script.LaunchOptions { ctor public Script.LaunchOptions(); method public int getXEnd(); method public int getXStart(); method public int getYEnd(); method public int getYStart(); method public void setX(int, int); method public void setY(int, int); field protected int strategy; field protected int xend; field protected int xstart; field protected int yend; field protected int ystart; } public class ScriptC extends android.renderscript.Script { ctor protected ScriptC(int, android.renderscript.RenderScript); ctor protected ScriptC(android.renderscript.RenderScript, android.content.res.Resources, int); graphics/java/android/renderscript/Script.java +39 −0 Original line number Diff line number Diff line Loading @@ -318,5 +318,44 @@ public class Script extends BaseObj { public void updateAllocation() { } } public static final class LaunchOptions { protected int xstart = -1; protected int ystart = -1; protected int xend = -1 ; protected int yend = -1; protected int strategy; public void setX(int xstartArg, int xendArg) { if (xstartArg < 0 || xendArg <= xstartArg) { throw new RSIllegalArgumentException("Invalid dimensions"); } xstart = xstartArg; xend = xendArg; } public void setY(int ystartArg, int yendArg) { if (ystartArg < 0 || yendArg <= ystartArg) { throw new RSIllegalArgumentException("Invalid dimensions"); } ystart = ystartArg; yend = yendArg; } public int getXStart() { return xstart; } public int getXEnd() { return xend; } public int getYStart() { return ystart; } public int getYEnd() { return yend; } } } Loading
api/current.txt +15 −0 Original line number Diff line number Diff line Loading @@ -20079,6 +20079,21 @@ package android.renderscript { public static final class Script.KernelID extends android.renderscript.BaseObj { } public static final class Script.LaunchOptions { ctor public Script.LaunchOptions(); method public int getXEnd(); method public int getXStart(); method public int getYEnd(); method public int getYStart(); method public void setX(int, int); method public void setY(int, int); field protected int strategy; field protected int xend; field protected int xstart; field protected int yend; field protected int ystart; } public class ScriptC extends android.renderscript.Script { ctor protected ScriptC(int, android.renderscript.RenderScript); ctor protected ScriptC(android.renderscript.RenderScript, android.content.res.Resources, int);
graphics/java/android/renderscript/Script.java +39 −0 Original line number Diff line number Diff line Loading @@ -318,5 +318,44 @@ public class Script extends BaseObj { public void updateAllocation() { } } public static final class LaunchOptions { protected int xstart = -1; protected int ystart = -1; protected int xend = -1 ; protected int yend = -1; protected int strategy; public void setX(int xstartArg, int xendArg) { if (xstartArg < 0 || xendArg <= xstartArg) { throw new RSIllegalArgumentException("Invalid dimensions"); } xstart = xstartArg; xend = xendArg; } public void setY(int ystartArg, int yendArg) { if (ystartArg < 0 || yendArg <= ystartArg) { throw new RSIllegalArgumentException("Invalid dimensions"); } ystart = ystartArg; yend = yendArg; } public int getXStart() { return xstart; } public int getXEnd() { return xend; } public int getYStart() { return ystart; } public int getYEnd() { return yend; } } }