android.view.ViewPropertyAnimator#cancel ( )源码实例Demo

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

源代码1 项目: FlexibleAdapter   文件: EmptyViewHelper.java
private static void showView(View view) {
    if (view != null) {
        ViewPropertyAnimator animator = view.animate();
        animator.cancel();
        animator.alpha(1);
    }
}
 
源代码2 项目: FlexibleAdapter   文件: EmptyViewHelper.java
public static void hideView(View view) {
    if (view != null) {
        ViewPropertyAnimator animator = view.animate();
        animator.cancel();
        animator.alpha(0);
    }
}
 
源代码3 项目: MiBandDecompiled   文件: g.java
public void cancel()
{
    ViewPropertyAnimator viewpropertyanimator = (ViewPropertyAnimator)b.get();
    if (viewpropertyanimator != null)
    {
        viewpropertyanimator.cancel();
    }
}
 
源代码4 项目: a   文件: FastScroller.java
private void cancelAnimation(ViewPropertyAnimator animator) {
    if (animator != null) {
        animator.cancel();
    }
}
 
源代码5 项目: MyBookshelf   文件: FastScroller.java
private void cancelAnimation(ViewPropertyAnimator animator) {
    if (animator != null) {
        animator.cancel();
    }
}
 
源代码6 项目: PixImagePicker   文件: Utility.java
public static void cancelAnimation(ViewPropertyAnimator animator) {
    if (animator != null) {
        animator.cancel();
    }
}
 
源代码7 项目: HaoReader   文件: FastScroller.java
private void cancelAnimation(ViewPropertyAnimator animator) {
    if (animator != null) {
        animator.cancel();
    }
}
 
源代码8 项目: APlayer   文件: FastScroller.java
private void cancelAnimation(ViewPropertyAnimator animator) {
  if (animator != null) {
    animator.cancel();
  }
}