android.graphics.drawable.AnimatedVectorDrawable#VectorDrawableAnimatorRT()源码实例Demo

下面列出了android.graphics.drawable.AnimatedVectorDrawable#VectorDrawableAnimatorRT() 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: android_9.0.0_r45   文件: RenderNode.java
public void registerVectorDrawableAnimator(
        AnimatedVectorDrawable.VectorDrawableAnimatorRT animatorSet) {
    if (mOwningView == null || mOwningView.mAttachInfo == null) {
        throw new IllegalStateException("Cannot start this animator on a detached view!");
    }
    mOwningView.mAttachInfo.mViewRootImpl.registerVectorDrawableAnimator(animatorSet);
}
 
源代码2 项目: android_9.0.0_r45   文件: ThreadedRenderer.java
void registerVectorDrawableAnimator(
    AnimatedVectorDrawable.VectorDrawableAnimatorRT animator) {
    nRegisterVectorDrawableAnimator(mRootNode.mNativeRenderNode,
            animator.getAnimatorNativePtr());
}