Example usage for android.support.v4.graphics.drawable DrawableCompat jumpToCurrentState

List of usage examples for android.support.v4.graphics.drawable DrawableCompat jumpToCurrentState

Introduction

In this page you can find the example usage for android.support.v4.graphics.drawable DrawableCompat jumpToCurrentState.

Prototype

public static void jumpToCurrentState(Drawable drawable) 

Source Link

Usage

From source file:android.support.v7.graphics.drawable.DrawableWrapper.java

public void jumpToCurrentState() {
    DrawableCompat.jumpToCurrentState(mDrawable);
}

From source file:com.commonsware.cwac.crossport.v7.graphics.drawable.DrawableWrapper.java

@Override
public void jumpToCurrentState() {
    DrawableCompat.jumpToCurrentState(mDrawable);
}

From source file:android.support.graphics.drawable.VectorDrawableCommon.java

@Override
public void jumpToCurrentState() {
    if (mDelegateDrawable != null) {
        DrawableCompat.jumpToCurrentState(mDelegateDrawable);
        return;/*from w  w w. j  a  va 2s .  c  om*/
    }
}

From source file:com.negusoft.greenmatter.drawable.CompoundDrawableWrapper.java

public void jumpToCurrentState() {
    for (Drawable d : mSecondaryDrawables)
        DrawableCompat.jumpToCurrentState(d);
    super.jumpToCurrentState();
}

From source file:com.github.shareme.gwsmaterialuikit.library.material.drawable.PaddingDrawable.java

public void jumpToCurrentState() {
    if (mDrawable != null)
        DrawableCompat.jumpToCurrentState(mDrawable);
}

From source file:com.albedinsky.android.support.ui.graphics.drawable.DrawableWrapper.java

/**
 */
@Override
public void jumpToCurrentState() {
    DrawableCompat.jumpToCurrentState(mDrawable);
}

From source file:android.support.v7.app.MediaRouteButton.java

public void jumpDrawablesToCurrentState() {
    // We can't call super to handle the background so we do it ourselves.
    //super.jumpDrawablesToCurrentState();
    if (getBackground() != null) {
        DrawableCompat.jumpToCurrentState(getBackground());
    }/*from w w w.  j a  v  a2s  . c  o  m*/

    // Handle our own remote indicator.
    if (mRemoteIndicator != null) {
        DrawableCompat.jumpToCurrentState(mRemoteIndicator);
    }
}

From source file:com.facebook.litho.ComponentHost.java

@Override
public void jumpDrawablesToCurrentState() {
    super.jumpDrawablesToCurrentState();
    for (int i = 0, size = mDrawableMountItems.size(); i < size; i++) {
        final Drawable drawable = (Drawable) mDrawableMountItems.valueAt(i).getContent();
        DrawableCompat.jumpToCurrentState(drawable);
    }/*w ww.j av a  2s .  c om*/
}