Searched refs:getPred (Results 1 – 4 of 4) sorted by relevance
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
D | TernaryExpr.java | 32 public Expr getPred() { in getPred() method in TernaryExpr 51 if (getPred().isDynamic()) { in getInvertibleError() 53 getPred().toFullCode(); in getInvertibleError() 85 Expr predExpr = getPred(); in constructDependencies() 103 return getPred().getInvalidFlags(); in getPredicateInvalidFlags() 109 .app("", getPred().toCode(expand)) in generateCode() 118 .app("if (", getPred().toCode(true)) in toInverseCode()
|
D | Expr.java | 730 return ternary.getPred() == this; in hasConditionalDependant()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/ |
D | ExprModelTest.java | 174 assertExactMatch(shouldRead, ternaryExpr.getPred()); in testReadConstantTernary() 176 assertExactMatch(first, ternaryExpr.getPred()); in testReadConstantTernary() 262 assertEquals(ternaryExpr.getPred(), toRead.get(0)); in testTernaryInsideTernary() 266 assertEquals(ternaryExpr.getPred(), readNow.get(0)); in testTernaryInsideTernary() 275 assertExactMatch(toRead, ternaryExpr.getIfFalse(), innerTernary.getPred()); in testTernaryInsideTernary() 377 Expr abCmp = abTernary.getPred(); in testPostConditionalDependencies() 378 Expr bcCmp = bcTernary.getPred(); in testPostConditionalDependencies() 379 Expr u1GetCondD = ((TernaryExpr) bcTernary.getIfTrue()).getPred(); in testPostConditionalDependencies() 456 assertExactMatch(shouldRead, a, abTernary.getPred()); in testCircularDependency() 477 assertExactMatch(shouldRead, a, a3Ternary.getPred()); in testNestedCircularDependency() [all …]
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/ |
D | ExpressionVisitorTest.java | 129 assertTrue(parsed.getPred() instanceof ComparisonExpr); in testTernary() 132 ComparisonExpr pred = (ComparisonExpr) parsed.getPred(); in testTernary()
|