public static final class InputMethodService.Insets extends Object
Modifier and Type | Field and Description |
---|---|
int |
contentTopInsets
This is the top part of the UI that is the main content.
|
static int |
TOUCHABLE_INSETS_CONTENT
Option for
touchableInsets : the area inside of
the content insets can be touched. |
static int |
TOUCHABLE_INSETS_FRAME
Option for
touchableInsets : the entire window frame
can be touched. |
static int |
TOUCHABLE_INSETS_REGION
Option for
touchableInsets : the region specified by
touchableRegion can be touched. |
static int |
TOUCHABLE_INSETS_VISIBLE
Option for
touchableInsets : the area inside of
the visible insets can be touched. |
int |
touchableInsets
Determine which area of the window is touchable by the user.
|
Region |
touchableRegion
This is the region of the UI that is touchable.
|
int |
visibleTopInsets
This is the top part of the UI that is visibly covering the
application behind it.
|
Constructor and Description |
---|
Insets() |
public int contentTopInsets
public int visibleTopInsets
public final Region touchableRegion
touchableInsets
is set to TOUCHABLE_INSETS_REGION
.
The region should be specified relative to the origin of the window frame.public static final int TOUCHABLE_INSETS_FRAME
touchableInsets
: the entire window frame
can be touched.public static final int TOUCHABLE_INSETS_CONTENT
touchableInsets
: the area inside of
the content insets can be touched.public static final int TOUCHABLE_INSETS_VISIBLE
touchableInsets
: the area inside of
the visible insets can be touched.public static final int TOUCHABLE_INSETS_REGION
touchableInsets
: the region specified by
touchableRegion
can be touched.public int touchableInsets
TOUCHABLE_INSETS_FRAME
,
TOUCHABLE_INSETS_CONTENT
, TOUCHABLE_INSETS_VISIBLE
,
or TOUCHABLE_INSETS_REGION
.