/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 221 Allocation(int id, RenderScript rs, Type t, int usage) { argument 222 super(id, rs); 1209 static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { argument 1210 if (rs.isNative) { 1211 RenderScriptThunker rst = (RenderScriptThunker)rs; 1214 rs.validate(); 1215 if (type.getID(rs) == 0) { 1218 int id = rs.nAllocationCreateTyped(type.getID(rs), mips.mID, usage, 0); 1222 return new Allocation(id, rs, typ 1236 createTyped(RenderScript rs, Type type, int usage) argument 1249 createTyped(RenderScript rs, Type type) argument 1264 createSized(RenderScript rs, Element e, int count, int usage) argument 1291 createSized(RenderScript rs, Element e, int count) argument 1295 elementFromBitmap(RenderScript rs, Bitmap b) argument 1312 typeFromBitmap(RenderScript rs, Bitmap b, MipmapControl mip) argument 1335 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 1392 createFromBitmap(RenderScript rs, Bitmap b) argument 1412 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 1459 createCubemapFromBitmap(RenderScript rs, Bitmap b) argument 1483 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument 1552 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument 1579 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument 1609 createFromBitmapResource(RenderScript rs, Resources res, int id) argument 1626 createFromString(RenderScript rs, String str, int usage) argument [all...] |
H A D | AllocationThunker.java | 75 AllocationThunker(RenderScript rs, Type t, int usage, android.renderscript.Allocation na) { argument 76 super(0, rs, t, usage); 394 static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { argument 395 RenderScriptThunker rst = (RenderScriptThunker)rs; 403 return new AllocationThunker(rs, type, usage, a); 409 static public Allocation createFromBitmap(RenderScript rs, Bitmap b, argument 413 RenderScriptThunker rst = (RenderScriptThunker)rs; 419 TypeThunker tt = new TypeThunker(rs, a.getType()); 420 return new AllocationThunker(rs, tt, usage, a); 427 static public Allocation createCubemapFromBitmap(RenderScript rs, Bitma argument 442 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument 464 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument 482 createFromString(RenderScript rs, String str, int usage) argument 497 createSized(RenderScript rs, Element e, int count, int usage) argument [all...] |
H A D | BaseObj.java | 29 BaseObj(int id, RenderScript rs) { argument 30 rs.validate(); 31 mRS = rs; 47 * @param rs Context to verify against internal context for 52 int getID(RenderScript rs) { argument 60 if ((rs != null) && (rs != mRS)) {
|
H A D | Element.java | 305 * @param rs Context to which the element will belong. 309 public static Element BOOLEAN(RenderScript rs) { argument 310 if(rs.mElement_BOOLEAN == null) { 311 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); 313 return rs.mElement_BOOLEAN; 319 * @param rs Context to which the element will belong. 323 public static Element U8(RenderScript rs) { argument 324 if(rs.mElement_U8 == null) { 325 rs 337 I8(RenderScript rs) argument 344 U16(RenderScript rs) argument 351 I16(RenderScript rs) argument 358 U32(RenderScript rs) argument 365 I32(RenderScript rs) argument 372 U64(RenderScript rs) argument 379 I64(RenderScript rs) argument 386 F32(RenderScript rs) argument 393 F64(RenderScript rs) argument 400 ELEMENT(RenderScript rs) argument 407 TYPE(RenderScript rs) argument 414 ALLOCATION(RenderScript rs) argument 421 SAMPLER(RenderScript rs) argument 428 SCRIPT(RenderScript rs) argument 436 A_8(RenderScript rs) argument 443 RGB_565(RenderScript rs) argument 450 RGB_888(RenderScript rs) argument 457 RGBA_5551(RenderScript rs) argument 464 RGBA_4444(RenderScript rs) argument 471 RGBA_8888(RenderScript rs) argument 478 F32_2(RenderScript rs) argument 485 F32_3(RenderScript rs) argument 492 F32_4(RenderScript rs) argument 499 F64_2(RenderScript rs) argument 506 F64_3(RenderScript rs) argument 513 F64_4(RenderScript rs) argument 520 U8_2(RenderScript rs) argument 527 U8_3(RenderScript rs) argument 534 U8_4(RenderScript rs) argument 541 I8_2(RenderScript rs) argument 548 I8_3(RenderScript rs) argument 555 I8_4(RenderScript rs) argument 562 U16_2(RenderScript rs) argument 569 U16_3(RenderScript rs) argument 576 U16_4(RenderScript rs) argument 583 I16_2(RenderScript rs) argument 590 I16_3(RenderScript rs) argument 597 I16_4(RenderScript rs) argument 604 U32_2(RenderScript rs) argument 611 U32_3(RenderScript rs) argument 618 U32_4(RenderScript rs) argument 625 I32_2(RenderScript rs) argument 632 I32_3(RenderScript rs) argument 639 I32_4(RenderScript rs) argument 646 U64_2(RenderScript rs) argument 653 U64_3(RenderScript rs) argument 660 U64_4(RenderScript rs) argument 667 I64_2(RenderScript rs) argument 674 I64_3(RenderScript rs) argument 681 I64_4(RenderScript rs) argument 688 MATRIX_4X4(RenderScript rs) argument 695 MATRIX_3X3(RenderScript rs) argument 702 MATRIX_2X2(RenderScript rs) argument 709 Element(int id, RenderScript rs, Element[] e, String[] n, int[] as) argument 726 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) argument 745 Element(int id, RenderScript rs) argument 757 createUser(RenderScript rs, DataType dt) argument 782 createVector(RenderScript rs, DataType dt, int size) argument 829 createPixel(RenderScript rs, DataType dt, DataKind dk) argument 931 Builder(RenderScript rs) argument [all...] |
H A D | ElementThunker.java | 171 ElementThunker(RenderScript rs, android.renderscript.Element e) { argument 172 super(0, rs); 177 static Element create(RenderScript rs, DataType dt) { argument 178 RenderScriptThunker rst = (RenderScriptThunker)rs; 244 return new ElementThunker(rs, e); 250 public static Element createVector(RenderScript rs, DataType dt, int size) { argument 251 RenderScriptThunker rst = (RenderScriptThunker)rs; 255 return new ElementThunker(rs, e); 261 public static Element createPixel(RenderScript rs, DataType dt, DataKind dk) { argument 262 RenderScriptThunker rst = (RenderScriptThunker)rs; 284 BuilderThunker(RenderScript rs) argument 302 create(RenderScript rs) argument [all...] |
H A D | RenderScript.java | 97 // get the value of the debug.rs.forcecompat property 103 Object[] args = {"debug.rs.forcecompat", new Integer(0)}; 153 //android.util.Log.e("rs", "war on"); 887 MessageThread(RenderScript rs) { argument 889 mRS = rs; 987 RenderScript rs = new RenderScript(ctx); 1024 rs.mDev = rs.nDeviceCreate(); 1025 rs.mContext = rs [all...] |
H A D | RenderScriptThunker.java | 57 RenderScriptThunker rs = new RenderScriptThunker(ctx); 62 rs.mN = (android.renderscript.RenderScript)create.invoke(null, args); 63 return rs;
|
H A D | Sampler.java | 65 Sampler(int id, RenderScript rs) { argument 66 super(id, rs); 108 * @param rs Context to which the sampler will belong. 112 public static Sampler CLAMP_NEAREST(RenderScript rs) { argument 113 if(rs.mSampler_CLAMP_NEAREST == null) { 114 Builder b = new Builder(rs); 119 rs.mSampler_CLAMP_NEAREST = b.create(); 121 return rs.mSampler_CLAMP_NEAREST; 128 * @param rs Context to which the sampler will belong. 132 public static Sampler CLAMP_LINEAR(RenderScript rs) { argument 152 CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) argument 172 WRAP_NEAREST(RenderScript rs) argument 192 WRAP_LINEAR(RenderScript rs) argument 212 WRAP_LINEAR_MIP_LINEAR(RenderScript rs) argument 232 MIRRORED_REPEAT_NEAREST(RenderScript rs) argument 252 MIRRORED_REPEAT_LINEAR(RenderScript rs) argument 277 Builder(RenderScript rs) argument [all...] |
H A D | SamplerThunker.java | 36 protected SamplerThunker(int id, RenderScript rs) { argument 37 super(id, rs); 78 public Builder(RenderScriptThunker rs) { argument 79 mRS = rs;
|
H A D | Script.java | 46 KernelID(int id, RenderScript rs, Script s, int slot, int sig) { argument 47 super(id, rs); 107 FieldID(int id, RenderScript rs, Script s, int slot) { argument 108 super(id, rs); 291 Script(int id, RenderScript rs) { argument 292 super(id, rs); 424 Builder(RenderScript rs) { argument 425 mRS = rs; 438 protected void init(RenderScript rs, int dimx) { argument 439 mAllocation = Allocation.createSized(rs, mElemen 442 init(RenderScript rs, int dimx, int usages) argument [all...] |
H A D | ScriptC.java | 43 * @param rs 45 protected ScriptC(int id, RenderScript rs) { argument 46 super(id, rs); 53 * @param rs 57 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { argument 58 super(0, rs); 60 if (rs.isNative) { 61 RenderScriptThunker rst = (RenderScriptThunker)rs; 67 int id = internalCreate(rs, resources, resourceID); 75 private static synchronized int internalCreate(RenderScript rs, Resource argument [all...] |
H A D | ScriptCThunker.java | 38 protected ScriptCThunker(RenderScriptThunker rs, Resources resources, int resourceID) { argument 39 super(rs.mN, resources, resourceID);
|
H A D | ScriptGroup.java | 93 ScriptGroup(int id, RenderScript rs) { argument 94 super(id, rs); 182 * @param rs The RenderScript context. 184 public Builder(RenderScript rs) { argument 185 if (rs.isNative) { 186 mT = new ScriptGroupThunker.Builder(rs); 188 mRS = rs;
|
H A D | ScriptGroupThunker.java | 29 ScriptGroupThunker(int id, RenderScript rs) { argument 30 super(id, rs); 65 Builder(RenderScript rs) { argument 66 RenderScriptThunker rst = (RenderScriptThunker) rs; 67 mRS = rs;
|
H A D | ScriptIntrinsic.java | 28 ScriptIntrinsic(int id, RenderScript rs) { argument 29 super(id, rs);
|
H A D | ScriptIntrinsic3DLUT.java | 34 protected ScriptIntrinsic3DLUT(int id, RenderScript rs, Element e) { argument 35 super(id, rs); 44 * @param rs The RenderScript context 49 public static ScriptIntrinsic3DLUT create(RenderScript rs, Element e) { argument 50 if (rs.isNative) { 51 RenderScriptThunker rst = (RenderScriptThunker) rs; 52 return ScriptIntrinsic3DLUTThunker.create(rs, e); 54 int id = rs.nScriptIntrinsicCreate(8, e.getID(rs)); 56 if (!e.isCompatible(Element.U8_4(rs))) { [all...] |
H A D | ScriptIntrinsic3DLUTThunker.java | 32 private ScriptIntrinsic3DLUTThunker(int id, RenderScript rs, Element e) { argument 33 super(id, rs, e); 36 public static ScriptIntrinsic3DLUTThunker create(RenderScript rs, Element e) { argument 37 RenderScriptThunker rst = (RenderScriptThunker) rs; 40 ScriptIntrinsic3DLUTThunker lut = new ScriptIntrinsic3DLUTThunker(0, rs, e);
|
H A D | ScriptIntrinsicBlend.java | 25 ScriptIntrinsicBlend(int id, RenderScript rs) { argument 26 super(id, rs); 32 * @param rs The RenderScript context 37 public static ScriptIntrinsicBlend create(RenderScript rs, Element e) { argument 38 if (rs.isNative) { 39 RenderScriptThunker rst = (RenderScriptThunker) rs; 40 return ScriptIntrinsicBlendThunker.create(rs, e); 43 int id = rs.nScriptIntrinsicCreate(7, e.getID(rs)); 44 return new ScriptIntrinsicBlend(id, rs); [all...] |
H A D | ScriptIntrinsicBlendThunker.java | 26 ScriptIntrinsicBlendThunker(int id, RenderScript rs) { argument 27 super(id, rs); 30 public static ScriptIntrinsicBlendThunker create(RenderScript rs, Element e) { argument 31 RenderScriptThunker rst = (RenderScriptThunker) rs; 34 ScriptIntrinsicBlendThunker blend = new ScriptIntrinsicBlendThunker(0, rs);
|
H A D | ScriptIntrinsicBlur.java | 33 protected ScriptIntrinsicBlur(int id, RenderScript rs) { argument 34 super(id, rs); 43 * @param rs The RenderScript context 48 public static ScriptIntrinsicBlur create(RenderScript rs, Element e) { argument 49 if (rs.isNative) { 50 RenderScriptThunker rst = (RenderScriptThunker) rs; 51 return ScriptIntrinsicBlurThunker.create(rs, e); 53 if ((!e.isCompatible(Element.U8_4(rs))) && (!e.isCompatible(Element.U8(rs)))) { 56 int id = rs [all...] |
H A D | ScriptIntrinsicBlurThunker.java | 31 protected ScriptIntrinsicBlurThunker(int id, RenderScript rs) { argument 32 super(id, rs); 35 public static ScriptIntrinsicBlurThunker create(RenderScript rs, Element e) { argument 36 RenderScriptThunker rst = (RenderScriptThunker) rs; 39 ScriptIntrinsicBlurThunker blur = new ScriptIntrinsicBlurThunker(0, rs);
|
H A D | ScriptIntrinsicColorMatrix.java | 34 protected ScriptIntrinsicColorMatrix(int id, RenderScript rs) { argument 35 super(id, rs); 44 * @param rs The RenderScript context 49 public static ScriptIntrinsicColorMatrix create(RenderScript rs, Element e) { argument 50 if (rs.isNative) { 51 RenderScriptThunker rst = (RenderScriptThunker) rs; 52 return ScriptIntrinsicColorMatrixThunker.create(rs, e); 55 if (!e.isCompatible(Element.U8_4(rs))) { 58 int id = rs.nScriptIntrinsicCreate(2, e.getID(rs)); [all...] |
H A D | ScriptIntrinsicColorMatrixThunker.java | 28 private ScriptIntrinsicColorMatrixThunker(int id, RenderScript rs) { argument 29 super(id, rs); 32 public static ScriptIntrinsicColorMatrixThunker create(RenderScript rs, Element e) { argument 33 RenderScriptThunker rst = (RenderScriptThunker) rs; 36 ScriptIntrinsicColorMatrixThunker cm = new ScriptIntrinsicColorMatrixThunker(0, rs);
|
H A D | ScriptIntrinsicConvolve3x3.java | 29 ScriptIntrinsicConvolve3x3(int id, RenderScript rs) { argument 30 super(id, rs); 44 * @param rs The RenderScript context 49 public static ScriptIntrinsicConvolve3x3 create(RenderScript rs, Element e) { argument 50 if (rs.isNative) { 51 RenderScriptThunker rst = (RenderScriptThunker) rs; 52 return ScriptIntrinsicConvolve3x3Thunker.create(rs, e); 56 if (!e.isCompatible(Element.U8_4(rs))) { 59 int id = rs.nScriptIntrinsicCreate(1, e.getID(rs)); [all...] |
H A D | ScriptIntrinsicConvolve3x3Thunker.java | 29 ScriptIntrinsicConvolve3x3Thunker(int id, RenderScript rs) { argument 30 super(id, rs); 33 public static ScriptIntrinsicConvolve3x3Thunker create(RenderScript rs, Element e) { argument 34 RenderScriptThunker rst = (RenderScriptThunker) rs; 37 ScriptIntrinsicConvolve3x3Thunker si = new ScriptIntrinsicConvolve3x3Thunker(0, rs);
|