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
@Implementation(minSdk=20) protected static int nativeGetKeyboardType(long ptr) -
nativeGetKeyboardType
@Implementation(maxSdk=19) protected static int nativeGetKeyboardType(int ptr) -
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
@Implementation(minSdk=20) protected static char nativeGetDisplayLabel(long ptr, int keyCode) -
nativeGetDisplayLabel
@Implementation(maxSdk=19) protected static char nativeGetDisplayLabel(int ptr, int keyCode) -
nativeGetNumber
@Implementation(minSdk=20) protected static char nativeGetNumber(long ptr, int keyCode) -
nativeGetNumber
@Implementation(maxSdk=19) protected static char nativeGetNumber(int ptr, int keyCode)
-