org.robolectric.shadows.ShadowNinePatch Maven / Gradle / Ivy
package org.robolectric.shadows;
import android.graphics.NinePatch;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
/**
* Shadow for {@link android.graphics.NinePatch}.
*/
@Implements(NinePatch.class)
public class ShadowNinePatch {
@Implementation
public static boolean isNinePatchChunk(byte[] chunk) {
return chunk != null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy