Searched refs:valueType (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/util/
H A DReflectiveProperty.java45 public ReflectiveProperty(Class<T> propertyHolder, Class<V> valueType, String name) { argument
47 super(valueType, name);
64 if (!typesMatch(valueType, fieldType)) {
66 "does not match Property type (" + valueType + ")");
77 // Check to make sure our getter type matches our valueType
78 if (!typesMatch(valueType, getterType)) {
80 "does not match Property type (" + valueType + ")");
97 private boolean typesMatch(Class<V> valueType, Class getterType) { argument
98 if (getterType != valueType) {
100 return (getterType == float.class && valueType
[all...]
H A DProperty.java54 public static <T, V> Property<T, V> of(Class<T> hostType, Class<V> valueType, String name) { argument
55 return new ReflectiveProperty<T, V>(hostType, valueType, name);
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp169 AMessage::Type valueType; local
170 const char *key = msg->getEntryNameAt(i, &valueType);
174 switch (valueType) {
/frameworks/base/core/java/android/animation/
H A DPropertyValuesHolder.java371 * @param valueType The type of the parameter (in the case of a setter). This type
378 private Method getPropertyFunction(Class targetClass, String prefix, Class valueType) { argument
383 if (valueType == null) {
433 * @param valueType The type of parameter passed into the method (null for getter).
438 String prefix, Class valueType) {
450 setterOrGetter = getPropertyFunction(targetClass, prefix, valueType);
436 setupSetterOrGetter(Class targetClass, HashMap<Class, HashMap<String, Method>> propertyMapMap, String prefix, Class valueType) argument
H A DAnimatorInflater.java192 int valueType = a.getInt(com.android.internal.R.styleable.Animator_valueType,
203 boolean getFloats = (valueType == VALUE_TYPE_FLOAT);
216 // special case for colors: ignore valueType and get ints
/frameworks/base/core/java/android/widget/
H A DGridLayout.java2079 private final Class<V> valueType; field in class:GridLayout.Assoc
2081 private Assoc(Class<K> keyType, Class<V> valueType) { argument
2083 this.valueType = valueType;
2086 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { argument
2087 return new Assoc<K, V>(keyType, valueType);
2098 V[] values = (V[]) Array.newInstance(valueType, N);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java2012 private final Class<V> valueType; field in class:GridLayout.Assoc
2014 private Assoc(Class<K> keyType, Class<V> valueType) { argument
2016 this.valueType = valueType;
2019 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { argument
2020 return new Assoc<K, V>(keyType, valueType);
2031 V[] values = (V[]) Array.newInstance(valueType, N);

Completed in 109 milliseconds