Lines Matching defs:root

76      *               a set of LayoutParams values for root of the returned hierarchy
80 * the correct subclass of LayoutParams for the root view in the XML.
101 * a set of LayoutParams values for root of the returned hierarchy
105 * the correct subclass of LayoutParams for the root view in the XML.
136 * Returns the binding for the given layout root or creates a binding if one
141 * when it is known that <code>root</code> has not yet been bound.
143 * @param root The root View of the inflated binding layout.
144 * @return A ViewDataBinding for the given root View. If one already exists, the
146 * @throws IllegalArgumentException when root is not from an inflated binding layout.
150 public static <T extends ViewDataBinding> T bind(View root) {
151 return bind(root, sDefaultComponent);
155 * Returns the binding for the given layout root or creates a binding if one
159 * when it is known that <code>root</code> has not yet been bound.
161 * @param root The root View of the inflated binding layout.
163 * @return A ViewDataBinding for the given root View. If one already exists, the
165 * @throws IllegalArgumentException when root is not from an inflated binding layout.
169 public static <T extends ViewDataBinding> T bind(View root,
171 T binding = getBinding(root);
175 Object tagObj = root.getTag();
184 return (T) sMapper.getDataBinder(bindingComponent, root, layoutId);
194 static <T extends ViewDataBinding> T bind(DataBindingComponent bindingComponent, View root,
196 return (T) sMapper.getDataBinder(bindingComponent, root, layoutId);
201 * binding layout root, its parents will be searched for the binding. If there is no binding,
205 * layout and searches for the binding associated with the root. <code>getBinding</code>
206 * takes only the root view.
250 * Retrieves the binding responsible for the given View layout root. If there is no binding,
254 * @param view The root <code>View</code> in the layout with binding.
256 * either the view is not a root View for a layout or view hasn't been bound.