Code example for Matrix

Methods: postScalepostTranslatepreTranslate

0
            camera.rotateX(rX);
            camera.rotateY(rY);
            camera.rotateZ(-rZ);
            camera.getMatrix(m);
            camera.restore();
            m.preTranslate(-pX, -pY);
            m.postTranslate(pX, pY);
        } 
 
        final float sX = mScaleX;
        final float sY = mScaleY;
        if ((sX != 1.0f) || (sY != 1.0f)) {
            m.postScale(sX, sY);
            final float sPX = -(pX / w) * ((sX * w) - w);
            final float sPY = -(pY / h) * ((sY * h) - h);
            m.postTranslate(sPX, sPY);
        } 
 
        m.postTranslate(mTranslationX, mTranslationY);
    } 
 
    @Override 
    protected void applyTransformation(float interpolatedTime, Transformation t) {
        View view = mView.get();
Connect your IDE to all the code out there  Get Codota for Java