当前位置: 首页>>代码示例>>Java>>正文


Java AnimatorProxy.NEEDS_PROXY属性代码示例

本文整理汇总了Java中com.nineoldandroids.view.animation.AnimatorProxy.NEEDS_PROXY属性的典型用法代码示例。如果您正苦于以下问题:Java AnimatorProxy.NEEDS_PROXY属性的具体用法?Java AnimatorProxy.NEEDS_PROXY怎么用?Java AnimatorProxy.NEEDS_PROXY使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在com.nineoldandroids.view.animation.AnimatorProxy的用法示例。


在下文中一共展示了AnimatorProxy.NEEDS_PROXY属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: initAnimation

/**
 * This function is called immediately before processing the first animation
 * frame of an animation. If there is a nonzero <code>startDelay</code>, the
 * function is called after that delay ends.
 * It takes care of the final initialization steps for the
 * animation. This includes setting mEvaluator, if the user has not yet
 * set it up, and the setter/getter methods, if the user did not supply
 * them.
 *
 *  <p>Overriders of this method should call the superclass method to cause
 *  internal mechanisms to be set up correctly.</p>
 */
@Override
void initAnimation() {
    if (!mInitialized) {
        // mValueType may change due to setter/getter setup; do this before calling super.init(),
        // which uses mValueType to set up the default type evaluator.
        if ((mProperty == null) && AnimatorProxy.NEEDS_PROXY && (mTarget instanceof View) && PROXY_PROPERTIES.containsKey(mPropertyName)) {
            setProperty(PROXY_PROPERTIES.get(mPropertyName));
        }
        int numValues = mValues.length;
        for (int i = 0; i < numValues; ++i) {
            mValues[i].setupSetterAndGetter(mTarget);
        }
        super.initAnimation();
    }
}
 
开发者ID:junchenChow,项目名称:exciting-app,代码行数:27,代码来源:ObjectAnimator.java

示例2: setTranslationX

public static void setTranslationX(View view, float translationX) {
    if (AnimatorProxy.NEEDS_PROXY) {
        AnimatorProxy.wrap(view).setTranslationX(translationX);
    } else {
        Honeycomb.setTranslationX(view, translationX);
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:7,代码来源:ViewHelper.java

示例3: setScrollY

public static void setScrollY(View view, int scrollY) {
    if (AnimatorProxy.NEEDS_PROXY) {
        AnimatorProxy.wrap(view).setScrollY(scrollY);
    } else {
        Honeycomb.setScrollY(view, scrollY);
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:7,代码来源:ViewHelper.java

示例4: setPivotX

public static void setPivotX(View view, float pivotX) {
    if (AnimatorProxy.NEEDS_PROXY) {
        AnimatorProxy.wrap(view).setPivotX(pivotX);
    } else {
        Honeycomb.setPivotX(view, pivotX);
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:7,代码来源:ViewHelper.java

示例5: setX

public static void setX(View view, float x) {
    if (AnimatorProxy.NEEDS_PROXY) {
        AnimatorProxy.wrap(view).setX(x);
    } else {
        Honeycomb.setX(view, x);
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:7,代码来源:ViewHelper.java

示例6: setPivotY

public static void setPivotY(View view, float pivotY) {
    if (AnimatorProxy.NEEDS_PROXY) {
        AnimatorProxy.wrap(view).setPivotY(pivotY);
    } else {
        Honeycomb.setPivotY(view, pivotY);
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:7,代码来源:ViewHelper.java

示例7: setRotation

public static void setRotation(View view, float rotation) {
    if (AnimatorProxy.NEEDS_PROXY) {
        AnimatorProxy.wrap(view).setRotation(rotation);
    } else {
        Honeycomb.setRotation(view, rotation);
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:7,代码来源:ViewHelper.java

示例8: setRotationY

public static void setRotationY(View view, float rotationY) {
    if (AnimatorProxy.NEEDS_PROXY) {
        AnimatorProxy.wrap(view).setRotationY(rotationY);
    } else {
        Honeycomb.setRotationY(view, rotationY);
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:7,代码来源:ViewHelper.java

示例9: setScaleX

public static void setScaleX(View view, float scaleX) {
    if (AnimatorProxy.NEEDS_PROXY) {
        AnimatorProxy.wrap(view).setScaleX(scaleX);
    } else {
        Honeycomb.setScaleX(view, scaleX);
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:7,代码来源:ViewHelper.java

示例10: setY

public static void setY(View view, float y) {
    if (AnimatorProxy.NEEDS_PROXY) {
        AnimatorProxy.wrap(view).setY(y);
    } else {
        Honeycomb.setY(view, y);
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:7,代码来源:ViewHelper.java

示例11: setScaleY

public static void setScaleY(View view, float scaleY) {
    if (AnimatorProxy.NEEDS_PROXY) {
        AnimatorProxy.wrap(view).setScaleY(scaleY);
    } else {
        Honeycomb.setScaleY(view, scaleY);
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:7,代码来源:ViewHelper.java

示例12: setScrollX

public static void setScrollX(View view, int scrollX) {
    if (AnimatorProxy.NEEDS_PROXY) {
        AnimatorProxy.wrap(view).setScrollX(scrollX);
    } else {
        Honeycomb.setScrollX(view, scrollX);
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:7,代码来源:ViewHelper.java

示例13: setScaleY

public static void setScaleY(View view, float f)
{
    if (AnimatorProxy.NEEDS_PROXY)
    {
        AnimatorProxy.wrap(view).setScaleY(f);
        return;
    } else
    {
        a.h(view, f);
        return;
    }
}
 
开发者ID:vishnudevk,项目名称:MiBandDecompiled,代码行数:12,代码来源:ViewHelper.java

示例14: setRotationX

public static void setRotationX(View view, float f)
{
    if (AnimatorProxy.NEEDS_PROXY)
    {
        AnimatorProxy.wrap(view).setRotationX(f);
        return;
    } else
    {
        a.e(view, f);
        return;
    }
}
 
开发者ID:vishnudevk,项目名称:MiBandDecompiled,代码行数:12,代码来源:ViewHelper.java

示例15: setScrollY

public static void setScrollY(View view, int i)
{
    if (AnimatorProxy.NEEDS_PROXY)
    {
        AnimatorProxy.wrap(view).setScrollY(i);
        return;
    } else
    {
        a.b(view, i);
        return;
    }
}
 
开发者ID:vishnudevk,项目名称:MiBandDecompiled,代码行数:12,代码来源:ViewHelper.java


注:本文中的com.nineoldandroids.view.animation.AnimatorProxy.NEEDS_PROXY属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。