Code example for Matrix

Methods: equals

                matrix = null;
            // don't invalidate unless we're actually changing our matrix 
            if (matrix == null && !super.getImageMatrix().isIdentity() ||
                    matrix != null && !super.getImageMatrix().equals(matrix)) {
//ALPS00126955 BEGIN 
                //when we invalidate,call super.setImageMatrix(),not set super's matrix ourselves. 
//ALPS00126955 END 
//Gipi Add - E 
    protected void onLayout(boolean changed, int left, int top,
                            int right, int bottom) {
        super.onLayout(changed, left, top, right, bottom);
Connect your IDE to all the code out there  Get Codota for Java