Methods Summary |
---|
static native int | getDisplayCount()
|
public int | getDisplayId()
return mDisplay;
|
public native int | getHeight()
|
public void | getMetrics(android.util.DisplayMetrics outMetrics)Initialize a DisplayMetrics object from this display's data.
outMetrics.widthPixels = getWidth();
outMetrics.heightPixels = getHeight();
outMetrics.density = mDensity;
outMetrics.scaledDensity= outMetrics.density;
outMetrics.xdpi = mDpiX;
outMetrics.ydpi = mDpiY;
|
public native int | getOrientation()
|
public int | getPixelFormat()
return mPixelFormat;
|
public float | getRefreshRate()
return mRefreshRate;
|
public native int | getWidth()
|
private native void | init(int display)
|
private static native void | nativeClassInit()
|