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);
87 boolean shouldHandleGlobalKey(int keyCode, KeyEvent event) {
88 return mKeyMapping.get(keyCode) != null;
107 int keyCode = KeyEvent.keyCodeFromString(keyCodeName);
108 if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
109 mKeyMapping.put(keyCode, ComponentName.unflattenFromString(