Java Code Examples for android.view.View#postOnAnimationDelayed()

The following examples show how to use android.view.View#postOnAnimationDelayed() . 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: Utils.java    From FoldableLayout with Apache License 2.0 5 votes vote down vote up
static void postOnAnimation(View view, Runnable action) {
    view.removeCallbacks(action);
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
        view.postOnAnimationDelayed(action, FRAME_TIME);
    } else {
        view.postDelayed(action, FRAME_TIME);
    }
}
 
Example 2
Source File: ViewCompatJB.java    From letv with Apache License 2.0 4 votes vote down vote up
public static void postOnAnimationDelayed(View view, Runnable action, long delayMillis) {
    view.postOnAnimationDelayed(action, delayMillis);
}
 
Example 3
Source File: am.java    From MiBandDecompiled with Apache License 2.0 4 votes vote down vote up
public static void a(View view, Runnable runnable, long l)
{
    view.postOnAnimationDelayed(runnable, l);
}
 
Example 4
Source File: Compat.java    From ProjectX with Apache License 2.0 4 votes vote down vote up
@Override
public void postOnAnimationDelayed(View view, Runnable action, long delayMillis) {
    view.postOnAnimationDelayed(action, delayMillis);
}
 
Example 5
Source File: ViewCompatJB.java    From CodenameOne with GNU General Public License v2.0 4 votes vote down vote up
public static void postOnAnimationDelayed(View view, Runnable action, long delayMillis) {
    view.postOnAnimationDelayed(action, delayMillis);
}
 
Example 6
Source File: ViewCompatJB.java    From adt-leanback-support with Apache License 2.0 4 votes vote down vote up
public static void postOnAnimationDelayed(View view, Runnable action, long delayMillis) {
    view.postOnAnimationDelayed(action, delayMillis);
}
 
Example 7
Source File: ViewCompatJB.java    From V.FlyoutTest with MIT License 4 votes vote down vote up
public static void postOnAnimationDelayed(View view, Runnable action, long delayMillis) {
    view.postOnAnimationDelayed(action, delayMillis);
}
 
Example 8
Source File: ViewCompatJB.java    From guideshow with MIT License 4 votes vote down vote up
public static void postOnAnimationDelayed(View view, Runnable action, long delayMillis) {
    view.postOnAnimationDelayed(action, delayMillis);
}