Lines Matching refs:keyCode
50 private static final String ATTR_KEY_CODE = "keyCode";
66 * @param keyCode keyCode which triggered this function
70 boolean handleGlobalKey(Context context, int keyCode, KeyEvent event) {
72 ComponentName component = mKeyMapping.get(keyCode);
88 boolean shouldHandleGlobalKey(int keyCode, KeyEvent event) {
89 return mKeyMapping.get(keyCode) != null;
108 int keyCode = KeyEvent.keyCodeFromString(keyCodeName);
109 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
110 mKeyMapping.put(keyCode, ComponentName.unflattenFromString(