Lines Matching refs:slot

70         KernelID(long id, RenderScript rs, Script s, int slot, int sig) {
73 mSlot = slot;
83 * @param slot
90 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) {
91 KernelID k = mKIDs.get(slot);
96 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig, mUseIncSupp);
101 k = new KernelID(id, mRS, this, slot, sig);
103 mKIDs.put(slot, k);
118 InvokeID(long id, RenderScript rs, Script s, int slot) {
121 mSlot = slot;
129 protected InvokeID createInvokeID(int slot) {
130 InvokeID i = mIIDs.get(slot);
135 long id = mRS.nScriptInvokeIDCreate(getID(mRS), slot);
140 i = new InvokeID(id, mRS, this, slot);
141 mIIDs.put(slot, i);
157 FieldID(long id, RenderScript rs, Script s, int slot) {
160 mSlot = slot;
168 * @param slot
173 protected FieldID createFieldID(int slot, Element e) {
174 FieldID f = mFIDs.get(slot);
179 long id = mRS.nScriptFieldIDCreate(getID(mRS), slot, mUseIncSupp);
184 f = new FieldID(id, mRS, this, slot);
185 mFIDs.put(slot, f);
192 * @param slot
194 protected void invoke(int slot) {
195 mRS.nScriptInvoke(getID(mRS), slot, mUseIncSupp);
201 * @param slot
204 protected void invoke(int slot, FieldPacker v) {
206 mRS.nScriptInvokeV(getID(mRS), slot, v.getData(), mUseIncSupp);
208 mRS.nScriptInvoke(getID(mRS), slot, mUseIncSupp);
216 * @param slot
218 public void bindAllocation(Allocation va, int slot) {
221 mRS.nScriptBindAllocation(getID(mRS), va.getID(mRS), slot, mUseIncSupp);
223 mRS.nScriptBindAllocation(getID(mRS), 0, slot, mUseIncSupp);
240 * @param slot
245 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) {
267 mRS.nScriptForEach(getID(mRS), slot, ainInc, aoutInc, params, mUseIncSupp);
269 mRS.nScriptForEach(getID(mRS), slot, in_id, out_id, params, mUseIncSupp);
276 * @param slot
282 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) {
289 forEach(slot, ain, aout, v);
308 mRS.nScriptForEachClipped(getID(mRS), slot, ainInc, aoutInc, params, sc.xstart, sc.xend, sc.ystart, sc.yend, sc.zstart, sc.zend, mUseIncSupp);
310 mRS.nScriptForEachClipped(getID(mRS), slot, in_id, out_id, params, sc.xstart, sc.xend, sc.ystart, sc.yend, sc.zstart, sc.zend, mUseIncSupp);
324 protected void forEach(int slot, Allocation[] ains, Allocation aout,
326 forEach(slot, ains, aout, v, null);
334 protected void forEach(int slot, Allocation[] ains, Allocation aout,
382 mRS.nScriptForEach(getID(mRS), slot, in_ids, out_id, params, limits);
390 protected void reduce(int slot, Allocation[] ains, Allocation aout, LaunchOptions sc) {
422 mRS.nScriptReduce(getID(mRS), slot, in_ids, out_id, limits);