Public Constructors | |
---|---|
DisplayInfo(Context context, long id, int width, int height, int colors, int refreshRate, int latency, boolean tapTouch, boolean motionTouch)
Create display info. |
Public Methods | |
---|---|
long |
getId()
Get the id. |
int |
getWidth()
Get the width. |
int |
getHeight()
Get the height. |
int |
getColors()
Get the number of colors supported by the display. |
int |
getRefreshRate()
Get the refresh rate supported by the display. |
int |
getLatency()
Get the display latency. |
boolean |
isTapTouch()
Is tap touch supported. |
boolean |
isMotionTouch()
Is motion touch supported. |
boolean |
sizeEquals(int width, int height)
Check if the display size is equal to the provided width and height. |
java.util.List<WidgetContainer> |
getWidgetContainers()
Get the widget containers available for this display. |
Create display info.
context | The context. |
---|---|
id | The id. |
width | The width. |
height | The height. |
colors | The colors. |
refreshRate | The refresh rate. |
latency | The latency. |
tapTouch | True if tap touch is supported. |
motionTouch | True if motion touch is supported. |
Get the id.
The id.
Get the width.
The width.
Get the height.
The height.
Get the number of colors supported by the display.
The number of colors.
Get the refresh rate supported by the display.
The refresh rate.
Get the display latency.
The latency.
Is tap touch supported.
True if tap touch is supported.
Is motion touch supported.
True if motion touch is supported.
Check if the display size is equal to the provided width and height.
width | The width to check. |
---|---|
height | The height to check. |
True if the display is equal to the provided with and height.
Get the widget containers available for this display.
The widgets.
The display info describes a host application display.