KeyCharacterMap

Class of android.view · KeyCharacterMap.java · Android's reference

public class KeyCharacterMap

The characters of keys, for a US keyboard.

Nested types

Fields

public static final int VIRTUAL_KEYBOARD = -1 source
public static final int FULL = 4 source
public static final int ALPHA = 3 source
public static final int COMBINING_ACCENT = 0x80000000 source
public static final int COMBINING_ACCENT_MASK = 0x7fffffff source

Methods

public static KeyCharacterMap load(int deviceId) source
public static boolean deviceHasKey(int keyCode) source
public int getKeyboardType() source
public int get(int keyCode, int metaState) source
public char getDisplayLabel(int keyCode) source
public char getNumber(int keyCode) source
public static int getDeadChar(int accent, int c) source
public KeyEvent[] getEvents(char[] chars) source
public boolean isPrintingKey(int keyCode) source
public boolean getKeyData(int keyCode, KeyData results) deprecated source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.