Code example for Transformation

Methods: getAlpha

0
               || matrix[Matrix.MSCALE_X] < 0 || matrix[Matrix.MSCALE_Y] > 0;
    } 
 
    public void drawTexture( 
        Texture texture, int x, int y, int width, int height) {
        drawTexture(texture, x, y, width, height, mTransformation.getAlpha());
    } 
 
    public static final long INVALID_TIME = -1;
    long mFirstOnDrawFrameTime = INVALID_TIME;
 
    public long getFirstOnDrawTime() { 
        return mFirstOnDrawFrameTime;
    } 
 
    // This is a GLSurfaceView.Renderer callback 
    public void onDrawFrame(GL10 gl) {
 
        if (mFirstOnDrawFrameTime == INVALID_TIME) {
            mFirstOnDrawFrameTime = SystemClock.uptimeMillis();