Lines Matching refs:slot

39         KernelID(long id, RenderScript rs, Script s, int slot, int sig) {
42 mSlot = slot;
52 protected KernelID createKernelID(int slot, int sig, Element ein,
54 KernelID k = mKIDs.get(slot);
59 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig);
64 k = new KernelID(id, mRS, this, slot, sig);
65 mKIDs.put(slot, k);
80 InvokeID(long id, RenderScript rs, Script s, int slot) {
83 mSlot = slot;
91 protected InvokeID createInvokeID(int slot) {
92 InvokeID i = mIIDs.get(slot);
97 long id = mRS.nScriptInvokeIDCreate(getID(mRS), slot);
102 i = new InvokeID(id, mRS, this, slot);
103 mIIDs.put(slot, i);
118 FieldID(long id, RenderScript rs, Script s, int slot) {
121 mSlot = slot;
130 protected FieldID createFieldID(int slot, Element e) {
131 FieldID f = mFIDs.get(slot);
136 long id = mRS.nScriptFieldIDCreate(getID(mRS), slot);
141 f = new FieldID(id, mRS, this, slot);
142 mFIDs.put(slot, f);
151 protected void invoke(int slot) {
152 mRS.nScriptInvoke(getID(mRS), slot);
159 protected void invoke(int slot, FieldPacker v) {
161 mRS.nScriptInvokeV(getID(mRS), slot, v.getData());
163 mRS.nScriptInvoke(getID(mRS), slot);
171 protected void forEach(int slot, Allocation ain, Allocation aout,
173 forEach(slot, ain, aout, v, null);
180 protected void forEach(int slot, Allocation ain, Allocation aout,
220 mRS.nScriptForEach(getID(mRS), slot, in_ids, out_id, params, limits);
226 protected void forEach(int slot, Allocation[] ains, Allocation aout,
230 forEach(slot, ains, aout, v, null);
236 protected void forEach(int slot, Allocation[] ains, Allocation aout,
285 mRS.nScriptForEach(getID(mRS), slot, in_ids, out_id, params, limits);
292 protected void reduce(int slot, Allocation[] ains, Allocation aout, LaunchOptions sc) {
324 mRS.nScriptReduce(getID(mRS), slot, in_ids, out_id, limits);
352 public void bindAllocation(Allocation va, int slot) {
369 mRS.nScriptBindAllocation(getID(mRS), va.getID(mRS), slot);
371 mRS.nScriptBindAllocation(getID(mRS), 0, slot);