Home
last modified time | relevance | path

Searched refs:propertyId (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/libs/hwui/
DPropertyValuesHolder.h45 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue, in GroupPropertyValuesHolder() argument
48 , mPropertyId(propertyId) in GroupPropertyValuesHolder()
62 …FullPathColorPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, int32_t startValu… in FullPathColorPropertyValuesHolder() argument
65 , mPropertyId(propertyId) in FullPathColorPropertyValuesHolder()
79 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue, in FullPathPropertyValuesHolder() argument
82 , mPropertyId(propertyId) in FullPathPropertyValuesHolder()
DVectorDrawable.cpp272 void FullPath::FullPathProperties::setColorPropertyValue(int propertyId, int32_t value) { in setColorPropertyValue() argument
273 Property currentProperty = static_cast<Property>(propertyId); in setColorPropertyValue()
280 " with id: %d", propertyId); in setColorPropertyValue()
284 void FullPath::FullPathProperties::setPropertyValue(int propertyId, float value) { in setPropertyValue() argument
285 Property property = static_cast<Property>(propertyId); in setPropertyValue()
306 LOG_ALWAYS_FATAL("Invalid property id: %d for animation", propertyId); in setPropertyValue()
398 float Group::GroupProperties::getPropertyValue(int propertyId) const { in getPropertyValue()
399 Property currentProperty = static_cast<Property>(propertyId); in getPropertyValue()
416 LOG_ALWAYS_FATAL("Invalid property index: %d", propertyId); in getPropertyValue()
422 void Group::GroupProperties::setPropertyValue(int propertyId, float value) { in setPropertyValue() argument
[all …]
DVectorDrawable.h331 void setColorPropertyValue(int propertyId, int32_t value);
332 void setPropertyValue(int propertyId, float value);
479 void setPropertyValue(int propertyId, float value);
480 float getPropertyValue(int propertyId) const;
482 static bool isValidProperty(int propertyId);
518 static bool isValidProperty(int propertyId);
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/androidTest/java/com/android/databinding/multimoduletestapp/
DEventIdsTest.java118 public void onPropertyChanged(Observable observable, int propertyId) { in onPropertyChanged() argument
119 mCounter.put(propertyId, get(propertyId) + 1); in onPropertyChanged()
122 public int get(int propertyId) { in get() argument
123 Integer val = mCounter.get(propertyId); in get()
127 private void assertProperty(int propertyId, int value) { in assertProperty() argument
128 assertEquals(get(propertyId), value); in assertProperty()
/frameworks/base/core/jni/
Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp98 static jlong createGroupPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createGroupPropertyHolder() argument
101 GroupPropertyValuesHolder* newHolder = new GroupPropertyValuesHolder(group, propertyId, in createGroupPropertyHolder()
116 static jlong createPathColorPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createPathColorPropertyHolder() argument
120 propertyId, startValue, endValue); in createPathColorPropertyHolder()
124 static jlong createPathPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createPathPropertyHolder() argument
128 propertyId, startValue, endValue); in createPathPropertyHolder()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DAnimatedVectorDrawable_Delegate.java84 /*package*/ static long nCreateGroupPropertyHolder(long nativePtr, int propertyId, in nCreateGroupPropertyHolder() argument
87 Consumer<Float> setter = group.getPropertySetter(propertyId); in nCreateGroupPropertyHolder()
102 /*package*/ static long nCreatePathColorPropertyHolder(long nativePtr, int propertyId, in nCreatePathColorPropertyHolder() argument
105 Consumer<Integer> setter = path.getIntPropertySetter(propertyId); in nCreatePathColorPropertyHolder()
112 /*package*/ static long nCreatePathPropertyHolder(long nativePtr, int propertyId, in nCreatePathPropertyHolder() argument
115 Consumer<Float> setter = path.getFloatPropertySetter(propertyId); in nCreatePathPropertyHolder()
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DPropertyChangeRegistry.java43 public void notifyChange(Observable observable, int propertyId) { in notifyChange() argument
44 notifyCallbacks(observable, propertyId, null); in notifyChange()
DViewDataBinding.java1143 public void onPropertyChanged(Observable sender, int propertyId) { in onPropertyChanged() argument
1152 binder.handleFieldChange(mListener.mLocalFieldId, sender, propertyId); in onPropertyChanged()
1285 public PropertyChangedInverseListener(int propertyId) { in PropertyChangedInverseListener() argument
1286 mPropertyId = propertyId; in PropertyChangedInverseListener()
1290 public void onPropertyChanged(Observable sender, int propertyId) { in onPropertyChanged() argument
1291 if (propertyId == mPropertyId || propertyId == 0) { in onPropertyChanged()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1102 int propertyId; in createRTAnimatorForGroup() local
1106 propertyId = VectorDrawable.VGroup.getPropertyIndex(mTmpValues.propertyName); in createRTAnimatorForGroup()
1114 if (propertyId < 0) { in createRTAnimatorForGroup()
1121 long propertyPtr = nCreateGroupPropertyHolder(nativePtr, propertyId, in createRTAnimatorForGroup()
1147 int propertyId = target.getPropertyIndex(mTmpValues.propertyName); in createRTAnimatorForFullPath() local
1151 if (propertyId < 0) { in createRTAnimatorForFullPath()
1159 propertyPtr = nCreatePathPropertyHolder(nativePtr, propertyId, in createRTAnimatorForFullPath()
1163 propertyPtr = nCreatePathColorPropertyHolder(nativePtr, propertyId, in createRTAnimatorForFullPath()
1489 private static native long nCreateGroupPropertyHolder(long nativePtr, int propertyId, in nCreateGroupPropertyHolder() argument
1494 private static native long nCreatePathColorPropertyHolder(long nativePtr, int propertyId, in nCreatePathColorPropertyHolder() argument
[all …]
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
DObservable.java59 public abstract void onPropertyChanged(Observable sender, int propertyId); in onPropertyChanged() argument