Lines Matching refs:name

53     /** Map from name of filter to the filter instance */
73 /** Map from name of filter to the filter instance */
88 * the graph already, and the filter's name must be unique within the graph.
91 * @throws IllegalArgumentException if the filter is in the graph already, or its name is
99 throw new IllegalArgumentException("Graph contains filter with name '"
111 * @param name the name of the variable.
115 public VariableSource addVariable(String name, Object value) {
116 if (getFilter(name) != null) {
117 throw new IllegalArgumentException("Filter named '" + name + "' exists already!");
119 VariableSource valueSource = new VariableSource(mContext, name);
127 public FrameSlotSource addFrameSlotSource(String name, String slotName) {
128 FrameSlotSource filter = new FrameSlotSource(mContext, name, slotName);
133 public FrameSlotTarget addFrameSlotTarget(String name, String slotName) {
134 FrameSlotTarget filter = new FrameSlotTarget(mContext, name, slotName);
143 * @param sourceFilterName The name of the source filter.
144 * @param sourcePort The name of the source port.
145 * @param targetFilterName The name of the target filter.
146 * @param targetPort The name of the target port.
165 * @param sourcePort The name of the source port.
167 * @param targetPort The name of the target port.
175 * Returns the filter with the specified name.
177 * @return the filter with the specified name, or null if no such filter exists.
179 public Filter getFilter(String name) {
180 return mFilterMap.get(name);
214 // Construct a name for our value source and make sure it does not exist already
369 * Returns the filter with the specified name.
371 * @return the filter with the specified name, or null if no such filter exists.
373 public Filter getFilter(String name) {
374 return mFilterMap.get(name);
383 * @param name The name of the VariableSource.
384 * @return The VariableSource filter instance with the specified name.
386 public VariableSource getVariable(String name) {
387 Filter result = mFilterMap.get(name);
391 throw new IllegalArgumentException("Unknown variable '" + name + "' specified!");
396 * Returns the GraphOutputTarget with the specified name.
398 * @param name The name of the target.
399 * @return The GraphOutputTarget instance with the specified name.
401 public GraphOutputTarget getGraphOutput(String name) {
402 Filter result = mFilterMap.get(name);
406 throw new IllegalArgumentException("Unknown target '" + name + "' specified!");
411 * Returns the GraphInputSource with the specified name.
413 * @param name The name of the source.
414 * @return The GraphInputSource instance with the specified name.
416 public GraphInputSource getGraphInput(String name) {
417 Filter result = mFilterMap.get(name);
421 throw new IllegalArgumentException("Unknown source '" + name + "' specified!");
431 * @param filterName the name of the filter to bind.