Home
last modified time | relevance | path

Searched refs:argsAndBindings (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
DScriptGroup.java992 public Closure addKernel(Script.KernelID k, Type returnType, Object... argsAndBindings) { in addKernel() argument
995 if (!seperateArgsAndBindings(argsAndBindings, args, bindingMap)) { in addKernel()
1009 public Closure addInvoke(Script.InvokeID invoke, Object... argsAndBindings) { in addInvoke() argument
1012 if (!seperateArgsAndBindings(argsAndBindings, args, bindingMap)) { in addInvoke()
1040 private boolean seperateArgsAndBindings(Object[] argsAndBindings, in seperateArgsAndBindings() argument
1044 for (i = 0; i < argsAndBindings.length; i++) { in seperateArgsAndBindings()
1045 if (argsAndBindings[i] instanceof Binding) { in seperateArgsAndBindings()
1048 args.add(argsAndBindings[i]); in seperateArgsAndBindings()
1051 for (; i < argsAndBindings.length; i++) { in seperateArgsAndBindings()
1052 if (!(argsAndBindings[i] instanceof Binding)) { in seperateArgsAndBindings()
[all …]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptGroup.java1110 public Closure addKernel(Script.KernelID k, Type returnType, Object... argsAndBindings) { in addKernel() argument
1113 if (!seperateArgsAndBindings(argsAndBindings, args, bindingMap)) { in addKernel()
1127 public Closure addInvoke(Script.InvokeID invoke, Object... argsAndBindings) { in addInvoke() argument
1130 if (!seperateArgsAndBindings(argsAndBindings, args, bindingMap)) { in addInvoke()
1154 private boolean seperateArgsAndBindings(Object[] argsAndBindings, in seperateArgsAndBindings() argument
1158 for (i = 0; i < argsAndBindings.length; i++) { in seperateArgsAndBindings()
1159 if (argsAndBindings[i] instanceof Binding) { in seperateArgsAndBindings()
1162 args.add(argsAndBindings[i]); in seperateArgsAndBindings()
1165 for (; i < argsAndBindings.length; i++) { in seperateArgsAndBindings()
1166 if (!(argsAndBindings[i] instanceof Binding)) { in seperateArgsAndBindings()
[all …]