Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DVectorDrawable.cpp229 void FullPath::FullPathProperties::setColorPropertyValue(int propertyId, int32_t value) { in setColorPropertyValue() argument
230 Property currentProperty = static_cast<Property>(propertyId); in setColorPropertyValue()
239 propertyId); in setColorPropertyValue()
243 void FullPath::FullPathProperties::setPropertyValue(int propertyId, float value) { in setPropertyValue() argument
244 Property property = static_cast<Property>(propertyId); in setPropertyValue()
265 LOG_ALWAYS_FATAL("Invalid property id: %d for animation", propertyId); in setPropertyValue()
349 float Group::GroupProperties::getPropertyValue(int propertyId) const { in getPropertyValue()
350 Property currentProperty = static_cast<Property>(propertyId); in getPropertyValue()
367 LOG_ALWAYS_FATAL("Invalid property index: %d", propertyId); in getPropertyValue()
373 void Group::GroupProperties::setPropertyValue(int propertyId, float value) { in setPropertyValue() argument
[all …]
DPropertyValuesHolder.h90 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue, in GroupPropertyValuesHolder() argument
92 : PropertyValuesHolderImpl(startValue, endValue), mGroup(ptr), mPropertyId(propertyId) { in GroupPropertyValuesHolder()
104 FullPathColorPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, in FullPathColorPropertyValuesHolder() argument
108 , mPropertyId(propertyId) { in FullPathColorPropertyValuesHolder()
121 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue, in FullPathPropertyValuesHolder() argument
125 , mPropertyId(propertyId) { in FullPathPropertyValuesHolder()
DVectorDrawable.h302 void setColorPropertyValue(int propertyId, int32_t value);
303 void setPropertyValue(int propertyId, float value);
428 void setPropertyValue(int propertyId, float value);
429 float getPropertyValue(int propertyId) const;
431 static bool isValidProperty(int propertyId);
467 static bool isValidProperty(int propertyId);
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp104 static jlong createGroupPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createGroupPropertyHolder() argument
107 GroupPropertyValuesHolder* newHolder = new GroupPropertyValuesHolder(group, propertyId, in createGroupPropertyHolder()
122 static jlong createPathColorPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createPathColorPropertyHolder() argument
126 propertyId, startValue, endValue); in createPathColorPropertyHolder()
130 static jlong createPathPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createPathPropertyHolder() argument
134 propertyId, startValue, endValue); in createPathPropertyHolder()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DAnimatedVectorDrawable_Delegate.java90 /*package*/ static long nCreateGroupPropertyHolder(long nativePtr, int propertyId, in nCreateGroupPropertyHolder() argument
93 Consumer<Float> setter = group.getPropertySetter(propertyId); in nCreateGroupPropertyHolder()
108 /*package*/ static long nCreatePathColorPropertyHolder(long nativePtr, int propertyId, in nCreatePathColorPropertyHolder() argument
111 Consumer<Integer> setter = path.getIntPropertySetter(propertyId); in nCreatePathColorPropertyHolder()
118 /*package*/ static long nCreatePathPropertyHolder(long nativePtr, int propertyId, in nCreatePathPropertyHolder() argument
121 Consumer<Float> setter = path.getFloatPropertySetter(propertyId); in nCreatePathPropertyHolder()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1347 int propertyId; in createRTAnimatorForGroup() local
1351 propertyId = VectorDrawable.VGroup.getPropertyIndex(mTmpValues.propertyName); in createRTAnimatorForGroup()
1359 if (propertyId < 0) { in createRTAnimatorForGroup()
1366 long propertyPtr = nCreateGroupPropertyHolder(nativePtr, propertyId, in createRTAnimatorForGroup()
1392 int propertyId = target.getPropertyIndex(mTmpValues.propertyName); in createRTAnimatorForFullPath() local
1396 if (propertyId < 0) { in createRTAnimatorForFullPath()
1404 propertyPtr = nCreatePathPropertyHolder(nativePtr, propertyId, in createRTAnimatorForFullPath()
1414 propertyPtr = nCreatePathColorPropertyHolder(nativePtr, propertyId, in createRTAnimatorForFullPath()
1814 private static native long nCreateGroupPropertyHolder(long nativePtr, int propertyId, in nCreateGroupPropertyHolder() argument
1820 private static native long nCreatePathColorPropertyHolder(long nativePtr, int propertyId, in nCreatePathColorPropertyHolder() argument
[all …]
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarDrivingStateMonitor.java89 public void onErrorEvent(int propertyId, int zone) {}