Searched refs:valueType (Results 1 - 10 of 10) 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/core/java/android/animation/
H A DAnimatorInflater.java272 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, argument
282 if (valueType == VALUE_TYPE_UNDEFINED) {
285 valueType = VALUE_TYPE_COLOR;
287 valueType = VALUE_TYPE_FLOAT;
291 boolean getFloats = (valueType == VALUE_TYPE_FLOAT);
295 if (valueType == VALUE_TYPE_PATH) {
326 if (valueType == VALUE_TYPE_COLOR) {
327 // special case for colors: ignore valueType and get ints
416 int valueType = arrayAnimator.getInt(R.styleable.Animator_valueType, VALUE_TYPE_UNDEFINED);
418 if (valueType
826 loadPvh(Resources res, Theme theme, XmlPullParser parser, String propertyName, int valueType) argument
949 loadKeyframe(Resources res, Theme theme, AttributeSet attrs, int valueType) argument
[all...]
H A DPropertyValuesHolder.java688 * @param valueType The type of the parameter (in the case of a setter). This type
695 private Method getPropertyFunction(Class targetClass, String prefix, Class valueType) { argument
700 if (valueType == null) {
709 if (valueType.equals(Float.class)) {
711 } else if (valueType.equals(Integer.class)) {
713 } else if (valueType.equals(Double.class)) {
717 typeVariants[0] = valueType;
737 getMethodName(prefix, mPropertyName) + "() with type " + valueType +
752 * @param valueType The type of parameter passed into the method (null for getter).
757 String prefix, Class valueType) {
755 setupSetterOrGetter(Class targetClass, HashMap<Class, HashMap<String, Method>> propertyMapMap, String prefix, Class valueType) argument
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
H A DSetterStore.java461 ModelClass viewType, ModelClass[] valueType) {
466 for (int i = 0; i < valueType.length; i++) {
467 valueType[i] = eraseType(valueType[i], viewGenerics);
472 viewType, valueType);
577 ModelClass viewType, ModelClass[] valueType) {
592 valueType, adapter);
648 ModelClass valueType, Map<String, String> imports) {
655 ModelMethod bestSetterMethod = getBestSetter(viewType, valueType, attribute, imports);
671 L.d("setter parameter type is %s", key.valueType);
460 getMultiAttributeSetterCalls(String[] attributes, ModelClass viewType, ModelClass[] valueType) argument
576 getMatchingMultiAttributeSetters(String[] attributes, ModelClass viewType, ModelClass[] valueType) argument
647 getSetterCall(String attribute, ModelClass viewType, ModelClass valueType, Map<String, String> imports) argument
712 getGetterCall(String attribute, ModelClass viewType, ModelClass valueType, Map<String, String> imports) argument
830 getBestGetter(ModelClass viewType, ModelClass valueType, String attribute, Map<String, String> imports) argument
1214 public final String valueType; field in class:SetterStore.AccessorKey
1216 AccessorKey(String viewType, String valueType) argument
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DExpr.java173 public Expr resolveListeners(ModelClass valueType, Expr parent) { argument
176 child.resolveListeners(valueType, this);
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp310 AMessage::Type valueType; local
311 const char *key = msg->getEntryNameAt(i, &valueType);
320 switch (valueType) {
/frameworks/base/core/java/android/widget/
H A DGridLayout.java2256 private final Class<V> valueType; field in class:GridLayout.Assoc
2258 private Assoc(Class<K> keyType, Class<V> valueType) { argument
2260 this.valueType = valueType;
2263 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { argument
2264 return new Assoc<K, V>(keyType, valueType);
2275 V[] values = (V[]) Array.newInstance(valueType, N);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java2150 private final Class<V> valueType; field in class:GridLayout.Assoc
2152 private Assoc(Class<K> keyType, Class<V> valueType) { argument
2154 this.valueType = valueType;
2157 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { argument
2158 return new Assoc<K, V>(keyType, valueType);
2169 V[] values = (V[]) Array.newInstance(valueType, N);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 384 milliseconds