HomeSort by relevance Sort by last modified time
    Searched full:keycode (Results 26 - 50 of 599) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/webkit/Source/WebCore/manual-tests/
log-keypress-events.html 15 if (event.keyCode)
16 myDebugLog("event.keyCode: " + event.keyCode);
  /frameworks/base/include/ui/
KeyCharacterMap.h 49 int32_t keyCode;
63 char16_t getDisplayLabel(int32_t keyCode) const;
69 char16_t getNumber(int32_t keyCode) const;
74 char16_t getCharacter(int32_t keyCode, int32_t metaState) const;
80 bool getFallbackAction(int32_t keyCode, int32_t metaState,
87 char16_t getMatch(int32_t keyCode, const char16_t* chars,
109 /* The fallback keycode if the key is not handled. */
171 bool getKey(int32_t keyCode, const Key** outKey) const;
172 bool getKeyBehavior(int32_t keyCode, int32_t metaState,
178 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time)
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
MessageListView.java 35 public boolean onKeyShortcut(int keyCode, KeyEvent event) {
36 switch (keyCode) {
52 return super.onKeyShortcut(keyCode, event);
WarnOfStorageLimitsActivity.java 115 public boolean onKeyDown(int keyCode, KeyEvent event) {
116 if (mAlert.onKeyDown(keyCode, event)) return true;
117 return super.onKeyDown(keyCode, event);
121 public boolean onKeyUp(int keyCode, KeyEvent event) {
122 if (mAlert.onKeyUp(keyCode, event)) return true;
123 return super.onKeyUp(keyCode, event);
  /frameworks/base/core/java/android/widget/
DialerFilter.java 107 public boolean onKeyDown(int keyCode, KeyEvent event) {
110 switch (keyCode) {
122 handled = mDigits.onKeyDown(keyCode, event);
123 handled &= mLetters.onKeyDown(keyCode, event);
127 handled = mLetters.onKeyDown(keyCode, event);
135 mLetters.onKeyDown(keyCode, event);
138 handled = mDigits.onKeyDown(keyCode, event);
142 handled = mDigits.onKeyDown(keyCode, event);
146 handled = mLetters.onKeyDown(keyCode, event);
156 handled = mLetters.onKeyDown(keyCode, event)
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
HandleView.java 74 private static boolean isDirectionKey(int keyCode) {
75 return keyCode == KeyEvent.KEYCODE_DPAD_DOWN || keyCode == KeyEvent.KEYCODE_DPAD_LEFT ||
76 keyCode == KeyEvent.KEYCODE_DPAD_RIGHT || keyCode == KeyEvent.KEYCODE_DPAD_UP;
  /external/skia/src/animator/
SkDisplayEvents.cpp 59 int keyCode = state ? state->fCode : 0;
68 if ((int) evt->code > keyCode || (int) (evt->fMax != (SkKey) -1 ? evt->fMax : evt->code) < keyCode)
70 evt->fLastCode = (SkKey) keyCode;
106 int keyCode = state ? state->fCode : 0;
113 if ((int) evt->code > keyCode || (int) (evt->fMax != (SkKey) -1 ? evt->fMax : evt->code) < keyCode)
  /packages/apps/Music/src/com/android/music/
RepeatingImageButton.java 85 public boolean onKeyDown(int keyCode, KeyEvent event) {
86 switch (keyCode) {
91 super.onKeyDown(keyCode, event);
94 return super.onKeyDown(keyCode, event);
98 public boolean onKeyUp(int keyCode, KeyEvent event) {
99 switch (keyCode) {
109 return super.onKeyUp(keyCode, event);
  /packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
PinyinIME.java 237 public boolean onKeyDown(int keyCode, KeyEvent event) {
239 return super.onKeyDown(keyCode, event);
243 public boolean onKeyUp(int keyCode, KeyEvent event) {
245 return super.onKeyUp(keyCode, event);
251 int keyCode = event.getKeyCode();
254 if (KeyEvent.KEYCODE_SPACE == keyCode && event.isShiftPressed()) {
274 if (processFunctionKeys(keyCode, realAction)) {
279 if (keyCode >= KeyEvent.KEYCODE_A && keyCode <= KeyEvent.KEYCODE_Z) {
280 keyChar = keyCode - KeyEvent.KEYCODE_A + 'a'
    [all...]
KeyMapDream.java 101 static public char getChineseLabel(int keyCode) {
102 if (keyCode <= 0 || keyCode >= KeyEvent.getMaxKeyCode()) return 0;
103 assert ((mKeyMap[keyCode] & 0x000000ff) == keyCode);
104 return (char) (mKeyMap[keyCode] >> SHIFT_FWCH);
  /frameworks/base/core/java/android/view/
KeyCharacterMap.java 146 private static native char nativeGetCharacter(int ptr, int keyCode, int metaState);
147 private static native boolean nativeGetFallbackAction(int ptr, int keyCode, int metaState,
149 private static native char nativeGetNumber(int ptr, int keyCode);
150 private static native char nativeGetMatch(int ptr, int keyCode, char[] chars, int metaState);
151 private static native char nativeGetDisplayLabel(int ptr, int keyCode);
206 * @param keyCode The key code.
210 public int get(int keyCode, int metaState) {
212 char ch = nativeGetCharacter(mPtr, keyCode, metaState);
233 * @param keyCode The key code.
240 public boolean getFallbackAction(int keyCode, int metaState
    [all...]
  /frameworks/base/core/java/android/text/method/
BaseKeyListener.java 44 public boolean backspace(View view, Editable content, int keyCode, KeyEvent event) {
45 return backspaceOrForwardDelete(view, content, keyCode, event, false);
56 public boolean forwardDelete(View view, Editable content, int keyCode, KeyEvent event) {
57 return backspaceOrForwardDelete(view, content, keyCode, event, true);
60 private boolean backspaceOrForwardDelete(View view, Editable content, int keyCode,
147 int keyCode, KeyEvent event) {
149 switch (keyCode) {
151 handled = backspace(view, content, keyCode, event);
154 handled = forwardDelete(view, content, keyCode, event);
165 return super.onKeyDown(view, content, keyCode, event)
    [all...]
  /external/qemu/android/
charmap.h 15 #include "android/keycode.h"
16 #include "android/keycode-array.h"
82 /* Maps given unicode key character into a keycode and adds mapped keycode into
83 * keycode array. This routine uses charmap passed as cmap parameter to do the
85 * keycode.
  /frameworks/base/core/java/android/webkit/
PluginFullScreenHolder.java 100 public boolean onKeyDown(int keyCode, KeyEvent event) {
102 return super.onKeyDown(keyCode, event);
104 mWebView.onKeyDown(keyCode, event);
110 public boolean onKeyUp(int keyCode, KeyEvent event) {
112 return super.onKeyUp(keyCode, event);
114 mWebView.onKeyUp(keyCode, event);
  /frameworks/base/policy/src/com/android/internal/policy/impl/
ShortcutManager.java 96 * Gets the shortcut intent for a given keycode+modifier. Make sure you
105 * @param keyCode The key code.
110 public Intent getIntent(KeyCharacterMap kcm, int keyCode, int metaState) {
113 // First try the exact keycode (with modifiers).
114 int shortcut = kcm.get(keyCode, metaState);
121 shortcut = Character.toLowerCase(kcm.getDisplayLabel(keyCode));
  /external/qemu/
keymaps.h 2 * QEMU keysym to keycode conversion using rdesktop keymaps
47 uint16_t keycode; member in struct:__anon9924::__anon9925
57 int keycode_is_keypad(void *kbd_layout, int keycode);
  /external/chromium/chrome/browser/ui/views/
accelerator_table_gtk.h 18 ui::KeyboardCode keycode; member in struct:browser::AcceleratorMapping
  /external/chromium/chrome/common/extensions/docs/examples/api/tabs/pin/
inject.js 7 if (modifier && event.shiftKey && event.keyCode == 80) {
  /external/webkit/Source/WebCore/platform/android/
KeyEventAndroid.cpp 41 static int windowsKeyCodeForKeyEvent(unsigned int keyCode)
44 switch (keyCode) {
169 static String keyIdentifierForAndroidKeyCode(int keyCode)
173 switch (keyCode) {
194 sprintf(upper, "U+%06X", windowsKeyCodeForKeyEvent(keyCode));
213 PlatformKeyboardEvent::PlatformKeyboardEvent(int keyCode, UChar32 unichar,
218 , m_keyIdentifier(keyIdentifierForAndroidKeyCode(keyCode))
220 , m_windowsVirtualKeyCode(windowsKeyCodeForKeyEvent(keyCode))
221 , m_nativeVirtualKeyCode(keyCode)
  /external/webkit/Source/WebKit/chromium/tests/
KeyboardTest.cpp 66 char keyCode,
69 keyboardEvent->windowsKeyCode = keyCode;
72 keyboardEvent->text[0] = keyCode;
76 // Like interpretKeyEvent, but with pressing down OSModifier+|keyCode|.
79 const char* interpretOSModifierKeyPress(char keyCode)
87 setupKeyDownEvent(&keyboardEvent, keyCode, osModifier);
91 // Like interpretKeyEvent, but with pressing down ctrl+|keyCode|.
92 const char* interpretCtrlKeyPress(char keyCode)
95 setupKeyDownEvent(&keyboardEvent, keyCode, WebInputEvent::ControlKey);
  /frameworks/base/media/libmediaplayerservice/
MidiMetadataRetriever.cpp 61 const char* MidiMetadataRetriever::extractMetadata(int keyCode)
63 LOGV("extractMetdata: key(%d)", keyCode);
69 switch (keyCode) {
85 LOGE("Unsupported key code (%d)", keyCode);
  /packages/apps/Browser/src/com/android/browser/
BrowserActivity.java 214 public boolean onKeyDown(int keyCode, KeyEvent event) {
215 return mController.onKeyDown(keyCode, event) ||
216 super.onKeyDown(keyCode, event);
220 public boolean onKeyLongPress(int keyCode, KeyEvent event) {
221 return mController.onKeyLongPress(keyCode, event) ||
222 super.onKeyLongPress(keyCode, event);
226 public boolean onKeyUp(int keyCode, KeyEvent event) {
227 return mController.onKeyUp(keyCode, event) ||
228 super.onKeyUp(keyCode, event);
  /packages/apps/Phone/src/com/android/phone/
DTMFTwelveKeyDialerView.java 70 int keyCode = event.getKeyCode();
72 switch (keyCode) {
75 return event.isDown() ? mDialer.onKeyDown(keyCode, event) :
76 mDialer.onKeyUp(keyCode, event);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
GameControllerInput.java 207 final int keyCode = event.getKeyCode();
208 if (isGameKey(keyCode)) {
210 final String symbolicName = KeyEvent.keyCodeToString(keyCode);
211 mKeys.put(keyCode, 1);
220 final int keyCode = event.getKeyCode();
221 if (isGameKey(keyCode)) {
222 int index = mKeys.indexOfKey(keyCode);
224 final String symbolicName = KeyEvent.keyCodeToString(keyCode);
225 mKeys.put(keyCode, 0);
261 private static boolean isGameKey(int keyCode) {
    [all...]
  /frameworks/base/libs/ui/
KeyLayoutMap.cpp 85 status_t KeyLayoutMap::mapKey(int32_t scanCode, int32_t* keyCode, uint32_t* flags) const {
91 *keyCode = AKEYCODE_UNKNOWN;
97 *keyCode = k.keyCode;
101 LOGD("mapKey: scanCode=%d ~ Result keyCode=%d, flags=0x%08x.", scanCode, *keyCode, *flags);
106 status_t KeyLayoutMap::findScanCodesForKey(int32_t keyCode, Vector<int32_t>* outScanCodes) const {
109 if (mKeys.valueAt(i).keyCode == keyCode) {
203 int32_t keyCode = getKeyCodeByLabel(keyCodeToken.string())
    [all...]

Completed in 1123 milliseconds

12 3 4 5 6 7 8 91011>>