PanelDisplayBase
(
ctx
, panelSurface
, surfaceDPI
, getView
, intent
, themeResourceId
, onAutoReleased
, initializeInfra
)
| Parameters
ctx:
Context
surfaceDPI:
Int
getView:
Function1?
intent:
Intent?
themeResourceId:
Int
onAutoReleased:
Function0?
initializeInfra:
Boolean
Returns |
heightInPx
: Int
[Get] |
Signature
var heightInPx: Int |
panelSurface
: PanelSurface
[Get][Set] |
The surface on which the panel is displayed.
Signature
var panelSurface: PanelSurface |
rootView
: View?
[Get] |
Signature
var rootView: View |
surfaceDPI
: Int
[Get][Set] |
The DPI of the surface.
Signature
var surfaceDPI: Int |
widthInPx
: Int
[Get] |
Signature
var widthInPx: Int |
destroy
()
|
Signature
open fun destroy() |
dispatchEvent
(
motionEvent
, isGenericEvent
)
|
Dispatches input events to the appropriate target
Signature
open fun dispatchEvent(motionEvent: MotionEvent, isGenericEvent: Boolean) Parameters
motionEvent:
MotionEvent
isGenericEvent:
Boolean
|
resize
(
newPanelSurface
, newWidthInPx
, newHeightInPx
, dpi
)
|
Resizes the display to the specified dimensions in pixels. This will update the task container and virtual display with the new surface.
Signature
open fun resize(newPanelSurface: PanelSurface, newWidthInPx: Int, newHeightInPx: Int, dpi: Int) Parameters
newPanelSurface:
PanelSurface
newWidthInPx:
Int
newHeightInPx:
Int
dpi:
Int
|