Home
last modified time | relevance | path

Searched refs:getRequirementFlagIndex (Results 1 – 3 of 3) sorted by relevance

/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprModelTest.java267 int cond1True = ternaryExpr.getRequirementFlagIndex(true); in testTernaryInsideTernary()
268 int cond1False = ternaryExpr.getRequirementFlagIndex(false); in testTernaryInsideTernary()
285 assertFlags(innerTernary.getIfTrue(), innerTernary.getRequirementFlagIndex(true)); in testTernaryInsideTernary()
286 assertFlags(innerTernary.getIfFalse(), innerTernary.getRequirementFlagIndex(false)); in testTernaryInsideTernary()
329 assertFlags(e, aTernary.getRequirementFlagIndex(false)); in testRequirementFlags()
331 assertFlags(b, aTernary.getRequirementFlagIndex(true)); in testRequirementFlags()
332 assertFlags(bIsNull, aTernary.getRequirementFlagIndex(true)); in testRequirementFlags()
341 assertTrue(c.getShouldReadFlags().get(bTernary.getRequirementFlagIndex(true))); in testRequirementFlags()
344 assertTrue(d.getShouldReadFlags().get(bTernary.getRequirementFlagIndex(false))); in testRequirementFlags()
347 assertTrue(bTernary.getShouldReadFlags().get(aTernary.getRequirementFlagIndex(true))); in testRequirementFlags()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DExpr.java242 .getRequirementFlagIndex(dependency.getExpectedOutput())); in resolveShouldReadWithConditionals()
264 .getRequirementFlagIndex(dependency.getExpectedOutput())); in resolveShouldReadFlags()
434 public int getRequirementFlagIndex(boolean expectedOutput) { in getRequirementFlagIndex() method in Expr
558 .getRequirementFlagIndex(dependency.getExpectedOutput())); in resolveConditionalFlags()
591 dependant.getRequirementFlagIndex(dependency.getExpectedOutput())); in getAllCalculationPaths()
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DLayoutBinderWriter.kt205 arrayListOf(FlagSet(expr.getRequirementFlagIndex(false)), in expr()
206 FlagSet(expr.getRequirementFlagIndex(true))) in expr()