Where can I find the ints that represent screen orientation
<p>I need to lock the screen orientation for a short period of time to which ever orientation the user is currently on. I know that to get the current orientation you do:</p>

<pre><code>Display display = ((WindowManager) getSystemService(WINDOW_SERVICE)).getDefaultDisplay();

int orientation = display.getOrientation();
</code></pre>

<p>but then I need to be able to compare it to the integers that represent the different orientations like so:</p>

<pre><code>if (orientation == MysteryAndroidClass.ORIENTATION_PORTRAIT)
{ 
    //lock orientation in portrait
}

else
{
    //lock orientation in landscape
}
</code></pre>

<p>The problem is that I can't find these constants anywhere in the docs. Perhaps someone knows how to access them?</p>
