Java Code Examples for android.view.ViewPropertyAnimator#cancel()
The following examples show how to use
android.view.ViewPropertyAnimator#cancel() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: EmptyViewHelper.java From FlexibleAdapter with Apache License 2.0 | 5 votes |
private static void showView(View view) { if (view != null) { ViewPropertyAnimator animator = view.animate(); animator.cancel(); animator.alpha(1); } }
Example 2
Source File: EmptyViewHelper.java From FlexibleAdapter with Apache License 2.0 | 5 votes |
public static void hideView(View view) { if (view != null) { ViewPropertyAnimator animator = view.animate(); animator.cancel(); animator.alpha(0); } }
Example 3
Source File: g.java From MiBandDecompiled with Apache License 2.0 | 5 votes |
public void cancel() { ViewPropertyAnimator viewpropertyanimator = (ViewPropertyAnimator)b.get(); if (viewpropertyanimator != null) { viewpropertyanimator.cancel(); } }
Example 4
Source File: FastScroller.java From a with GNU General Public License v3.0 | 4 votes |
private void cancelAnimation(ViewPropertyAnimator animator) { if (animator != null) { animator.cancel(); } }
Example 5
Source File: FastScroller.java From MyBookshelf with GNU General Public License v3.0 | 4 votes |
private void cancelAnimation(ViewPropertyAnimator animator) { if (animator != null) { animator.cancel(); } }
Example 6
Source File: Utility.java From PixImagePicker with Apache License 2.0 | 4 votes |
public static void cancelAnimation(ViewPropertyAnimator animator) { if (animator != null) { animator.cancel(); } }
Example 7
Source File: FastScroller.java From HaoReader with GNU General Public License v3.0 | 4 votes |
private void cancelAnimation(ViewPropertyAnimator animator) { if (animator != null) { animator.cancel(); } }
Example 8
Source File: FastScroller.java From APlayer with GNU General Public License v3.0 | 4 votes |
private void cancelAnimation(ViewPropertyAnimator animator) { if (animator != null) { animator.cancel(); } }