Home | History | Annotate | Download | only in shadows
      1 package org.robolectric.shadows;
      2 
      3 import android.graphics.NinePatch;
      4 import org.robolectric.annotation.Implementation;
      5 import org.robolectric.annotation.Implements;
      6 
      7 @Implements(NinePatch.class)
      8 public class ShadowNinePatch {
      9   @Implementation
     10   public static boolean isNinePatchChunk(byte[] chunk) {
     11     return chunk != null;
     12   }
     13 }
     14