Searched refs:justRead (Results 1 – 3 of 3) sorted by relevance
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/ |
D | ExprModelTest.java | 189 List<Expr> justRead = new ArrayList<Expr>(); in testReadConstantTernary() local 190 justRead.add(a); in testReadConstantTernary() 191 justRead.add(b); in testReadConstantTernary() 192 first = filterOut(getReadFirst(shouldRead, justRead), justRead); in testReadConstantTernary() 210 List<Expr> justRead = new ArrayList<Expr>(); in testTernaryWithPlus() local 211 justRead.add(user); in testTernaryWithPlus() 212 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() 214 justRead.addAll(readNow); in testTernaryWithPlus() 216 readNow = filterOut(getReadFirst(toRead, justRead), justRead); in testTernaryWithPlus() 218 justRead.addAll(readNow); in testTernaryWithPlus() [all …]
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
D | Expr.java | 489 public boolean considerElevatingConditionals(Expr justRead) { in considerElevatingConditionals() argument 492 if (dependency.isConditional() && dependency.getCondition() == justRead) { in considerElevatingConditionals() 653 public boolean shouldReadNow(final List<Expr> justRead) { in shouldReadNow() argument 658 boolean dependencyReady = input.getOther().isRead() || (justRead != null && in shouldReadNow() 659 justRead.contains(input.getOther())); in shouldReadNow()
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
D | LayoutBinderWriter.kt | 927 val justRead = arrayListOf<Expr>() in <lambda>() constant 930 val readNow = batch.filter { it.shouldReadNow(justRead) } in <lambda>() 935 nl(readWithDependants(readNow, justRead, batch, tmpDirtyFlags)) in <lambda>() 936 batch.removeAll(justRead) in <lambda>() 1003 fun readWithDependants(expressionList: List<Expr>, justRead: MutableList<Expr>, in readWithDependants() 1040 justRead.add(expr) in readWithDependants() 1109 dependant.shouldReadNow(justRead) in readWithDependants() 1118 … nl(readWithDependants(dependants, justRead, batch, tmpDirtyFlags, nextInheritedFlags)) in readWithDependants()
|