Loading api/current.txt +17 −0 Original line number Diff line number Diff line Loading @@ -26924,6 +26924,10 @@ package android.renderscript { method public static android.renderscript.Element A_8(android.renderscript.RenderScript); method public static android.renderscript.Element BOOLEAN(android.renderscript.RenderScript); method public static android.renderscript.Element ELEMENT(android.renderscript.RenderScript); method public static android.renderscript.Element F16(android.renderscript.RenderScript); method public static android.renderscript.Element F16_2(android.renderscript.RenderScript); method public static android.renderscript.Element F16_3(android.renderscript.RenderScript); method public static android.renderscript.Element F16_4(android.renderscript.RenderScript); method public static android.renderscript.Element F32(android.renderscript.RenderScript); method public static android.renderscript.Element F32_2(android.renderscript.RenderScript); method public static android.renderscript.Element F32_3(android.renderscript.RenderScript); Loading Loading @@ -27022,6 +27026,7 @@ package android.renderscript { method public static android.renderscript.Element.DataType valueOf(java.lang.String); method public static final android.renderscript.Element.DataType[] values(); enum_constant public static final android.renderscript.Element.DataType BOOLEAN; enum_constant public static final android.renderscript.Element.DataType FLOAT_16; enum_constant public static final android.renderscript.Element.DataType FLOAT_32; enum_constant public static final android.renderscript.Element.DataType FLOAT_64; enum_constant public static final android.renderscript.Element.DataType MATRIX_2X2; Loading Loading @@ -27295,11 +27300,14 @@ package android.renderscript { method public static android.renderscript.RenderScript create(android.content.Context); method public static android.renderscript.RenderScript create(android.content.Context, android.renderscript.RenderScript.ContextType); method public static android.renderscript.RenderScript create(android.content.Context, android.renderscript.RenderScript.ContextType, int); method public static android.renderscript.RenderScript createMultiContext(android.content.Context, android.renderscript.RenderScript.ContextType, int, int); method public void destroy(); method public void finish(); method public final android.content.Context getApplicationContext(); method public android.renderscript.RenderScript.RSErrorHandler getErrorHandler(); method public android.renderscript.RenderScript.RSMessageHandler getMessageHandler(); method public static long getMinorID(); method public static void releaseAllContexts(); method public void sendMessage(int, int[]); method public void setErrorHandler(android.renderscript.RenderScript.RSErrorHandler); method public void setMessageHandler(android.renderscript.RenderScript.RSMessageHandler); Loading Loading @@ -27381,9 +27389,12 @@ package android.renderscript { public class Script extends android.renderscript.BaseObj { method public void bindAllocation(android.renderscript.Allocation, int); method protected android.renderscript.Script.FieldID createFieldID(int, android.renderscript.Element); method protected android.renderscript.Script.InvokeID createInvokeID(int); method protected android.renderscript.Script.KernelID createKernelID(int, int, android.renderscript.Element, android.renderscript.Element); method protected void forEach(int, android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.FieldPacker); method protected void forEach(int, android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.FieldPacker, android.renderscript.Script.LaunchOptions); method protected void forEach(int, android.renderscript.Allocation[], android.renderscript.Allocation, android.renderscript.FieldPacker); method protected void forEach(int, android.renderscript.Allocation[], android.renderscript.Allocation, android.renderscript.FieldPacker, android.renderscript.Script.LaunchOptions); method public boolean getVarB(int); method public double getVarD(int); method public float getVarF(int); Loading Loading @@ -27421,6 +27432,9 @@ package android.renderscript { public static final class Script.FieldID extends android.renderscript.BaseObj { } public static final class Script.InvokeID extends android.renderscript.BaseObj { } public static final class Script.KernelID extends android.renderscript.BaseObj { } Loading Loading @@ -27631,6 +27645,8 @@ package android.renderscript { method public static android.renderscript.Type createX(android.renderscript.RenderScript, android.renderscript.Element, int); method public static android.renderscript.Type createXY(android.renderscript.RenderScript, android.renderscript.Element, int, int); method public static android.renderscript.Type createXYZ(android.renderscript.RenderScript, android.renderscript.Element, int, int, int); method public int getArray(int); method public int getArrayCount(); method public int getCount(); method public android.renderscript.Element getElement(); method public int getX(); Loading @@ -27644,6 +27660,7 @@ package android.renderscript { public static class Type.Builder { ctor public Type.Builder(android.renderscript.RenderScript, android.renderscript.Element); method public android.renderscript.Type create(); method public android.renderscript.Type.Builder setArray(int, int); method public android.renderscript.Type.Builder setFaces(boolean); method public android.renderscript.Type.Builder setMipmaps(boolean); method public android.renderscript.Type.Builder setX(int); api/system-current.txt +17 −0 Original line number Diff line number Diff line Loading @@ -28798,6 +28798,10 @@ package android.renderscript { method public static android.renderscript.Element A_8(android.renderscript.RenderScript); method public static android.renderscript.Element BOOLEAN(android.renderscript.RenderScript); method public static android.renderscript.Element ELEMENT(android.renderscript.RenderScript); method public static android.renderscript.Element F16(android.renderscript.RenderScript); method public static android.renderscript.Element F16_2(android.renderscript.RenderScript); method public static android.renderscript.Element F16_3(android.renderscript.RenderScript); method public static android.renderscript.Element F16_4(android.renderscript.RenderScript); method public static android.renderscript.Element F32(android.renderscript.RenderScript); method public static android.renderscript.Element F32_2(android.renderscript.RenderScript); method public static android.renderscript.Element F32_3(android.renderscript.RenderScript); Loading Loading @@ -28896,6 +28900,7 @@ package android.renderscript { method public static android.renderscript.Element.DataType valueOf(java.lang.String); method public static final android.renderscript.Element.DataType[] values(); enum_constant public static final android.renderscript.Element.DataType BOOLEAN; enum_constant public static final android.renderscript.Element.DataType FLOAT_16; enum_constant public static final android.renderscript.Element.DataType FLOAT_32; enum_constant public static final android.renderscript.Element.DataType FLOAT_64; enum_constant public static final android.renderscript.Element.DataType MATRIX_2X2; Loading Loading @@ -29169,11 +29174,14 @@ package android.renderscript { method public static android.renderscript.RenderScript create(android.content.Context); method public static android.renderscript.RenderScript create(android.content.Context, android.renderscript.RenderScript.ContextType); method public static android.renderscript.RenderScript create(android.content.Context, android.renderscript.RenderScript.ContextType, int); method public static android.renderscript.RenderScript createMultiContext(android.content.Context, android.renderscript.RenderScript.ContextType, int, int); method public void destroy(); method public void finish(); method public final android.content.Context getApplicationContext(); method public android.renderscript.RenderScript.RSErrorHandler getErrorHandler(); method public android.renderscript.RenderScript.RSMessageHandler getMessageHandler(); method public static long getMinorID(); method public static void releaseAllContexts(); method public void sendMessage(int, int[]); method public void setErrorHandler(android.renderscript.RenderScript.RSErrorHandler); method public void setMessageHandler(android.renderscript.RenderScript.RSMessageHandler); Loading Loading @@ -29255,9 +29263,12 @@ package android.renderscript { public class Script extends android.renderscript.BaseObj { method public void bindAllocation(android.renderscript.Allocation, int); method protected android.renderscript.Script.FieldID createFieldID(int, android.renderscript.Element); method protected android.renderscript.Script.InvokeID createInvokeID(int); method protected android.renderscript.Script.KernelID createKernelID(int, int, android.renderscript.Element, android.renderscript.Element); method protected void forEach(int, android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.FieldPacker); method protected void forEach(int, android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.FieldPacker, android.renderscript.Script.LaunchOptions); method protected void forEach(int, android.renderscript.Allocation[], android.renderscript.Allocation, android.renderscript.FieldPacker); method protected void forEach(int, android.renderscript.Allocation[], android.renderscript.Allocation, android.renderscript.FieldPacker, android.renderscript.Script.LaunchOptions); method public boolean getVarB(int); method public double getVarD(int); method public float getVarF(int); Loading Loading @@ -29295,6 +29306,9 @@ package android.renderscript { public static final class Script.FieldID extends android.renderscript.BaseObj { } public static final class Script.InvokeID extends android.renderscript.BaseObj { } public static final class Script.KernelID extends android.renderscript.BaseObj { } Loading Loading @@ -29505,6 +29519,8 @@ package android.renderscript { method public static android.renderscript.Type createX(android.renderscript.RenderScript, android.renderscript.Element, int); method public static android.renderscript.Type createXY(android.renderscript.RenderScript, android.renderscript.Element, int, int); method public static android.renderscript.Type createXYZ(android.renderscript.RenderScript, android.renderscript.Element, int, int, int); method public int getArray(int); method public int getArrayCount(); method public int getCount(); method public android.renderscript.Element getElement(); method public int getX(); Loading @@ -29518,6 +29534,7 @@ package android.renderscript { public static class Type.Builder { ctor public Type.Builder(android.renderscript.RenderScript, android.renderscript.Element); method public android.renderscript.Type create(); method public android.renderscript.Type.Builder setArray(int, int); method public android.renderscript.Type.Builder setFaces(boolean); method public android.renderscript.Type.Builder setMipmaps(boolean); method public android.renderscript.Type.Builder setX(int); rs/java/android/renderscript/Element.java +0 −15 Original line number Diff line number Diff line Loading @@ -119,9 +119,6 @@ public class Element extends BaseObj { */ public enum DataType { NONE (0, 0), /** * @hide */ FLOAT_16 (1, 2), FLOAT_32 (2, 4), FLOAT_64 (3, 8), Loading Loading @@ -390,9 +387,6 @@ public class Element extends BaseObj { return rs.mElement_I64; } /** * @hide */ public static Element F16(RenderScript rs) { if(rs.mElement_F16 == null) { rs.mElement_F16 = createUser(rs, DataType.FLOAT_16); Loading Loading @@ -534,9 +528,6 @@ public class Element extends BaseObj { return rs.mElement_RGBA_8888; } /** * @hide */ public static Element F16_2(RenderScript rs) { if(rs.mElement_HALF_2 == null) { rs.mElement_HALF_2 = createVector(rs, DataType.FLOAT_16, 2); Loading @@ -544,9 +535,6 @@ public class Element extends BaseObj { return rs.mElement_HALF_2; } /** * @hide */ public static Element F16_3(RenderScript rs) { if(rs.mElement_FLOAT_3 == null) { rs.mElement_FLOAT_3 = createVector(rs, DataType.FLOAT_16, 3); Loading @@ -554,9 +542,6 @@ public class Element extends BaseObj { return rs.mElement_HALF_3; } /** * @hide */ public static Element F16_4(RenderScript rs) { if(rs.mElement_HALF_4 == null) { rs.mElement_HALF_4 = createVector(rs, DataType.FLOAT_16, 4); Loading rs/java/android/renderscript/RenderScript.java +3 −7 Original line number Diff line number Diff line Loading @@ -139,7 +139,8 @@ public class RenderScript { * Returns an identifier that can be used to identify a particular * minor version of RS. * * @hide * @return The minor RenderScript version number * */ public static long getMinorID() { return sMinorID; Loading Loading @@ -1321,7 +1322,6 @@ public class RenderScript { /** * Create a RenderScript context. * * @hide * @param ctx The context. * @return RenderScript */ Loading Loading @@ -1418,14 +1418,13 @@ public class RenderScript { /** * Gets or creates a RenderScript context of the specified type. * * @hide * @param ctx The context. * @param ct The type of context to be created. * @param sdkVersion The target SDK Version. * @param flags The OR of the CREATE_FLAG_* options desired * @return RenderScript */ public static RenderScript create(Context ctx, int sdkVersion, ContextType ct, int flags) { private static RenderScript create(Context ctx, int sdkVersion, ContextType ct, int flags) { if (sdkVersion < 23) { return internalCreate(ctx, sdkVersion, ct, flags); } Loading @@ -1448,8 +1447,6 @@ public class RenderScript { } /** * @hide * * Releases all the process contexts. This is the same as * calling .destroy() on each unique context retreived with * create(...). If no contexts have been created this Loading Loading @@ -1486,7 +1483,6 @@ public class RenderScript { * * If you need a single context please use create() * * @hide * @param ctx The context. * @return RenderScript */ Loading rs/java/android/renderscript/Script.java +3 −6 Original line number Diff line number Diff line Loading @@ -66,7 +66,6 @@ public class Script extends BaseObj { } /** * @hide Pending API review * InvokeID is an identifier for an invoke function. It is used * as an identifier for ScriptGroup creation. * Loading @@ -86,7 +85,6 @@ public class Script extends BaseObj { private final SparseArray<InvokeID> mIIDs = new SparseArray<InvokeID>(); /** * @hide Pending API review * Only to be used by generated reflected classes. */ protected InvokeID createInvokeID(int slot) { Loading Loading @@ -222,22 +220,21 @@ public class Script extends BaseObj { /** * Only intended for use by generated reflected code. * * @hide */ protected void forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v) { // FieldPacker is kept here to support regular params in the future. forEach(slot, ains, aout, v, null); } /** * Only intended for use by generated reflected code. * * @hide */ protected void forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v, LaunchOptions sc) { // TODO: Is this necessary if nScriptForEach calls validate as well? // FieldPacker is kept here to support regular params in the future. mRS.validate(); if (ains != null) { for (Allocation ain : ains) { Loading Loading
api/current.txt +17 −0 Original line number Diff line number Diff line Loading @@ -26924,6 +26924,10 @@ package android.renderscript { method public static android.renderscript.Element A_8(android.renderscript.RenderScript); method public static android.renderscript.Element BOOLEAN(android.renderscript.RenderScript); method public static android.renderscript.Element ELEMENT(android.renderscript.RenderScript); method public static android.renderscript.Element F16(android.renderscript.RenderScript); method public static android.renderscript.Element F16_2(android.renderscript.RenderScript); method public static android.renderscript.Element F16_3(android.renderscript.RenderScript); method public static android.renderscript.Element F16_4(android.renderscript.RenderScript); method public static android.renderscript.Element F32(android.renderscript.RenderScript); method public static android.renderscript.Element F32_2(android.renderscript.RenderScript); method public static android.renderscript.Element F32_3(android.renderscript.RenderScript); Loading Loading @@ -27022,6 +27026,7 @@ package android.renderscript { method public static android.renderscript.Element.DataType valueOf(java.lang.String); method public static final android.renderscript.Element.DataType[] values(); enum_constant public static final android.renderscript.Element.DataType BOOLEAN; enum_constant public static final android.renderscript.Element.DataType FLOAT_16; enum_constant public static final android.renderscript.Element.DataType FLOAT_32; enum_constant public static final android.renderscript.Element.DataType FLOAT_64; enum_constant public static final android.renderscript.Element.DataType MATRIX_2X2; Loading Loading @@ -27295,11 +27300,14 @@ package android.renderscript { method public static android.renderscript.RenderScript create(android.content.Context); method public static android.renderscript.RenderScript create(android.content.Context, android.renderscript.RenderScript.ContextType); method public static android.renderscript.RenderScript create(android.content.Context, android.renderscript.RenderScript.ContextType, int); method public static android.renderscript.RenderScript createMultiContext(android.content.Context, android.renderscript.RenderScript.ContextType, int, int); method public void destroy(); method public void finish(); method public final android.content.Context getApplicationContext(); method public android.renderscript.RenderScript.RSErrorHandler getErrorHandler(); method public android.renderscript.RenderScript.RSMessageHandler getMessageHandler(); method public static long getMinorID(); method public static void releaseAllContexts(); method public void sendMessage(int, int[]); method public void setErrorHandler(android.renderscript.RenderScript.RSErrorHandler); method public void setMessageHandler(android.renderscript.RenderScript.RSMessageHandler); Loading Loading @@ -27381,9 +27389,12 @@ package android.renderscript { public class Script extends android.renderscript.BaseObj { method public void bindAllocation(android.renderscript.Allocation, int); method protected android.renderscript.Script.FieldID createFieldID(int, android.renderscript.Element); method protected android.renderscript.Script.InvokeID createInvokeID(int); method protected android.renderscript.Script.KernelID createKernelID(int, int, android.renderscript.Element, android.renderscript.Element); method protected void forEach(int, android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.FieldPacker); method protected void forEach(int, android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.FieldPacker, android.renderscript.Script.LaunchOptions); method protected void forEach(int, android.renderscript.Allocation[], android.renderscript.Allocation, android.renderscript.FieldPacker); method protected void forEach(int, android.renderscript.Allocation[], android.renderscript.Allocation, android.renderscript.FieldPacker, android.renderscript.Script.LaunchOptions); method public boolean getVarB(int); method public double getVarD(int); method public float getVarF(int); Loading Loading @@ -27421,6 +27432,9 @@ package android.renderscript { public static final class Script.FieldID extends android.renderscript.BaseObj { } public static final class Script.InvokeID extends android.renderscript.BaseObj { } public static final class Script.KernelID extends android.renderscript.BaseObj { } Loading Loading @@ -27631,6 +27645,8 @@ package android.renderscript { method public static android.renderscript.Type createX(android.renderscript.RenderScript, android.renderscript.Element, int); method public static android.renderscript.Type createXY(android.renderscript.RenderScript, android.renderscript.Element, int, int); method public static android.renderscript.Type createXYZ(android.renderscript.RenderScript, android.renderscript.Element, int, int, int); method public int getArray(int); method public int getArrayCount(); method public int getCount(); method public android.renderscript.Element getElement(); method public int getX(); Loading @@ -27644,6 +27660,7 @@ package android.renderscript { public static class Type.Builder { ctor public Type.Builder(android.renderscript.RenderScript, android.renderscript.Element); method public android.renderscript.Type create(); method public android.renderscript.Type.Builder setArray(int, int); method public android.renderscript.Type.Builder setFaces(boolean); method public android.renderscript.Type.Builder setMipmaps(boolean); method public android.renderscript.Type.Builder setX(int);
api/system-current.txt +17 −0 Original line number Diff line number Diff line Loading @@ -28798,6 +28798,10 @@ package android.renderscript { method public static android.renderscript.Element A_8(android.renderscript.RenderScript); method public static android.renderscript.Element BOOLEAN(android.renderscript.RenderScript); method public static android.renderscript.Element ELEMENT(android.renderscript.RenderScript); method public static android.renderscript.Element F16(android.renderscript.RenderScript); method public static android.renderscript.Element F16_2(android.renderscript.RenderScript); method public static android.renderscript.Element F16_3(android.renderscript.RenderScript); method public static android.renderscript.Element F16_4(android.renderscript.RenderScript); method public static android.renderscript.Element F32(android.renderscript.RenderScript); method public static android.renderscript.Element F32_2(android.renderscript.RenderScript); method public static android.renderscript.Element F32_3(android.renderscript.RenderScript); Loading Loading @@ -28896,6 +28900,7 @@ package android.renderscript { method public static android.renderscript.Element.DataType valueOf(java.lang.String); method public static final android.renderscript.Element.DataType[] values(); enum_constant public static final android.renderscript.Element.DataType BOOLEAN; enum_constant public static final android.renderscript.Element.DataType FLOAT_16; enum_constant public static final android.renderscript.Element.DataType FLOAT_32; enum_constant public static final android.renderscript.Element.DataType FLOAT_64; enum_constant public static final android.renderscript.Element.DataType MATRIX_2X2; Loading Loading @@ -29169,11 +29174,14 @@ package android.renderscript { method public static android.renderscript.RenderScript create(android.content.Context); method public static android.renderscript.RenderScript create(android.content.Context, android.renderscript.RenderScript.ContextType); method public static android.renderscript.RenderScript create(android.content.Context, android.renderscript.RenderScript.ContextType, int); method public static android.renderscript.RenderScript createMultiContext(android.content.Context, android.renderscript.RenderScript.ContextType, int, int); method public void destroy(); method public void finish(); method public final android.content.Context getApplicationContext(); method public android.renderscript.RenderScript.RSErrorHandler getErrorHandler(); method public android.renderscript.RenderScript.RSMessageHandler getMessageHandler(); method public static long getMinorID(); method public static void releaseAllContexts(); method public void sendMessage(int, int[]); method public void setErrorHandler(android.renderscript.RenderScript.RSErrorHandler); method public void setMessageHandler(android.renderscript.RenderScript.RSMessageHandler); Loading Loading @@ -29255,9 +29263,12 @@ package android.renderscript { public class Script extends android.renderscript.BaseObj { method public void bindAllocation(android.renderscript.Allocation, int); method protected android.renderscript.Script.FieldID createFieldID(int, android.renderscript.Element); method protected android.renderscript.Script.InvokeID createInvokeID(int); method protected android.renderscript.Script.KernelID createKernelID(int, int, android.renderscript.Element, android.renderscript.Element); method protected void forEach(int, android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.FieldPacker); method protected void forEach(int, android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.FieldPacker, android.renderscript.Script.LaunchOptions); method protected void forEach(int, android.renderscript.Allocation[], android.renderscript.Allocation, android.renderscript.FieldPacker); method protected void forEach(int, android.renderscript.Allocation[], android.renderscript.Allocation, android.renderscript.FieldPacker, android.renderscript.Script.LaunchOptions); method public boolean getVarB(int); method public double getVarD(int); method public float getVarF(int); Loading Loading @@ -29295,6 +29306,9 @@ package android.renderscript { public static final class Script.FieldID extends android.renderscript.BaseObj { } public static final class Script.InvokeID extends android.renderscript.BaseObj { } public static final class Script.KernelID extends android.renderscript.BaseObj { } Loading Loading @@ -29505,6 +29519,8 @@ package android.renderscript { method public static android.renderscript.Type createX(android.renderscript.RenderScript, android.renderscript.Element, int); method public static android.renderscript.Type createXY(android.renderscript.RenderScript, android.renderscript.Element, int, int); method public static android.renderscript.Type createXYZ(android.renderscript.RenderScript, android.renderscript.Element, int, int, int); method public int getArray(int); method public int getArrayCount(); method public int getCount(); method public android.renderscript.Element getElement(); method public int getX(); Loading @@ -29518,6 +29534,7 @@ package android.renderscript { public static class Type.Builder { ctor public Type.Builder(android.renderscript.RenderScript, android.renderscript.Element); method public android.renderscript.Type create(); method public android.renderscript.Type.Builder setArray(int, int); method public android.renderscript.Type.Builder setFaces(boolean); method public android.renderscript.Type.Builder setMipmaps(boolean); method public android.renderscript.Type.Builder setX(int);
rs/java/android/renderscript/Element.java +0 −15 Original line number Diff line number Diff line Loading @@ -119,9 +119,6 @@ public class Element extends BaseObj { */ public enum DataType { NONE (0, 0), /** * @hide */ FLOAT_16 (1, 2), FLOAT_32 (2, 4), FLOAT_64 (3, 8), Loading Loading @@ -390,9 +387,6 @@ public class Element extends BaseObj { return rs.mElement_I64; } /** * @hide */ public static Element F16(RenderScript rs) { if(rs.mElement_F16 == null) { rs.mElement_F16 = createUser(rs, DataType.FLOAT_16); Loading Loading @@ -534,9 +528,6 @@ public class Element extends BaseObj { return rs.mElement_RGBA_8888; } /** * @hide */ public static Element F16_2(RenderScript rs) { if(rs.mElement_HALF_2 == null) { rs.mElement_HALF_2 = createVector(rs, DataType.FLOAT_16, 2); Loading @@ -544,9 +535,6 @@ public class Element extends BaseObj { return rs.mElement_HALF_2; } /** * @hide */ public static Element F16_3(RenderScript rs) { if(rs.mElement_FLOAT_3 == null) { rs.mElement_FLOAT_3 = createVector(rs, DataType.FLOAT_16, 3); Loading @@ -554,9 +542,6 @@ public class Element extends BaseObj { return rs.mElement_HALF_3; } /** * @hide */ public static Element F16_4(RenderScript rs) { if(rs.mElement_HALF_4 == null) { rs.mElement_HALF_4 = createVector(rs, DataType.FLOAT_16, 4); Loading
rs/java/android/renderscript/RenderScript.java +3 −7 Original line number Diff line number Diff line Loading @@ -139,7 +139,8 @@ public class RenderScript { * Returns an identifier that can be used to identify a particular * minor version of RS. * * @hide * @return The minor RenderScript version number * */ public static long getMinorID() { return sMinorID; Loading Loading @@ -1321,7 +1322,6 @@ public class RenderScript { /** * Create a RenderScript context. * * @hide * @param ctx The context. * @return RenderScript */ Loading Loading @@ -1418,14 +1418,13 @@ public class RenderScript { /** * Gets or creates a RenderScript context of the specified type. * * @hide * @param ctx The context. * @param ct The type of context to be created. * @param sdkVersion The target SDK Version. * @param flags The OR of the CREATE_FLAG_* options desired * @return RenderScript */ public static RenderScript create(Context ctx, int sdkVersion, ContextType ct, int flags) { private static RenderScript create(Context ctx, int sdkVersion, ContextType ct, int flags) { if (sdkVersion < 23) { return internalCreate(ctx, sdkVersion, ct, flags); } Loading @@ -1448,8 +1447,6 @@ public class RenderScript { } /** * @hide * * Releases all the process contexts. This is the same as * calling .destroy() on each unique context retreived with * create(...). If no contexts have been created this Loading Loading @@ -1486,7 +1483,6 @@ public class RenderScript { * * If you need a single context please use create() * * @hide * @param ctx The context. * @return RenderScript */ Loading
rs/java/android/renderscript/Script.java +3 −6 Original line number Diff line number Diff line Loading @@ -66,7 +66,6 @@ public class Script extends BaseObj { } /** * @hide Pending API review * InvokeID is an identifier for an invoke function. It is used * as an identifier for ScriptGroup creation. * Loading @@ -86,7 +85,6 @@ public class Script extends BaseObj { private final SparseArray<InvokeID> mIIDs = new SparseArray<InvokeID>(); /** * @hide Pending API review * Only to be used by generated reflected classes. */ protected InvokeID createInvokeID(int slot) { Loading Loading @@ -222,22 +220,21 @@ public class Script extends BaseObj { /** * Only intended for use by generated reflected code. * * @hide */ protected void forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v) { // FieldPacker is kept here to support regular params in the future. forEach(slot, ains, aout, v, null); } /** * Only intended for use by generated reflected code. * * @hide */ protected void forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v, LaunchOptions sc) { // TODO: Is this necessary if nScriptForEach calls validate as well? // FieldPacker is kept here to support regular params in the future. mRS.validate(); if (ains != null) { for (Allocation ain : ains) { Loading