Home
last modified time | relevance | path

Searched refs:bindingComponent (Results 1 – 6 of 6) sorted by relevance

/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DDataBindingUtil.java47 public static void setDefaultComponent(DataBindingComponent bindingComponent) { in setDefaultComponent() argument
48 sDefaultComponent = bindingComponent; in setDefaultComponent()
113 boolean attachToParent, DataBindingComponent bindingComponent) { in inflate() argument
118 return bindToAddedViews(bindingComponent, parent, startChildren, layoutId); in inflate()
120 return bind(bindingComponent, view, layoutId); in inflate()
159 DataBindingComponent bindingComponent) { in bind() argument
173 return (T) sMapper.getDataBinder(bindingComponent, root, layoutId); in bind()
178 static <T extends ViewDataBinding> T bind(DataBindingComponent bindingComponent, View[] roots, in bind() argument
180 return (T) sMapper.getDataBinder(bindingComponent, roots, layoutId); in bind()
183 static <T extends ViewDataBinding> T bind(DataBindingComponent bindingComponent, View root, in bind() argument
[all …]
DDataBinderMapper.java28 public ViewDataBinding getDataBinder(DataBindingComponent bindingComponent, View view, in getDataBinder() argument
32 … ViewDataBinding getDataBinder(DataBindingComponent bindingComponent, View[] view, int layoutId) { in getDataBinder() argument
DViewDataBinding.java226 … protected ViewDataBinding(DataBindingComponent bindingComponent, View root, int localFieldCount) { in ViewDataBinding() argument
227 mBindingComponent = bindingComponent; in ViewDataBinding()
545 protected static ViewDataBinding bind(DataBindingComponent bindingComponent, View view, in bind() argument
547 return DataBindingUtil.bind(bindingComponent, view, layoutId); in bind()
565 protected static Object[] mapBindings(DataBindingComponent bindingComponent, View root, in mapBindings() argument
568 mapBindings(bindingComponent, root, bindings, includes, viewsWithIds, true); in mapBindings()
975 protected static Object[] mapBindings(DataBindingComponent bindingComponent, View[] roots, in mapBindings() argument
979 mapBindings(bindingComponent, roots[i], bindings, includes, viewsWithIds, true); in mapBindings()
984 private static void mapBindings(DataBindingComponent bindingComponent, View view, in mapBindings() argument
1050 bindings[index] = DataBindingUtil.bind(bindingComponent, child, in mapBindings()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DMergedBinding.java98 public String toJavaCode(String targetViewName, String bindingComponent) { in toJavaCode() argument
115 return mMultiAttributeSetter.toJava(bindingComponent, targetViewName, expressions); in toJavaCode()
DBinding.java184 public String toJavaCode(String targetViewName, String bindingComponent) { in toJavaCode() argument
188 return getSetterCall().toJava(bindingComponent, targetViewName, currentValue, argCode); in toJavaCode()
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DLayoutBinderWriter.kt509 …nl("public $className(android.databinding.DataBindingComponent bindingComponent, $parameterType ro… in <lambda>()
510 …tab("this(bindingComponent, $superParam, mapBindings(bindingComponent, root, $bindingCount, sInclu… in <lambda>()
513 …nl("private $className(android.databinding.DataBindingComponent bindingComponent, $parameterType r… in <lambda>()
514 tab("super(bindingComponent, $superParam, ${model.observables.size}") { in <lambda>()
522 …nl("public $baseClassName(android.databinding.DataBindingComponent bindingComponent, $parameterTyp… in <lambda>()
523 tab("super(bindingComponent, $superParam, ${model.observables.size});") in <lambda>()
524 …tab("final Object[] bindings = mapBindings(bindingComponent, root, $bindingCount, sIncludes, sView… in <lambda>()