FileDocCategorySizeDatePackage
KeyMapDream.javaAPI DocAndroid 1.5 API5293Wed May 06 22:42:48 BST 2009com.android.inputmethod.pinyin

KeyMapDream

public class KeyMapDream extends Object
Class used to map the symbols on Dream's hardware keyboard to corresponding Chinese full-width symbols.

Fields Summary
private static final int
SHIFT_FWCH
private static final int[]
mKeyMap
Constructors Summary
Methods Summary
public static chargetChineseLabel(int keyCode)


         
        if (keyCode <= 0 || keyCode >= KeyEvent.getMaxKeyCode()) return 0;
        assert ((mKeyMap[keyCode] & 0x000000ff) == keyCode);
        return (char) (mKeyMap[keyCode] >> SHIFT_FWCH);