Home
last modified time | relevance | path

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

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DBinding.java21 import android.databinding.tool.expr.LambdaExpr;
72 if (!(mExpr instanceof LambdaExpr)) { in resolveCallbackParams()
75 LambdaExpr lambdaExpr = (LambdaExpr) mExpr; in resolveCallbackParams()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DLambdaExpr.java32 public class LambdaExpr extends Expr { class
41 public LambdaExpr(Expr expr, CallbackExprModel callbackExprModel) { in LambdaExpr() method in LambdaExpr
DExprModel.java709 public LambdaExpr lambdaExpr(Expr expr, CallbackExprModel callbackExprModel) {
710 return register(new LambdaExpr(expr, callbackExprModel));
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprModelTest.java930 … final LambdaExpr lambda = parse(lb, "(v) -> cond1 ? obj4.clicked(v) : void", LambdaExpr.class); in testVoid()
938 … final LambdaExpr lambda = parse(lb, "(v) -> cond1 ? obj4.clicked(v) : Void", LambdaExpr.class); in testVoid2()
946 …final LambdaExpr lambda = parse(lb, "(v) -> cond1 ? obj4.clicked(v) : ¯\\_(ツ)_/¯", LambdaExpr.clas… in testShruggy()
954 final LambdaExpr lambda = parse(lb, "() -> user.name", LambdaExpr.class); in testParseNoArgLambda()
962 final LambdaExpr lambda = parse(lb, "a -> user.name", LambdaExpr.class); in testParseLambdaWithSingleArg()
976 final LambdaExpr lambda = parse(lb, "(a, b, c, d) -> user.name", LambdaExpr.class); in testParseLambdaWithArguments()