Home
last modified time | relevance | path

Searched refs:valueType (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/util/
DReflectiveProperty.java45 public ReflectiveProperty(Class<T> propertyHolder, Class<V> valueType, String name) { in ReflectiveProperty() argument
47 super(valueType, name); in ReflectiveProperty()
64 if (!typesMatch(valueType, fieldType)) { in ReflectiveProperty()
66 "does not match Property type (" + valueType + ")"); in ReflectiveProperty()
78 if (!typesMatch(valueType, getterType)) { in ReflectiveProperty()
80 "does not match Property type (" + valueType + ")"); in ReflectiveProperty()
97 private boolean typesMatch(Class<V> valueType, Class getterType) { in typesMatch() argument
98 if (getterType != valueType) { in typesMatch()
100 return (getterType == float.class && valueType == Float.class) || in typesMatch()
101 (getterType == int.class && valueType == Integer.class) || in typesMatch()
[all …]
DProperty.java54 public static <T, V> Property<T, V> of(Class<T> hostType, Class<V> valueType, String name) { in of() argument
55 return new ReflectiveProperty<T, V>(hostType, valueType, name); in of()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java272 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, in getPVH() argument
282 if (valueType == VALUE_TYPE_UNDEFINED) { in getPVH()
285 valueType = VALUE_TYPE_COLOR; in getPVH()
287 valueType = VALUE_TYPE_FLOAT; in getPVH()
291 boolean getFloats = (valueType == VALUE_TYPE_FLOAT); in getPVH()
295 if (valueType == VALUE_TYPE_PATH) { in getPVH()
326 if (valueType == VALUE_TYPE_COLOR) { in getPVH()
416 int valueType = arrayAnimator.getInt(R.styleable.Animator_valueType, VALUE_TYPE_UNDEFINED); in parseAnimatorFromTypeArray() local
418 if (valueType == VALUE_TYPE_UNDEFINED) { in parseAnimatorFromTypeArray()
419 valueType = inferValueTypeFromValues(arrayAnimator, R.styleable.Animator_valueFrom, in parseAnimatorFromTypeArray()
[all …]
DPropertyValuesHolder.java695 private Method getPropertyFunction(Class targetClass, String prefix, Class valueType) { in getPropertyFunction() argument
700 if (valueType == null) { in getPropertyFunction()
709 if (valueType.equals(Float.class)) { in getPropertyFunction()
711 } else if (valueType.equals(Integer.class)) { in getPropertyFunction()
713 } else if (valueType.equals(Double.class)) { in getPropertyFunction()
717 typeVariants[0] = valueType; in getPropertyFunction()
737 getMethodName(prefix, mPropertyName) + "() with type " + valueType + in getPropertyFunction()
757 String prefix, Class valueType) { in setupSetterOrGetter() argument
772 setterOrGetter = getPropertyFunction(targetClass, prefix, valueType); in setupSetterOrGetter()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java461 ModelClass viewType, ModelClass[] valueType) { in getMultiAttributeSetterCalls() argument
466 for (int i = 0; i < valueType.length; i++) { in getMultiAttributeSetterCalls()
467 valueType[i] = eraseType(valueType[i], viewGenerics); in getMultiAttributeSetterCalls()
472 viewType, valueType); in getMultiAttributeSetterCalls()
577 ModelClass viewType, ModelClass[] valueType) { in getMatchingMultiAttributeSetters() argument
592 valueType, adapter); in getMatchingMultiAttributeSetters()
648 ModelClass valueType, Map<String, String> imports) { in getSetterCall() argument
655 ModelMethod bestSetterMethod = getBestSetter(viewType, valueType, attribute, imports); in getSetterCall()
671 L.d("setter parameter type is %s", key.valueType); in getSetterCall()
673 .findClass(key.valueType, imports)); in getSetterCall()
[all …]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java2150 private final Class<V> valueType;
2152 private Assoc(Class<K> keyType, Class<V> valueType) {
2154 this.valueType = valueType;
2157 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) {
2158 return new Assoc<K, V>(keyType, valueType);
2169 V[] values = (V[]) Array.newInstance(valueType, N);
/frameworks/base/core/java/android/widget/
DGridLayout.java2256 private final Class<V> valueType;
2258 private Assoc(Class<K> keyType, Class<V> valueType) {
2260 this.valueType = valueType;
2263 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) {
2264 return new Assoc<K, V>(keyType, valueType);
2275 V[] values = (V[]) Array.newInstance(valueType, N);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DExpr.java173 public Expr resolveListeners(ModelClass valueType, Expr parent) { in resolveListeners() argument
176 child.resolveListeners(valueType, this); in resolveListeners()
/frameworks/base/docs/html-intl/intl/ru/training/material/
Danimations.jd399 android:valueType="floatType"/>
411 android:valueType="floatType"/>
545 android:valueType="pathType" />
/frameworks/base/docs/html-intl/intl/zh-cn/training/material/
Danimations.jd399 android:valueType="floatType"/>
411 android:valueType="floatType"/>
545 android:valueType="pathType" />
/frameworks/base/docs/html-intl/intl/zh-tw/training/material/
Danimations.jd399 android:valueType="floatType"/>
411 android:valueType="floatType"/>
545 android:valueType="pathType" />
/frameworks/base/docs/html-intl/intl/ja/training/material/
Danimations.jd399 android:valueType="floatType"/>
411 android:valueType="floatType"/>
545 android:valueType="pathType" />
/frameworks/base/docs/html-intl/intl/ko/training/material/
Danimations.jd399 android:valueType="floatType"/>
411 android:valueType="floatType"/>
545 android:valueType="pathType" />
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp310 AMessage::Type valueType; in ConvertMessageToMap() local
311 const char *key = msg->getEntryNameAt(i, &valueType); in ConvertMessageToMap()
320 switch (valueType) { in ConvertMessageToMap()
/frameworks/base/docs/html/guide/topics/resources/
Danimation-resource.jd80 android:valueType=["intType" | "floatType"]/&gt;
89 android:valueType=["intType" | "floatType"]/&gt;
204 <code>android:valueType</code>
277 <code>android:valueType</code>
305 android:valueType="intType"/&gt;
310 android:valueType="intType"/&gt;
/frameworks/base/docs/html-intl/intl/in/training/material/
Danimations.jd399 android:valueType="floatType"/>
411 android:valueType="floatType"/>
545 android:valueType="pathType" />
/frameworks/base/docs/html/training/material/
Danimations.jd400 android:valueType="floatType"/>
412 android:valueType="floatType"/>
550 android:valueType="pathType" />
/frameworks/base/docs/html-intl/intl/es/training/material/
Danimations.jd399 android:valueType="floatType"/>
411 android:valueType="floatType"/>
545 android:valueType="pathType" />
/frameworks/base/docs/html-intl/intl/pt-br/training/material/
Danimations.jd399 android:valueType="floatType"/>
411 android:valueType="floatType"/>
545 android:valueType="pathType" />
/frameworks/base/docs/html-intl/intl/vi/training/material/
Danimations.jd399 android:valueType="floatType"/>
411 android:valueType="floatType"/>
545 android:valueType="pathType" />
/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd946 android:valueType="intType"/&gt;
951 android:valueType="intType"/&gt;
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1345 field public static final int valueType = 16843488; // 0x10102e0
/frameworks/base/api/
Dcurrent.txt1387 field public static final int valueType = 16843488; // 0x10102e0
Dtest-current.txt1387 field public static final int valueType = 16843488; // 0x10102e0

12