Home
last modified time | relevance | path

Searched refs:mExprModel (Results 1 – 4 of 4) sorted by relevance

/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprModelTest.java93 ExprModel mExprModel; field in ExprModelTest
99 if (mExprModel != null && mExprModel.getFlagMapping() != null) {
100 final String[] mapping = mExprModel.getFlagMapping();
111 mExprModel = new ExprModel(); in setUp()
117 assertSame(d, mExprModel.register(d)); in testAddNormal()
118 assertSame(d, mExprModel.register(d)); in testAddNormal()
119 assertEquals(1, mExprModel.mExprMap.size()); in testAddNormal()
125 assertSame(d, mExprModel.register(d)); in testAddDupe1()
126 assertSame(d, mExprModel.register(new DummyExpr("a"))); in testAddDupe1()
127 assertEquals(1, mExprModel.mExprMap.size()); in testAddDupe1()
[all …]
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/
DLayoutBinderTest.java39 ExprModel mExprModel; field in LayoutBinderTest
43 mExprModel = mLayoutBinder.getModel(); in setUp()
49 int originalSize = mExprModel.size(); in testRegisterId()
51 assertEquals(originalSize + 1, mExprModel.size()); in testRegisterId()
63 int originalSize = mExprModel.size(); in testRegisterImport()
64 mExprModel.addImport("test", "java.lang.String", null); in testRegisterImport()
65 assertEquals(originalSize + 1, mExprModel.size()); in testRegisterImport()
77 int originalSize = mExprModel.size(); in testParse()
82 assertEquals(originalSize + 3, mExprModel.size()); in testParse()
83 final List<Expr> bindingExprs = mExprModel.getBindingExpressions(); in testParse()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DLayoutBinder.java58 private final ExprModel mExprModel; field in LayoutBinder
171 mExprModel = new ExprModel(); in LayoutBinder()
172 mExpressionParser = new ExpressionParser(mExprModel); in LayoutBinder()
184 mExprModel.addImport(userImport.name, userImport.type, userImport.location); in LayoutBinder()
188 mExprModel.builtInVariable("context", "android.content.Context", in LayoutBinder()
193 mExprModel.addImport(javaLangClass, "java.lang." + javaLangClass, null); in LayoutBinder()
208 mExprModel.viewFieldExpr(bindingTarget); in LayoutBinder()
275 final IdentifierExpr id = mExprModel.identifier(name); in addVariable()
295 target.setModel(mExprModel); in createBindingTarget()
314 return mExprModel.size() == 0; in isEmpty()
[all …]
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...