Lines Matching defs:to

10  * Unless required by applicable law or agreed to in writing, software
24 * The kernels may be connected internally or to an external allocation.
31 * Inputs bound to script globals are set directly upon the script.
35 * script kernels and connections. Attempting to create a
36 * ScriptGroup with multiple DAGs or attempting to create
40 * Script objects. Attempting to use multiple kernels from the same
58 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) {
60 mToK = to;
64 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) {
66 mToF = to;
97 * Allocation to be used for kernels that require an input
102 * @param a The allocation to connect.
117 * Allocation to be used for the kernels that require an output
122 * @param a The allocation to connect.
146 * Helper class to build a ScriptGroup. A ScriptGroup is
149 * First, all kernels to be used by the ScriptGroup should be added.
152 * of connections: kernel to kernel and kernel to field.
153 * Kernel to kernel allows a kernel's output to be passed to
154 * another kernel as input. Kernel to field allows the output of
155 * one kernel to be bound as a script global. Kernel to kernel is
164 * Once all connections are made, a call to {@link #create} will
274 * Adds a Kernel to the group.
277 * @param k The kernel to add.
304 * Adds a connection to the group.
307 * @param t The type of the connection. This is used to
311 * @param to The destination of the connection.
315 public Builder addConnection(Type t, Script.KernelID from, Script.FieldID to) {
316 //android.util.Log.v("RSR", "addConnection " + t +", " + from + ", " + to);
323 Node nt = findNode(to.mScript);
328 ConnectLine cl = new ConnectLine(t, from, to);
329 mLines.add(new ConnectLine(t, from, to));
339 * Adds a connection to the group.
342 * @param t The type of the connection. This is used to
346 * @param to The destination of the connection.
350 public Builder addConnection(Type t, Script.KernelID from, Script.KernelID to) {
351 //android.util.Log.v("RSR", "addConnection " + t +", " + from + ", " + to);
358 Node nt = findNode(to);
363 ConnectLine cl = new ConnectLine(t, from, to);
364 mLines.add(new ConnectLine(t, from, to));