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.java46 public ReflectiveProperty(Class<T> propertyHolder, Class<V> valueType, String name) { in ReflectiveProperty() argument
48 super(valueType, name); in ReflectiveProperty()
65 if (!typesMatch(valueType, fieldType)) { in ReflectiveProperty()
67 "does not match Property type (" + valueType + ")"); in ReflectiveProperty()
79 if (!typesMatch(valueType, getterType)) { in ReflectiveProperty()
81 "does not match Property type (" + valueType + ")"); in ReflectiveProperty()
98 private boolean typesMatch(Class<V> valueType, Class getterType) { in typesMatch() argument
99 if (getterType != valueType) { in typesMatch()
101 return (getterType == float.class && valueType == Float.class) || in typesMatch()
102 (getterType == int.class && valueType == Integer.class) || in typesMatch()
[all …]
DProperty.java55 public static <T, V> Property<T, V> of(Class<T> hostType, Class<V> valueType, String name) { in of() argument
56 return new ReflectiveProperty<T, V>(hostType, valueType, name); in of()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java275 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, in getPVH() argument
285 if (valueType == VALUE_TYPE_UNDEFINED) { in getPVH()
288 valueType = VALUE_TYPE_COLOR; in getPVH()
290 valueType = VALUE_TYPE_FLOAT; in getPVH()
294 boolean getFloats = (valueType == VALUE_TYPE_FLOAT); in getPVH()
298 if (valueType == VALUE_TYPE_PATH) { in getPVH()
329 if (valueType == VALUE_TYPE_COLOR) { in getPVH()
419 int valueType = arrayAnimator.getInt(R.styleable.Animator_valueType, VALUE_TYPE_UNDEFINED); in parseAnimatorFromTypeArray() local
421 if (valueType == VALUE_TYPE_UNDEFINED) { in parseAnimatorFromTypeArray()
422 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/base/services/core/java/com/android/server/pm/verify/domain/models/
DDomainVerificationStateMap.java68 @NonNull ValueType valueType) { in put() argument
73 mPackageNameMap.put(packageName, valueType); in put()
74 mDomainSetIdMap.put(domainSetId, valueType); in put()
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionEnvReverb.cpp56 #define SET_AIDL_PARAMETER(param, aidlType, valueType, tag) \ argument
59 valueType value; \
80 #define GET_AIDL_PARAMETER(param, aidltype, valueType, tag) \ argument
90 if (status_t status = param.writeToValue((valueType*)&value); status != OK) { \
/frameworks/base/services/core/java/com/android/server/
DHardwarePropertiesManagerService.java130 String typeLabel, String subLabel, int valueType) { in dumpTempValues() argument
132 pkg, type, valueType))); in dumpTempValues()
/frameworks/base/core/java/android/view/inspector/
DInspectableProperty.java83 ValueType valueType() default ValueType.INFERRED; in valueType() method
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectablePropertyProcessor.java312 final String valueType = mAnnotationUtils in determinePropertyType() local
347 switch (valueType) { in determinePropertyType()
432 String.format("Unknown value type enumeration value: %s", valueType), in determinePropertyType()
/frameworks/base/media/jni/
Dandroid_media_Streams.cpp247 AMessage::Type valueType; in ConvertMessageToMap() local
248 const char *key = msg->getEntryNameAt(i, &valueType); in ConvertMessageToMap()
257 switch (valueType) { in ConvertMessageToMap()
/frameworks/base/core/java/android/widget/
DGridLayout.java2295 private final Class<V> valueType;
2297 private Assoc(Class<K> keyType, Class<V> valueType) {
2299 this.valueType = valueType;
2302 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) {
2303 return new Assoc<K, V>(keyType, valueType);
2314 V[] values = (V[]) Array.newInstance(valueType, N);
DFrameLayout.java448 valueType = InspectableProperty.ValueType.GRAVITY)
DLinearLayout.java1954 @InspectableProperty(valueType = InspectableProperty.ValueType.GRAVITY)
2078 valueType = InspectableProperty.ValueType.GRAVITY)
DSpinner.java506 @InspectableProperty(valueType = InspectableProperty.ValueType.GRAVITY)
DRemoteViews.java3494 LayoutParamAction(@IdRes int viewId, int property, int value, @ValueType int valueType) {
3497 this.mValueType = valueType;
3832 @ValueType int valueType) {
3834 this.mValueType = valueType;
DGridView.java2069 @InspectableProperty(valueType = InspectableProperty.ValueType.GRAVITY)
DRelativeLayout.java318 @InspectableProperty(valueType = InspectableProperty.ValueType.GRAVITY)
DTextView.java5942 @InspectableProperty(valueType = InspectableProperty.ValueType.GRAVITY)
/frameworks/base/core/java/android/app/
DActionBar.java1380 valueType = InspectableProperty.ValueType.GRAVITY)
/frameworks/base/core/java/android/os/
DParcel.java4820 Class<?> valueType = ArrayUtils.getOrNull(itemTypes, 1); in readValue() local
4821 checkArgument((keyType == null) == (valueType == null)); in readValue()
4822 object = readHashMapInternal(loader, keyType, valueType); in readValue()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java2834 valueType = InspectableProperty.ValueType.GRAVITY)
/frameworks/base/core/api/
Dtest-current.txt4023 …method public abstract android.view.inspector.InspectableProperty.ValueType valueType() default an…
/frameworks/base/core/java/android/view/
DView.java26577 @InspectableProperty(valueType = InspectableProperty.ValueType.GRAVITY)
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt67086 Landroid/widget/GridLayout$Assoc;->valueType:Ljava/lang/Class;
76064 Lcom/android/internal/R$attr;->valueType:I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1345 field public static final int valueType = 16843488; // 0x10102e0

12