@Implements(android.view.KeyCharacterMap.class) public class ShadowKeyCharacterMap extends Object
Constructor | Description |
---|---|
ShadowKeyCharacterMap() |
Modifier and Type | Method | Description |
---|---|---|
protected int |
get(int keyCode,
int metaState) |
|
KeyEvent |
getDownEvent(char a) |
|
protected KeyEvent[] |
getEvents(char[] chars) |
|
protected int |
getKeyboardType() |
|
KeyEvent |
getUpEvent(char a) |
|
protected static KeyCharacterMap |
load(int deviceId) |
|
protected static char |
nativeGetNumber(int ptr,
int keyCode) |
|
protected static char |
nativeGetNumber(long ptr,
int keyCode) |
@Implementation protected static KeyCharacterMap load(int deviceId)
@Implementation protected KeyEvent[] getEvents(char[] chars)
@Implementation protected int getKeyboardType()
@Implementation protected int get(int keyCode, int metaState)
public KeyEvent getDownEvent(char a)
public KeyEvent getUpEvent(char a)
@Implementation(minSdk=20) protected static char nativeGetNumber(long ptr, int keyCode)
@Implementation(maxSdk=19) protected static char nativeGetNumber(int ptr, int keyCode)