Class ShadowNativeMatrix

java.lang.Object
org.robolectric.shadows.ShadowMatrix
org.robolectric.shadows.ShadowNativeMatrix

Shadow for Matrix that is backed by native code
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Shadow for Matrix$ExtraNatives that contains native functions.

    Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowMatrix

    ShadowMatrix.Picker
  • Field Summary

    Fields inherited from class org.robolectric.shadows.ShadowMatrix

    MATRIX, ROTATE, SCALE, SINCOS, SKEW, TRANSLATE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    A list of all 'post' operations performed on this Matrix.
    A list of all 'pre' operations performed on this Matrix.
    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
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait