Package org.robolectric.shadows
Class ShadowKeyCharacterMap
java.lang.Object
org.robolectric.shadows.ShadowKeyCharacterMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static KeyCharacterMap
load
(int deviceId) protected static char
nativeGetCharacter
(int ptr, int keyCode, int metaState) protected static char
nativeGetCharacter
(long ptr, int keyCode, int metaState) protected static char
nativeGetDisplayLabel
(int ptr, int keyCode) protected static char
nativeGetDisplayLabel
(long ptr, int keyCode) protected static KeyEvent[]
nativeGetEvents
(int ptr, char[] chars) protected static KeyEvent[]
nativeGetEvents
(long ptr, char[] chars) protected static int
nativeGetKeyboardType
(int ptr) protected static int
nativeGetKeyboardType
(long ptr) protected static char
nativeGetNumber
(int ptr, int keyCode) protected static char
nativeGetNumber
(long ptr, int keyCode)
-
Constructor Details
-
ShadowKeyCharacterMap
public ShadowKeyCharacterMap()
-
-
Method Details
-
load
-
nativeGetEvents
-
nativeGetEvents
-
nativeGetKeyboardType
-
nativeGetKeyboardType
-
nativeGetCharacter
@Implementation(maxSdk=19) protected static char nativeGetCharacter(int ptr, int keyCode, int metaState) -
nativeGetCharacter
@Implementation(minSdk=20) protected static char nativeGetCharacter(long ptr, int keyCode, int metaState) -
nativeGetDisplayLabel
-
nativeGetDisplayLabel
-
nativeGetNumber
-
nativeGetNumber
-