FileDocCategorySizeDatePackage
PropertyValuesHolder_Delegate.javaAPI DocAndroid 5.1 API3613Thu Mar 12 22:22:44 GMT 2015android.animation

PropertyValuesHolder_Delegate

public class PropertyValuesHolder_Delegate extends Object
Delegate implementing the native methods of android.animation.PropertyValuesHolder Through the layoutlib_create tool, the original native methods of PropertyValuesHolder have been replaced by calls to methods of the same name in this delegate class. Because it's a stateless class to start with, there's no need to keep a {@link DelegateManager} around to map int to instance of the delegate. The main goal of this class' methods are to provide a native way to access setters and getters on some object. In this case we want to default to using Java reflection instead so the native methods do nothing.

Fields Summary
Constructors Summary
Methods Summary
static voidnCallFloatMethod(java.lang.Object target, long methodID, float arg)

        // do nothing
    
static voidnCallFourFloatMethod(java.lang.Object target, long methodID, float arg1, float arg2, float arg3, float arg4)

        // do nothing
    
static voidnCallFourIntMethod(java.lang.Object target, long methodID, int arg1, int arg2, int arg3, int arg4)

        // do nothing
    
static voidnCallIntMethod(java.lang.Object target, long methodID, int arg)

        // do nothing
    
static voidnCallMultipleFloatMethod(java.lang.Object target, long methodID, float[] args)

        // do nothing
    
static voidnCallMultipleIntMethod(java.lang.Object target, long methodID, int[] args)

        // do nothing
    
static voidnCallTwoFloatMethod(java.lang.Object target, long methodID, float arg1, float arg2)

        // do nothing
    
static voidnCallTwoIntMethod(java.lang.Object target, long methodID, int arg1, int arg2)

        // do nothing
    
static longnGetFloatMethod(java.lang.Class targetClass, java.lang.String methodName)

        // return 0 to force PropertyValuesHolder to use Java reflection.
        return 0;
    
static longnGetIntMethod(java.lang.Class targetClass, java.lang.String methodName)

        // return 0 to force PropertyValuesHolder to use Java reflection.
        return 0;
    
static longnGetMultipleFloatMethod(java.lang.Class targetClass, java.lang.String methodName, int numParams)

        // TODO: return the right thing.
        return 0;
    
static longnGetMultipleIntMethod(java.lang.Class targetClass, java.lang.String methodName, int numParams)

        // TODO: return the right thing.
        return 0;