Home
last modified time | relevance | path

Searched refs:declared (Results 1 – 24 of 24) sorted by relevance

/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/solver/binderprovider/
DLiveDataQueryResultBinderProvider.kt35 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in provide()
36 val liveDataTypeArg = declared.typeArguments.first() in provide()
42 declared.asElement(), in provide()
50 override fun matches(declared: DeclaredType): Boolean = in matches()
51 declared.typeArguments.size == 1 && isLiveData(declared) in matches()
53 private fun isLiveData(declared: DeclaredType): Boolean { in matches()
57 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
DLivePagedListQueryResultBinderProvider.kt36 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in provide()
37 val typeArg = declared.typeArguments[1] in provide()
46 override fun matches(declared: DeclaredType): Boolean = in matches()
47 declared.typeArguments.size == 2 && isLivePagedList(declared) in matches()
49 private fun isLivePagedList(declared: DeclaredType): Boolean { in matches()
53 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
DRxCallableQueryResultBinderProvider.kt38 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in provide()
39 val typeArg = declared.typeArguments.first() in provide()
45 override fun matches(declared: DeclaredType): Boolean = in matches()
46 declared.typeArguments.size == 1 && matchesRxType(declared) in matches()
48 private fun matchesRxType(declared: DeclaredType): Boolean { in matches()
49 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
DFlowableQueryResultBinderProvider.kt42 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in provide()
43 val typeArg = declared.typeArguments.first() in provide()
48 override fun matches(declared: DeclaredType): Boolean = in matches()
49 declared.typeArguments.size == 1 && isRxJava2Publisher(declared) in matches()
51 private fun isRxJava2Publisher(declared: DeclaredType): Boolean { in matches()
55 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
DCursorQueryResultBinderProvider.kt29 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in provide()
33 override fun matches(declared: DeclaredType): Boolean =
34 declared.typeArguments.size == 0 && TypeName.get(declared) == AndroidTypeNames.CURSOR
DDataSourceQueryResultBinderProvider.kt41 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in provide()
42 val typeArg = declared.typeArguments.last() in provide()
49 override fun matches(declared: DeclaredType): Boolean { in matches()
53 if (declared.typeArguments.isEmpty()) { in matches()
56 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
DInstantQueryResultBinderProvider.kt27 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in provide()
29 context.typeAdapterStore.findQueryResultAdapter(declared, query)) in provide()
32 override fun matches(declared: DeclaredType): Boolean = true
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/solver/
DQueryResultBinderProvider.kt24 fun provide(declared : DeclaredType, query: ParsedQuery) : QueryResultBinder
25 fun matches(declared: DeclaredType) : Boolean
DTypeAdapterStore.kt253 val declared = MoreTypes.asDeclared(typeMirror) in findQueryResultBinder() constant
255 it.matches(declared) in findQueryResultBinder()
256 }.provide(declared, query) in findQueryResultBinder()
268 val declared = MoreTypes.asDeclared(typeMirror) in findQueryResultAdapter() constant
269 if (declared.typeArguments.isEmpty()) { in findQueryResultAdapter()
274 val typeArg = declared.typeArguments.first() in findQueryResultAdapter()
299 val declared = MoreTypes.asDeclared(typeMirror) in findRowAdapter() constant
300 if (declared.typeArguments.isNotEmpty()) { in findRowAdapter()
363 val declared = MoreTypes.asDeclared(typeMirror) in findQueryParameterAdapter() constant
364 val binder = findStatementValueBinder(declared.typeArguments.first(), in findQueryParameterAdapter()
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/processor/
DShortcutParameterProcessor.kt89 val declared = MoreTypes.asDeclared(typeMirror) in extractEntityType() constant
90 val entity = extractEntityTypeFromIterator(declared) in extractEntityType()
DInsertionMethodProcessor.kt113 val declared = MoreTypes.asDeclared(returnType) in getInsertionType() constant
114 val param = declared.typeArguments.first() in getInsertionType()
DPojoProcessor.kt325 val declared = MoreTypes.asDeclared(asMember) in <lambda>() constant
326 if (!declared.isCollection()) { in <lambda>()
330 val typeArg = declared.typeArguments.first() in <lambda>()
/frameworks/compile/slang/tests/F_warnings_as_error/
Dstderr.txt.expect3 deprecated.rs:8:13: note: 'func1' declared here
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DLayoutBinder.java179 addVariable(variable.name, variable.type, variable.location, variable.declared); in LayoutBinder()
272 boolean declared) { in addVariable() argument
282 if (declared) { in addVariable()
/frameworks/base/tests/RemoteDisplayProvider/
DREADME2 remote display providers using the API declared by the
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
DResourceBundle.java464 public void addVariable(String name, String type, Location location, boolean declared) { in addVariable() argument
467 mVariables.add(new VariableDeclaration(name, type, location, declared)); in addVariable()
727 public boolean declared; field in ResourceBundle.VariableDeclaration
733 public VariableDeclaration(String name, String type, Location location, boolean declared) { in VariableDeclaration() argument
735 this.declared = declared; in VariableDeclaration()
/frameworks/compile/slang/tests/F_reduce_general_parse/
Dstderr.txt.expect10 reduce_general_parse.rs:15:12: error: reduction kernel 'foo' declared multiple times (first one is …
/frameworks/base/tools/aapt2/
Dreadme.md32 - Fixed issue where overlays that declared `<add-resource>` did not compile. (bug 38355988)
36 - Resources declared via `<item>` with no format attribute were changed to accept all
160 at runtime due to the minimum SDK level declared by the AndroidManifest.xml are stripped.
DResources.proto39 // The position of a declared entity within a file.
/frameworks/native/opengl/tools/glgen2/registry/
Dreg.py102 self.declared = False
106 self.declared = False
925 if (f.declared):
957 f.declared = True
/frameworks/rs/script_api/
Drs_value_types.spec33 Vectors are declared using the common type name followed by a 2, 3, or 4.
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dlayered_filter_d1new_helper.rsh20 // int2 that stores the target layer info: 1. front_depth, 2. back_depth; declared in layered_filte…
/frameworks/compile/slang/
DREADME.rst148 global variables and functions within a script that are not declared
/frameworks/rs/script_api/include/
Drs_value_types.rsh35 * Vectors are declared using the common type name followed by a 2, 3, or 4.