Search in sources :

Example 1 with VGroup_Delegate

use of android.graphics.drawable.VectorDrawable_Delegate.VGroup_Delegate in project platform_frameworks_base by android.

the class AnimatedVectorDrawable_Delegate method nCreateGroupPropertyHolder.

@LayoutlibDelegate
static /*package*/
long nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) {
    VGroup_Delegate group = VNativeObject.getDelegate(nativePtr);
    Consumer<Float> setter = group.getPropertySetter(propertyId);
    return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue, endValue));
}
Also used : VGroup_Delegate(android.graphics.drawable.VectorDrawable_Delegate.VGroup_Delegate) LayoutlibDelegate(com.android.tools.layoutlib.annotations.LayoutlibDelegate)

Example 2 with VGroup_Delegate

use of android.graphics.drawable.VectorDrawable_Delegate.VGroup_Delegate in project android_frameworks_base by DirtyUnicorns.

the class AnimatedVectorDrawable_Delegate method nCreateGroupPropertyHolder.

@LayoutlibDelegate
static /*package*/
long nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) {
    VGroup_Delegate group = VNativeObject.getDelegate(nativePtr);
    Consumer<Float> setter = group.getPropertySetter(propertyId);
    return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue, endValue));
}
Also used : VGroup_Delegate(android.graphics.drawable.VectorDrawable_Delegate.VGroup_Delegate) LayoutlibDelegate(com.android.tools.layoutlib.annotations.LayoutlibDelegate)

Example 3 with VGroup_Delegate

use of android.graphics.drawable.VectorDrawable_Delegate.VGroup_Delegate in project android_frameworks_base by AOSPA.

the class AnimatedVectorDrawable_Delegate method nCreateGroupPropertyHolder.

@LayoutlibDelegate
static /*package*/
long nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) {
    VGroup_Delegate group = VNativeObject.getDelegate(nativePtr);
    Consumer<Float> setter = group.getPropertySetter(propertyId);
    return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue, endValue));
}
Also used : VGroup_Delegate(android.graphics.drawable.VectorDrawable_Delegate.VGroup_Delegate) LayoutlibDelegate(com.android.tools.layoutlib.annotations.LayoutlibDelegate)

Example 4 with VGroup_Delegate

use of android.graphics.drawable.VectorDrawable_Delegate.VGroup_Delegate in project android_frameworks_base by ResurrectionRemix.

the class AnimatedVectorDrawable_Delegate method nCreateGroupPropertyHolder.

@LayoutlibDelegate
static /*package*/
long nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) {
    VGroup_Delegate group = VNativeObject.getDelegate(nativePtr);
    Consumer<Float> setter = group.getPropertySetter(propertyId);
    return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue, endValue));
}
Also used : VGroup_Delegate(android.graphics.drawable.VectorDrawable_Delegate.VGroup_Delegate) LayoutlibDelegate(com.android.tools.layoutlib.annotations.LayoutlibDelegate)

Example 5 with VGroup_Delegate

use of android.graphics.drawable.VectorDrawable_Delegate.VGroup_Delegate in project android_frameworks_base by crdroidandroid.

the class AnimatedVectorDrawable_Delegate method nCreateGroupPropertyHolder.

@LayoutlibDelegate
static /*package*/
long nCreateGroupPropertyHolder(long nativePtr, int propertyId, float startValue, float endValue) {
    VGroup_Delegate group = VNativeObject.getDelegate(nativePtr);
    Consumer<Float> setter = group.getPropertySetter(propertyId);
    return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue, endValue));
}
Also used : VGroup_Delegate(android.graphics.drawable.VectorDrawable_Delegate.VGroup_Delegate) LayoutlibDelegate(com.android.tools.layoutlib.annotations.LayoutlibDelegate)

Aggregations

VGroup_Delegate (android.graphics.drawable.VectorDrawable_Delegate.VGroup_Delegate)5 LayoutlibDelegate (com.android.tools.layoutlib.annotations.LayoutlibDelegate)5