/frameworks/base/include/media/ |
mediametadataretriever.h | 75 const char* extractMetadata(int keyCode);
|
/frameworks/base/libs/ui/ |
Keyboard.cpp | 291 int32_t updateMetaState(int32_t keyCode, bool down, int32_t oldMetaState) { 293 switch (keyCode) { 325 bool isMetaKey(int32_t keyCode) { 326 switch (keyCode) {
|
/frameworks/base/media/libmedia/ |
IMediaMetadataRetriever.cpp | 152 const char* extractMetadata(int keyCode) 159 data.writeInt32(keyCode); 249 int keyCode = data.readInt32(); 250 const char* value = extractMetadata(keyCode);
|
/frameworks/base/media/libmediaplayerservice/ |
MetadataRetrieverClient.h | 51 virtual const char* extractMetadata(int keyCode);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
KeyguardViewManager.java | 264 * @param keyCode The wake key. May be {@link KeyEvent#KEYCODE_UNKNOWN} if waking 267 public boolean wakeWhenReadyTq(int keyCode) { 268 if (DEBUG) Log.d(TAG, "wakeWhenReady(" + keyCode + ")"); 270 mKeyguardView.wakeWhenReadyTq(keyCode);
|
/packages/apps/Contacts/res/xml/ |
searchable.xml | 37 android:keycode="KEYCODE_CALL"
|
/cts/tests/tests/text/src/android/text/method/cts/ |
DateTimeKeyListenerTest.java | 163 int keyCode = TextMethodUtils.getUnacceptedKeyCode(DateTimeKeyListener.CHARACTERS); 164 if (-1 != keyCode) { 165 sendKeys(keyCode);
|
TimeKeyListenerTest.java | 156 int keyCode = TextMethodUtils.getUnacceptedKeyCode(TimeKeyListener.CHARACTERS); 157 if (-1 != keyCode) { 158 sendKeys(keyCode);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
GameView.java | 113 public boolean onKeyDown(int keyCode, KeyEvent event) { 119 switch (keyCode) { 141 if (isFireKey(keyCode)) { 152 return super.onKeyDown(keyCode, event); 156 public boolean onKeyUp(int keyCode, KeyEvent event) { 161 switch (keyCode) { 183 if (isFireKey(keyCode)) { 192 return super.onKeyUp(keyCode, event); 195 private static boolean isFireKey(int keyCode) { 196 return KeyEvent.isGamepadButton(keyCode) [all...] |
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MainActivity.java | 124 public boolean onKeyDown(int keyCode, KeyEvent event) { 125 switch (keyCode) { 131 return super.onKeyDown(keyCode, event);
|
/external/kernel-headers/original/linux/ |
kd.h | 129 unsigned int scancode, keycode; member in struct:kbkeycode 131 #define KDGETKEYCODE 0x4B4C /* read kernel keycode table entry */ 132 #define KDSETKEYCODE 0x4B4D /* write kernel keycode table entry */
|
/external/webkit/Source/WebCore/dom/ |
KeyboardEvent.cpp | 117 int KeyboardEvent::keyCode() const 152 // That's exactly what IE's "keyCode" returns. So they are the same for keyboard events. 153 return keyCode();
|
/external/webkit/Source/WebCore/inspector/front-end/ |
GoToLineDialog.js | 98 if (event.keyCode === WebInspector.KeyboardShortcut.Keys.Tab.code) { 103 if (event.keyCode === WebInspector.KeyboardShortcut.Keys.Enter.code) 106 if (this._closeKeys.indexOf(event.keyCode) >= 0) {
|
/external/webkit/Source/WebCore/platform/ |
PlatformKeyboardEvent.h | 186 PlatformKeyboardEvent(int keyCode, UChar32 unichar, int repeatCount, 263 String keyIdentifierForQtKeyCode(int keyCode); 264 int windowsKeyCodeForKeyEvent(unsigned int keycode, bool isKeypad = false);
|
/external/webkit/Source/WebCore/platform/brew/ |
PlatformKeyboardEventBrew.cpp | 43 static String keyIdentifierForBrewKeyCode(uint16 keyCode) 45 switch (keyCode) { 109 return String::format("U+%04X", toASCIIUpper(keyCode));
|
/external/webkit/Source/WebCore/platform/win/ |
KeyEventWin.cpp | 41 static String keyIdentifierForWindowsKeyCode(unsigned short keyCode) 43 switch (keyCode) { 141 return String::format("U+%04X", toASCIIUpper(keyCode));
|
/frameworks/base/core/java/android/text/method/ |
LinkMovementMethod.java | 39 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, 41 switch (keyCode) { 52 return super.handleMovementKey(widget, buffer, keyCode, movementMetaState, event);
|
/frameworks/base/core/java/android/widget/ |
MediaController.java | 447 int keyCode = event.getKeyCode(); 450 if (keyCode == KeyEvent.KEYCODE_HEADSETHOOK 451 || keyCode == KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE 452 || keyCode == KeyEvent.KEYCODE_SPACE) { 461 } else if (keyCode == KeyEvent.KEYCODE_MEDIA_PLAY) { 468 } else if (keyCode == KeyEvent.KEYCODE_MEDIA_STOP 469 || keyCode == KeyEvent.KEYCODE_MEDIA_PAUSE) { 476 } else if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN 477 || keyCode == KeyEvent.KEYCODE_VOLUME_UP 478 || keyCode == KeyEvent.KEYCODE_VOLUME_MUTE) [all...] |
/frameworks/base/docs/html/guide/tutorials/views/ |
hello-webview.jd | 89 public boolean onKeyDown(int keyCode, KeyEvent event) { 90 if ((keyCode == KeyEvent.KEYCODE_BACK) && webview.canGoBack()) { 94 return super.onKeyDown(keyCode, event);
|
/frameworks/base/packages/SystemUI/res/layout-sw600dp/ |
status_bar.xml | 60 systemui:keyCode="4" 68 systemui:keyCode="3" 83 systemui:keyCode="82"
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
FileList.java | 39 public boolean onKeyDown(int keyCode, KeyEvent event) { 40 switch (keyCode) 71 return super.onKeyDown(keyCode, event);
|
/packages/apps/Phone/src/com/android/phone/ |
IccNetworkDepersonalizationPanel.java | 160 public boolean onKeyDown(int keyCode, KeyEvent event) { 161 if (keyCode == KeyEvent.KEYCODE_BACK) { 165 return super.onKeyDown(keyCode, event);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
CorpusSelectionDialog.java | 136 public boolean onKeyDown(int keyCode, KeyEvent event) { 137 boolean handled = super.onKeyDown(keyCode, event); 142 if (keyCode == KeyEvent.KEYCODE_DPAD_UP) {
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SoftKey.java | 94 public void setKeyAttribute(int keyCode, String label, boolean repeat, 96 mKeyCode = keyCode; 221 str += " keyCode: " + String.valueOf(mKeyCode) + "\n";
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
kd.h | 138 unsigned int scancode, keycode; member in struct:kbkeycode 140 #define KDGETKEYCODE 0x4B4C /* read kernel keycode table entry */ 141 #define KDSETKEYCODE 0x4B4D /* write kernel keycode table entry */
|