InputWindowHandlepublic final class InputWindowHandle extends Object Functions as a handle for a window that can receive input.
Enables the native input dispatcher to refer indirectly to the window manager's window state. |
Fields Summary |
---|
private long | ptr | public final InputApplicationHandle | inputApplicationHandle | public final Object | windowState | public android.view.InputChannel | inputChannel | public String | name | public int | layoutParamsFlags | public int | layoutParamsType | public long | dispatchingTimeoutNanos | public int | frameLeft | public int | frameTop | public int | frameRight | public int | frameBottom | public float | scaleFactor | public final android.graphics.Region | touchableRegion | public boolean | visible | public boolean | canReceiveKeys | public boolean | hasFocus | public boolean | hasWallpaper | public boolean | paused | public int | layer | public int | ownerPid | public int | ownerUid | public int | inputFeatures | public final int | displayId |
Constructors Summary |
---|
public InputWindowHandle(InputApplicationHandle inputApplicationHandle, Object windowState, int displayId)
this.inputApplicationHandle = inputApplicationHandle;
this.windowState = windowState;
this.displayId = displayId;
|
Methods Summary |
---|
protected void | finalize()
try {
nativeDispose();
} finally {
super.finalize();
}
| private native void | nativeDispose()
|
|