The screen size is the available size for the user.
There are 25dip for the status bar and 25dip for the title bar.
From your values it seems that you have either no title bar or no status bar.
In landscape 600 - 25 = 575 and in portrait 1024 - 25 = 999.