Lines Matching defs:slot
39 KernelID(int id, RenderScript rs, Script s, int slot, int sig) {
42 mSlot = slot;
51 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) {
52 KernelID k = mKIDs.get(slot);
57 int id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig);
62 k = new KernelID(id, mRS, this, slot, sig);
63 mKIDs.put(slot, k);
78 FieldID(int id, RenderScript rs, Script s, int slot) {
81 mSlot = slot;
89 protected FieldID createFieldID(int slot, Element e) {
90 FieldID f = mFIDs.get(slot);
95 int id = mRS.nScriptFieldIDCreate(getID(mRS), slot);
100 f = new FieldID(id, mRS, this, slot);
101 mFIDs.put(slot, f);
110 protected void invoke(int slot) {
111 mRS.nScriptInvoke(getID(mRS), slot);
118 protected void invoke(int slot, FieldPacker v) {
120 mRS.nScriptInvokeV(getID(mRS), slot, v.getData());
122 mRS.nScriptInvoke(getID(mRS), slot);
130 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) {
147 mRS.nScriptForEach(getID(mRS), slot, in_id, out_id, params);
154 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) {
161 forEach(slot, ain, aout, v);
176 mRS.nScriptForEachClipped(getID(mRS), slot, in_id, out_id, params, sc.xstart, sc.xend, sc.ystart, sc.yend, sc.zstart, sc.zend);
188 public void bindAllocation(Allocation va, int slot) {
191 mRS.nScriptBindAllocation(getID(mRS), va.getID(mRS), slot);
193 mRS.nScriptBindAllocation(getID(mRS), 0, slot);