Home
last modified time | relevance | path

Searched refs:nl (Results 1 – 10 of 10) sorted by relevance

/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DDynamicUtilWriter.kt5 nl("") in <lambda>()
6 nl("import android.os.Build.VERSION;") in <lambda>()
7 nl("import android.os.Build.VERSION_CODES;") in <lambda>()
8 nl("") in <lambda>()
10 nl("@SuppressWarnings(\"deprecation\")") in <lambda>()
14 nl("return view.getContext().getColor(resourceId);") in <lambda>()
17 nl("return view.getResources().getColor(resourceId);") in <lambda>()
20 nl("@SuppressWarnings(\"deprecation\")") in <lambda>()
24 nl("return view.getContext().getColorStateList(resourceId);") in <lambda>()
27 nl("return view.getResources().getColorStateList(resourceId);") in <lambda>()
[all …]
DDataBinderWriter.kt21 nl("package $pkg;") in <lambda>()
22 nl("import $projectPackage.BR;") in <lambda>()
24 nl("final static int TARGET_MIN_SDK = $minSdk;") in <lambda>()
25 nl("") in <lambda>()
28 nl("") in <lambda>()
61 nl("return null;") in <lambda>()
72 nl("final Object tag = views[0].getTag();") in <lambda>()
73nl("if(tag == null) throw new java.lang.RuntimeException(\"view must have a tag\");") in <lambda>()
76nl("return new ${it.`package`}.${it.implementationName}(bindingComponent, views);") in <lambda>()
83 nl("return null;") in <lambda>()
[all …]
DLayoutBinderWriter.kt353 nl("import ${layoutBinder.modulePackage}.R;") in write()
354 nl("import ${layoutBinder.modulePackage}.BR;") in write()
355 nl("import android.view.View;") in write()
363 nl(declareIncludeViews()) in write()
364 nl(declareViews()) in write()
365 nl(declareVariables()) in write()
366 nl(declareBoundValues()) in write()
367 nl(declareListeners()) in write()
370 nl(declareInverseBindingImpls()); in write()
374 nl(declareConstructor(minSdk)) in write()
[all …]
DKCode.kt74 infix fun nl(c : KCode?) : KCode { in <lambda>() method in android.databinding.tool.writer.KCode
83 fun nl(s : String?, init : (KCode.() -> Unit)? = null) : KCode { in <lambda>() method
88 return nl(c) in <lambda>()
96 return nl(s) { in <lambda>()
99 nl("}") in <lambda>()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
DCallbackWrapperWriter.kt50 nl("final $listenerInterfaceName mListener;") in <lambda>()
51 nl("final int mSourceId;") in <lambda>()
53 nl("mListener = listener;") in <lambda>()
54 nl("mSourceId = sourceId;") in <lambda>()
56 nl("") in <lambda>()
57 nl("@Override") in <lambda>()
61 nl("$evaluate") in <lambda>()
63 nl("return $evaluate") in <lambda>()
66 nl("") in <lambda>()
68 nl("${method.returnType} $listenerMethodName(${wrapper.allArgsWithTypes()});") in <lambda>()
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/expr/
DExprWriters.kt33 nl("// ${it.toString()}") in shouldLocalizeInCallbacks()
34nl("${it.resolvedType.toJavaCode()} ${it.scopedName()} = ${if (it.isVariable()) it.fieldName else … in shouldLocalizeInCallbacks()
56 nl("$assign${chosen.toCode().generate()};") in <lambda>()
59 nl("$assign${myExpr.toFullCode().generate()};") in <lambda>()
63 nl("$assign${myExpr.toFullCode().generate()};") in <lambda>()
68 nl(it.toCode()) in <lambda>()
82 nl(myTrue.path.toCode()) in <lambda>()
86 nl(myFalse.path.toCode()) in <lambda>()
/frameworks/base/core/java/android/text/
DHtml.java479 int nl = 0; in withinBlockquoteConsecutive() local
482 nl++; in withinBlockquoteConsecutive()
486 withinParagraph(out, text, i, next - nl); in withinBlockquoteConsecutive()
488 if (nl == 1) { in withinBlockquoteConsecutive()
491 for (int j = 2; j < nl; j++) { in withinBlockquoteConsecutive()
/frameworks/base/core/java/android/provider/
DMediaStore.java1421 int nl = name.length(); in keyFor() local
1422 for (int i = 0; i < nl; i++) { in keyFor()
/frameworks/support/room/compiler/
DSQLite.g429 * Developed by : Bart Kiers, bart@big-o.nl
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...