Package org.robolectric.shadows
Class ShadowKeyCharacterMap
java.lang.Object
org.robolectric.shadows.ShadowKeyCharacterMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static KeyCharacterMapload(int deviceId) protected static charnativeGetCharacter(int ptr, int keyCode, int metaState) protected static charnativeGetCharacter(long ptr, int keyCode, int metaState) protected static charnativeGetDisplayLabel(int ptr, int keyCode) protected static charnativeGetDisplayLabel(long ptr, int keyCode) protected static KeyEvent[]nativeGetEvents(int ptr, char[] chars) protected static KeyEvent[]nativeGetEvents(long ptr, char[] chars) protected static intnativeGetKeyboardType(int ptr) protected static intnativeGetKeyboardType(long ptr) protected static charnativeGetNumber(int ptr, int keyCode) protected static charnativeGetNumber(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
-