Class ShadowNativeAnimatedImageDrawable

    • Constructor Detail

      • ShadowNativeAnimatedImageDrawable

        public ShadowNativeAnimatedImageDrawable()
    • Method Detail

      • nCreate

        @Implementation(minSdk=29)
        protected static long nCreate​(long nativeImageDecoder,
                                      ImageDecoder decoder,
                                      int width,
                                      int height,
                                      long colorSpaceHandle,
                                      boolean extended,
                                      Rect cropRect)
                               throws IOException
        Throws:
        IOException
      • nCreate

        @Implementation(minSdk=28,
                        maxSdk=28)
        protected static long nCreate​(long nativeImageDecoder,
                                      ImageDecoder decoder,
                                      int width,
                                      int height,
                                      Rect cropRect)
                               throws IOException
        Throws:
        IOException
      • nGetNativeFinalizer

        @Implementation
        protected static long nGetNativeFinalizer()
      • nDraw

        @Implementation
        protected static long nDraw​(long nativePtr,
                                    long canvasNativePtr)
      • nSetAlpha

        @Implementation
        protected static void nSetAlpha​(long nativePtr,
                                        int alpha)
      • nGetAlpha

        @Implementation
        protected static int nGetAlpha​(long nativePtr)
      • nSetColorFilter

        @Implementation
        protected static void nSetColorFilter​(long nativePtr,
                                              long nativeFilter)
      • nIsRunning

        @Implementation
        protected static boolean nIsRunning​(long nativePtr)
      • nStart

        @Implementation
        protected static boolean nStart​(long nativePtr)
      • nStop

        @Implementation
        protected static boolean nStop​(long nativePtr)
      • nGetRepeatCount

        @Implementation
        protected static int nGetRepeatCount​(long nativePtr)
      • nSetRepeatCount

        @Implementation
        protected static void nSetRepeatCount​(long nativePtr,
                                              int repeatCount)
      • nSetOnAnimationEndListener

        @Implementation(maxSdk=32)
        protected static void nSetOnAnimationEndListener​(long nativePtr,
                                                         AnimatedImageDrawable drawable)
      • nSetOnAnimationEndListener

        @Implementation(minSdk=33)
        protected static void nSetOnAnimationEndListener​(long nativePtr,
                                                         WeakReference<AnimatedImageDrawable> drawable)
      • nNativeByteSize

        @Implementation
        protected static long nNativeByteSize​(long nativePtr)
      • nSetMirrored

        @Implementation
        protected static void nSetMirrored​(long nativePtr,
                                           boolean mirror)
      • nSetBounds

        @Implementation(minSdk=31)
        protected static void nSetBounds​(long nativePtr,
                                         Rect rect)