Searched refs:argsAndBindings (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptGroup.java | 997 public Closure addKernel(Script.KernelID k, Type returnType, Object... argsAndBindings) { in addKernel() argument 1000 if (!seperateArgsAndBindings(argsAndBindings, args, bindingMap)) { in addKernel() 1014 public Closure addInvoke(Script.InvokeID invoke, Object... argsAndBindings) { in addInvoke() argument 1017 if (!seperateArgsAndBindings(argsAndBindings, args, bindingMap)) { in addInvoke() 1045 private boolean seperateArgsAndBindings(Object[] argsAndBindings, in seperateArgsAndBindings() argument 1049 for (i = 0; i < argsAndBindings.length; i++) { in seperateArgsAndBindings() 1050 if (argsAndBindings[i] instanceof Binding) { in seperateArgsAndBindings() 1053 args.add(argsAndBindings[i]); in seperateArgsAndBindings() 1056 for (; i < argsAndBindings.length; i++) { in seperateArgsAndBindings() 1057 if (!(argsAndBindings[i] instanceof Binding)) { in seperateArgsAndBindings() [all …]
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptGroup.java | 1115 public Closure addKernel(Script.KernelID k, Type returnType, Object... argsAndBindings) { in addKernel() argument 1118 if (!seperateArgsAndBindings(argsAndBindings, args, bindingMap)) { in addKernel() 1132 public Closure addInvoke(Script.InvokeID invoke, Object... argsAndBindings) { in addInvoke() argument 1135 if (!seperateArgsAndBindings(argsAndBindings, args, bindingMap)) { in addInvoke() 1159 private boolean seperateArgsAndBindings(Object[] argsAndBindings, in seperateArgsAndBindings() argument 1163 for (i = 0; i < argsAndBindings.length; i++) { in seperateArgsAndBindings() 1164 if (argsAndBindings[i] instanceof Binding) { in seperateArgsAndBindings() 1167 args.add(argsAndBindings[i]); in seperateArgsAndBindings() 1170 for (; i < argsAndBindings.length; i++) { in seperateArgsAndBindings() 1171 if (!(argsAndBindings[i] instanceof Binding)) { in seperateArgsAndBindings() [all …]
|