android.view
public
class
android.view.Display
Summary
Constants
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Constants
public
static
final
int
DEFAULT_DISPLAY
Specify the default Display
Constant Value:
0
(0x00000000)
Public Methods
public
int
getDisplayId()
public
int
getHeight()
Returns
- height of this display in pixels.
public
void
getMetrics(DisplayMetrics outMetrics)
Initialize a DisplayMetrics object from this display's data.
public
int
getOrientation()
Returns
- orientation of this display.
public
int
getPixelFormat()
Returns
- pixel format of this display.
public
float
getRefreshRate()
Returns
- refresh rate of this display in frames per second.
public
int
getWidth()
Returns
- width of this display in pixels.