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.
125 * Returns the binding for the given layout root or creates a binding if one
130 * when it is known that <code>root</code> has not yet been bound.
132 * @param root The root View of the inflated binding layout.
133 * @return A ViewDataBinding for the given root View. If one already exists, the
135 * @throws IllegalArgumentException when root is not from an inflated binding layout.
139 public static <T extends ViewDataBinding> T bind(View root) {
140 return bind(root, sDefaultComponent);
144 * Returns the binding for the given layout root or creates a binding if one
148 * when it is known that <code>root</code> has not yet been bound.
150 * @param root The root View of the inflated binding layout.
152 * @return A ViewDataBinding for the given root View. If one already exists, the
154 * @throws IllegalArgumentException when root is not from an inflated binding layout.
158 public static <T extends ViewDataBinding> T bind(View root,
160 T binding = getBinding(root);
164 Object tagObj = root.getTag();
173 return (T) sMapper.getDataBinder(bindingComponent, root, layoutId);
183 static <T extends ViewDataBinding> T bind(DataBindingComponent bindingComponent, View root,
185 return (T) sMapper.getDataBinder(bindingComponent, root, layoutId);
190 * binding layout root, its parents will be searched for the binding. If there is no binding,
194 * layout and searches for the binding associated with the root. <code>getBinding</code>
195 * takes only the root view.
239 * Retrieves the binding responsible for the given View layout root. If there is no binding,
243 * @param view The root <code>View</code> in the layout with binding.
245 * either the view is not a root View for a layout or view hasn't been bound.