Class ShadowNativeMatrix

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getDescription()  
      List<String> getPostOperations()
      A list of all 'post' operations performed on this Matrix.
      List<String> getPreOperations()
      A list of all 'pre' operations performed on this Matrix.
      Map<String,​String> getSetOperations()
      A map of all 'set' operations performed on this Matrix.
      protected static long native_create​(long nSrcOrZero)  
      protected static long nCreate​(long nSrcOrZero)  
      protected static boolean nEquals​(long nA, long nB)  
      protected static long nGetNativeFinalizer()  
      protected static void nGetValues​(long nObject, float[] values)  
      protected static boolean nInvert​(long nObject, long nInverse)  
      protected static boolean nIsAffine​(long nObject)  
      protected static boolean nIsIdentity​(long nObject)  
      protected static void nMapPoints​(long nObject, float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount, boolean isPts)  
      protected static float nMapRadius​(long nObject, float radius)  
      protected static boolean nMapRect​(long nObject, RectF dst, RectF src)  
      protected static void nPostConcat​(long nObject, long nOtherMatrix)  
      protected static void nPostRotate​(long nObject, float degrees)  
      protected static void nPostRotate​(long nObject, float degrees, float px, float py)  
      protected static void nPostScale​(long nObject, float sx, float sy)  
      protected static void nPostScale​(long nObject, float sx, float sy, float px, float py)  
      protected static void nPostSkew​(long nObject, float kx, float ky)  
      protected static void nPostSkew​(long nObject, float kx, float ky, float px, float py)  
      protected static void nPostTranslate​(long nObject, float dx, float dy)  
      protected static void nPreConcat​(long nObject, long nOtherMatrix)  
      protected static void nPreRotate​(long nObject, float degrees)  
      protected static void nPreRotate​(long nObject, float degrees, float px, float py)  
      protected static void nPreScale​(long nObject, float sx, float sy)  
      protected static void nPreScale​(long nObject, float sx, float sy, float px, float py)  
      protected static void nPreSkew​(long nObject, float kx, float ky)  
      protected static void nPreSkew​(long nObject, float kx, float ky, float px, float py)  
      protected static void nPreTranslate​(long nObject, float dx, float dy)  
      protected static boolean nRectStaysRect​(long nObject)  
      protected static void nReset​(long nObject)  
      protected static void nSet​(long nObject, long nOther)  
      protected static void nSetConcat​(long nObject, long nA, long nB)  
      protected static boolean nSetPolyToPoly​(long nObject, float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount)  
      protected static boolean nSetRectToRect​(long nObject, RectF src, RectF dst, int stf)  
      protected static void nSetRotate​(long nObject, float degrees)  
      protected static void nSetRotate​(long nObject, float degrees, float px, float py)  
      protected static void nSetScale​(long nObject, float sx, float sy)  
      protected static void nSetScale​(long nObject, float sx, float sy, float px, float py)  
      protected static void nSetSinCos​(long nObject, float sinValue, float cosValue)  
      protected static void nSetSinCos​(long nObject, float sinValue, float cosValue, float px, float py)  
      protected static void nSetSkew​(long nObject, float kx, float ky)  
      protected static void nSetSkew​(long nObject, float kx, float ky, float px, float py)  
      protected static void nSetTranslate​(long nObject, float dx, float dy)  
      protected static void nSetValues​(long nObject, float[] values)  
    • Constructor Detail

      • ShadowNativeMatrix

        public ShadowNativeMatrix()
    • Method Detail

      • native_create

        @Implementation(minSdk=21,
                        maxSdk=25)
        protected static long native_create​(long nSrcOrZero)
      • nCreate

        @Implementation(minSdk=26)
        protected static long nCreate​(long nSrcOrZero)
      • nGetNativeFinalizer

        @Implementation(minSdk=26)
        protected static long nGetNativeFinalizer()
      • nSetRectToRect

        @Implementation(minSdk=26)
        protected static boolean nSetRectToRect​(long nObject,
                                                RectF src,
                                                RectF dst,
                                                int stf)
      • nSetPolyToPoly

        @Implementation(minSdk=26)
        protected static boolean nSetPolyToPoly​(long nObject,
                                                float[] src,
                                                int srcIndex,
                                                float[] dst,
                                                int dstIndex,
                                                int pointCount)
      • nMapPoints

        @Implementation(minSdk=26)
        protected static void nMapPoints​(long nObject,
                                         float[] dst,
                                         int dstIndex,
                                         float[] src,
                                         int srcIndex,
                                         int ptCount,
                                         boolean isPts)
      • nMapRect

        @Implementation(minSdk=26)
        protected static boolean nMapRect​(long nObject,
                                          RectF dst,
                                          RectF src)
      • nGetValues

        @Implementation(minSdk=26)
        protected static void nGetValues​(long nObject,
                                         float[] values)
      • nSetValues

        @Implementation(minSdk=26)
        protected static void nSetValues​(long nObject,
                                         float[] values)
      • nIsIdentity

        @Implementation(minSdk=26)
        protected static boolean nIsIdentity​(long nObject)
      • nIsAffine

        @Implementation(minSdk=26)
        protected static boolean nIsAffine​(long nObject)
      • nRectStaysRect

        @Implementation(minSdk=26)
        protected static boolean nRectStaysRect​(long nObject)
      • nReset

        @Implementation(minSdk=26)
        protected static void nReset​(long nObject)
      • nSet

        @Implementation(minSdk=26)
        protected static void nSet​(long nObject,
                                   long nOther)
      • nSetTranslate

        @Implementation(minSdk=26)
        protected static void nSetTranslate​(long nObject,
                                            float dx,
                                            float dy)
      • nSetScale

        @Implementation(minSdk=26)
        protected static void nSetScale​(long nObject,
                                        float sx,
                                        float sy,
                                        float px,
                                        float py)
      • nSetScale

        @Implementation(minSdk=26)
        protected static void nSetScale​(long nObject,
                                        float sx,
                                        float sy)
      • nSetRotate

        @Implementation(minSdk=26)
        protected static void nSetRotate​(long nObject,
                                         float degrees,
                                         float px,
                                         float py)
      • nSetRotate

        @Implementation(minSdk=26)
        protected static void nSetRotate​(long nObject,
                                         float degrees)
      • nSetSinCos

        @Implementation(minSdk=26)
        protected static void nSetSinCos​(long nObject,
                                         float sinValue,
                                         float cosValue,
                                         float px,
                                         float py)
      • nSetSinCos

        @Implementation(minSdk=26)
        protected static void nSetSinCos​(long nObject,
                                         float sinValue,
                                         float cosValue)
      • nSetSkew

        @Implementation(minSdk=26)
        protected static void nSetSkew​(long nObject,
                                       float kx,
                                       float ky,
                                       float px,
                                       float py)
      • nSetSkew

        @Implementation(minSdk=26)
        protected static void nSetSkew​(long nObject,
                                       float kx,
                                       float ky)
      • nSetConcat

        @Implementation(minSdk=26)
        protected static void nSetConcat​(long nObject,
                                         long nA,
                                         long nB)
      • nPreTranslate

        @Implementation(minSdk=26)
        protected static void nPreTranslate​(long nObject,
                                            float dx,
                                            float dy)
      • nPreScale

        @Implementation(minSdk=26)
        protected static void nPreScale​(long nObject,
                                        float sx,
                                        float sy,
                                        float px,
                                        float py)
      • nPreScale

        @Implementation(minSdk=26)
        protected static void nPreScale​(long nObject,
                                        float sx,
                                        float sy)
      • nPreRotate

        @Implementation(minSdk=26)
        protected static void nPreRotate​(long nObject,
                                         float degrees,
                                         float px,
                                         float py)
      • nPreRotate

        @Implementation(minSdk=26)
        protected static void nPreRotate​(long nObject,
                                         float degrees)
      • nPreSkew

        @Implementation(minSdk=26)
        protected static void nPreSkew​(long nObject,
                                       float kx,
                                       float ky,
                                       float px,
                                       float py)
      • nPreSkew

        @Implementation(minSdk=26)
        protected static void nPreSkew​(long nObject,
                                       float kx,
                                       float ky)
      • nPreConcat

        @Implementation(minSdk=26)
        protected static void nPreConcat​(long nObject,
                                         long nOtherMatrix)
      • nPostTranslate

        @Implementation(minSdk=26)
        protected static void nPostTranslate​(long nObject,
                                             float dx,
                                             float dy)
      • nPostScale

        @Implementation(minSdk=26)
        protected static void nPostScale​(long nObject,
                                         float sx,
                                         float sy,
                                         float px,
                                         float py)
      • nPostScale

        @Implementation(minSdk=26)
        protected static void nPostScale​(long nObject,
                                         float sx,
                                         float sy)
      • nPostRotate

        @Implementation(minSdk=26)
        protected static void nPostRotate​(long nObject,
                                          float degrees,
                                          float px,
                                          float py)
      • nPostRotate

        @Implementation(minSdk=26)
        protected static void nPostRotate​(long nObject,
                                          float degrees)
      • nPostSkew

        @Implementation(minSdk=26)
        protected static void nPostSkew​(long nObject,
                                        float kx,
                                        float ky,
                                        float px,
                                        float py)
      • nPostSkew

        @Implementation(minSdk=26)
        protected static void nPostSkew​(long nObject,
                                        float kx,
                                        float ky)
      • nPostConcat

        @Implementation(minSdk=26)
        protected static void nPostConcat​(long nObject,
                                          long nOtherMatrix)
      • nInvert

        @Implementation(minSdk=26)
        protected static boolean nInvert​(long nObject,
                                         long nInverse)
      • nMapRadius

        @Implementation(minSdk=26)
        protected static float nMapRadius​(long nObject,
                                          float radius)
      • nEquals

        @Implementation(minSdk=26)
        protected static boolean nEquals​(long nA,
                                         long nB)
      • getPreOperations

        public List<String> getPreOperations()
        Description copied from class: ShadowMatrix
        A list of all 'pre' operations performed on this Matrix. The last operation performed will be first in the list.
        Specified by:
        getPreOperations in class ShadowMatrix
        Returns:
        A list of all 'pre' operations performed on this Matrix.
      • getPostOperations

        public List<String> getPostOperations()
        Description copied from class: ShadowMatrix
        A list of all 'post' operations performed on this Matrix. The last operation performed will be last in the list.
        Specified by:
        getPostOperations in class ShadowMatrix
        Returns:
        A list of all 'post' operations performed on this Matrix.
      • getSetOperations

        public Map<String,​String> getSetOperations()
        Description copied from class: ShadowMatrix
        A map of all 'set' operations performed on this Matrix.
        Specified by:
        getSetOperations in class ShadowMatrix
        Returns:
        A map of all 'set' operations performed on this Matrix.