Class ShadowBitmapFactory


  • @Implements(android.graphics.BitmapFactory.class)
    public class ShadowBitmapFactory
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static android.graphics.Bitmap create​(java.lang.String name, android.graphics.BitmapFactory.Options options)  
      static android.graphics.Bitmap create​(java.lang.String name, android.graphics.BitmapFactory.Options options, android.graphics.Point widthAndHeight)  
      protected static android.graphics.Bitmap decodeByteArray​(byte[] data, int offset, int length)  
      protected static android.graphics.Bitmap decodeByteArray​(byte[] data, int offset, int length, android.graphics.BitmapFactory.Options opts)  
      protected static android.graphics.Bitmap decodeFile​(java.lang.String pathName)  
      protected static android.graphics.Bitmap decodeFile​(java.lang.String pathName, android.graphics.BitmapFactory.Options options)  
      protected static android.graphics.Bitmap decodeFileDescriptor​(java.io.FileDescriptor fd, android.graphics.Rect outPadding, android.graphics.BitmapFactory.Options opts)  
      protected static android.graphics.Bitmap decodeResource​(android.content.res.Resources res, int id, android.graphics.BitmapFactory.Options options)  
      protected static android.graphics.Bitmap decodeResourceStream​(android.content.res.Resources res, android.util.TypedValue value, java.io.InputStream is, android.graphics.Rect pad, android.graphics.BitmapFactory.Options opts)  
      protected static android.graphics.Bitmap decodeStream​(java.io.InputStream is)  
      protected static android.graphics.Bitmap decodeStream​(java.io.InputStream is, android.graphics.Rect outPadding, android.graphics.BitmapFactory.Options opts)  
      static void provideWidthAndHeightHints​(int resourceId, int width, int height)  
      static void provideWidthAndHeightHints​(android.net.Uri uri, int width, int height)  
      static void provideWidthAndHeightHints​(java.io.FileDescriptor fd, int width, int height)  
      static void provideWidthAndHeightHints​(java.lang.String file, int width, int height)  
      static void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowBitmapFactory

        public ShadowBitmapFactory()
    • Method Detail

      • decodeResourceStream

        @Implementation
        protected static android.graphics.Bitmap decodeResourceStream​(android.content.res.Resources res,
                                                                      android.util.TypedValue value,
                                                                      java.io.InputStream is,
                                                                      android.graphics.Rect pad,
                                                                      android.graphics.BitmapFactory.Options opts)
      • decodeResource

        @Implementation
        protected static android.graphics.Bitmap decodeResource​(android.content.res.Resources res,
                                                                int id,
                                                                android.graphics.BitmapFactory.Options options)
      • decodeFile

        @Implementation
        protected static android.graphics.Bitmap decodeFile​(java.lang.String pathName)
      • decodeFile

        @Implementation
        protected static android.graphics.Bitmap decodeFile​(java.lang.String pathName,
                                                            android.graphics.BitmapFactory.Options options)
      • decodeFileDescriptor

        @Implementation
        protected static android.graphics.Bitmap decodeFileDescriptor​(java.io.FileDescriptor fd,
                                                                      android.graphics.Rect outPadding,
                                                                      android.graphics.BitmapFactory.Options opts)
      • decodeStream

        @Implementation
        protected static android.graphics.Bitmap decodeStream​(java.io.InputStream is)
      • decodeStream

        @Implementation
        protected static android.graphics.Bitmap decodeStream​(java.io.InputStream is,
                                                              android.graphics.Rect outPadding,
                                                              android.graphics.BitmapFactory.Options opts)
      • decodeByteArray

        @Implementation
        protected static android.graphics.Bitmap decodeByteArray​(byte[] data,
                                                                 int offset,
                                                                 int length)
      • decodeByteArray

        @Implementation
        protected static android.graphics.Bitmap decodeByteArray​(byte[] data,
                                                                 int offset,
                                                                 int length,
                                                                 android.graphics.BitmapFactory.Options opts)
      • create

        public static android.graphics.Bitmap create​(java.lang.String name,
                                                     android.graphics.BitmapFactory.Options options)
      • create

        public static android.graphics.Bitmap create​(java.lang.String name,
                                                     android.graphics.BitmapFactory.Options options,
                                                     android.graphics.Point widthAndHeight)
      • provideWidthAndHeightHints

        public static void provideWidthAndHeightHints​(android.net.Uri uri,
                                                      int width,
                                                      int height)
      • provideWidthAndHeightHints

        public static void provideWidthAndHeightHints​(int resourceId,
                                                      int width,
                                                      int height)
      • provideWidthAndHeightHints

        public static void provideWidthAndHeightHints​(java.lang.String file,
                                                      int width,
                                                      int height)
      • provideWidthAndHeightHints

        public static void provideWidthAndHeightHints​(java.io.FileDescriptor fd,
                                                      int width,
                                                      int height)
      • reset

        @Resetter
        public static void reset()