Searched refs:getter (Results 1 - 14 of 14) sorted by relevance

/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/vo/
H A DEmbeddedField.kt28 val getter by lazy { field.getter }
H A DField.kt39 lateinit var getter: FieldGetter
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/
H A DExpressionVisitorTest.java150 Callable getter = parsed.getGetter();
151 assertEquals(Callable.Type.METHOD, getter.type);
152 assertEquals("length", getter.name);
166 Callable getter = parsed.getGetter();
167 assertEquals(Callable.Type.METHOD, getter.type);
168 assertEquals("getBytes", getter.name);
H A DLayoutBinderTest.java103 final Callable getter = fa.getGetter();
104 assertTrue(getter.type == Callable.Type.METHOD);
/frameworks/support/room/compiler/src/test/kotlin/android/arch/persistence/room/processor/
H A DEntityNameMatchingVariationsTest.kt44 arrayListOf("getX", "x").forEach { getter ->
46 result.add(Triple(field, getter, setter))
73 assertThat(field.getter, `is`(FieldGetter(getterName, intType, CallType.METHOD)))
H A DEntityProcessorTest.kt58 assertThat(field.getter, `is`(FieldGetter("getId", intType, CallType.METHOD)))
153 assertThat(entity.fields.first().getter.name, `is`("getId"))
166 assertThat(entity.fields.first().getter.name, `is`("getId"))
178 assertThat(entity.fields.first().getter.name, `is`("id"))
179 assertThat(entity.fields.first().getter.callType, `is`(CallType.FIELD))
244 assertThat(entity.fields.first().getter.name, `is`("getId"))
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DFieldAccessExpr.java97 // if owner is NOT dynamic, we can be dynamic if an only if getter is dynamic
137 Preconditions.checkNotNull(mGetter, "cannot get br name before resolving the getter");
223 BindingGetterCall getter = setterStore.getGetterCall(mName, targetClass, null, null);
224 if (getter == null) {
225 getter = setterStore.getGetterCall("android:" + mName, targetClass, null, null);
226 if (getter == null) {
235 getter.getEventAttribute().equals(binding.getName())) {
241 inverseBinding = bindingTarget.addInverseBinding(mName, getter);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DModelClass.java387 * Returns the getter method or field that the name refers to.
392 * @return the getter method or field that the name refers to or null if none can be found.
500 private ModelMethod findSetter(ModelMethod getter, String originalName) { argument
503 if (originalName.equals(getter.getName())) {
505 } else if (getter.getName().startsWith("is")){
511 List<ModelMethod> methods = findMethods(name, getter.isStatic());
512 ModelClass param = getter.getReturnType(null);
517 method.isStatic() == getter.isStatic()) {
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/expr/
H A DExprWriters.kt44 val eligible = localize || (myExpr is MethodCallExpr || (myExpr is FieldAccessExpr && myExpr.getter.type == Callable.Type.METHOD))
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/writer/
H A DFieldReadWriteWriter.kt108 fieldParent.getter.writeGet(
277 val varName = if (field.getter.callType == CallType.FIELD) {
280 "$ownerVar.${field.getter.name}()"
298 reader.readFromCursor("$ownerVar.${field.getter.name}", cursorVar,
303 addStatement("final $T $L", field.getter.type.typeName(), tmpField)
331 val typeName = field.getter.type.typeName()
/frameworks/base/libs/hwui/
H A DAnimator.cpp312 GetFloatProperty getter; member in struct:android::uirenderer::RenderPropertyAnimator::PropertyAccessors
340 setStartValue((mStagingTarget->stagingProperties().*mPropertyAccess->getter)());
377 return (target->properties().*mPropertyAccess->getter)();
/frameworks/support/room/compiler/src/test/kotlin/android/arch/persistence/room/verifier/
H A DDatabaseVerifierTest.kt221 f.getter = FieldGetter(name, type, CallType.FIELD)
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/processor/
H A DPojoProcessor.kt412 field.getter = FieldGetter(
418 field.getter = FieldGetter(
470 * Finds a setter/getter from available list of methods.
/frameworks/av/media/libstagefright/codec2/tests/
H A DC2Param_test.cpp2340 struct getter { struct in namespace:android
2359 struct getter<E, true> { struct in namespace:android
2362 return getter<u>().get(p, (u*)0);
2379 return getter<E>().get(p, (E*)0);

Completed in 653 milliseconds