/external/webkit/WebKit/mac/Plugins/ |
WebNetscapePluginEventHandlerCocoa.h | 51 virtual void syntheticKeyDownWithCommandModifier(int keyCode, char character);
|
WebNetscapePluginEventHandlerCocoa.mm | 149 event.data.key.keyCode = [nsEvent keyCode]; 157 void WebNetscapePluginEventHandlerCocoa::syntheticKeyDownWithCommandModifier(int keyCode, char character) 166 event.data.key.keyCode = keyCode; 180 event.data.key.keyCode = [nsEvent keyCode];
|
/frameworks/base/include/media/ |
IMediaMetadataRetriever.h | 39 virtual const char* extractMetadata(int keyCode) = 0;
|
/packages/apps/Phone/src/com/android/phone/ |
DTMFTwelveKeyDialer.java | 144 public boolean onKeyDown(TextView widget, Spannable buffer, int keyCode, KeyEvent event) { 149 public boolean onKeyUp(TextView widget, Spannable buffer, int keyCode, KeyEvent event) { 206 public boolean backspace(View view, Editable content, int keyCode, 212 * Return true if the keyCode is an accepted modifier key for the 215 private boolean isAcceptableModifierKey(int keyCode) { 216 switch (keyCode) { 233 int keyCode, KeyEvent event) { 234 // if (DBG) log("DTMFKeyListener.onKeyDown, keyCode " + keyCode + ", view " + view); 240 if (event.getRepeatCount() == 0 && super.onKeyDown(view, content, keyCode, event)) [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnn.java | 120 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { 123 return super.onKeyDown(keyCode, event); 129 @Override public boolean onKeyUp(int keyCode, KeyEvent event) { 132 ret = super.onKeyUp(keyCode, event);
|
/frameworks/base/core/java/android/widget/ |
VideoView.java | 529 public boolean onKeyDown(int keyCode, KeyEvent event) 531 boolean isKeyCodeSupported = keyCode != KeyEvent.KEYCODE_BACK && 532 keyCode != KeyEvent.KEYCODE_VOLUME_UP && 533 keyCode != KeyEvent.KEYCODE_VOLUME_DOWN && 534 keyCode != KeyEvent.KEYCODE_MENU && 535 keyCode != KeyEvent.KEYCODE_CALL && 536 keyCode != KeyEvent.KEYCODE_ENDCALL; 538 if (keyCode == KeyEvent.KEYCODE_HEADSETHOOK || 539 keyCode == KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE) { 548 } else if (keyCode == KeyEvent.KEYCODE_MEDIA_STO [all...] |
AutoCompleteTextView.java | 618 public boolean onKeyPreIme(int keyCode, KeyEvent event) { 619 if (keyCode == KeyEvent.KEYCODE_BACK && isPopupShowing() 634 return super.onKeyPreIme(keyCode, event); 638 public boolean onKeyUp(int keyCode, KeyEvent event) { 640 boolean consumed = mDropDownList.onKeyUp(keyCode, event); 642 switch (keyCode) { 653 return super.onKeyUp(keyCode, event); 657 public boolean onKeyDown(int keyCode, KeyEvent event) { 665 if (keyCode != KeyEvent.KEYCODE_SPACE 667 || (keyCode != KeyEvent.KEYCODE_ENTE [all...] |
MediaController.java | 415 int keyCode = event.getKeyCode(); 417 keyCode == KeyEvent.KEYCODE_HEADSETHOOK || 418 keyCode == KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE || 419 keyCode == KeyEvent.KEYCODE_SPACE)) { 426 } else if (keyCode == KeyEvent.KEYCODE_MEDIA_STOP) { 432 } else if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN || 433 keyCode == KeyEvent.KEYCODE_VOLUME_UP) { 436 } else if (keyCode == KeyEvent.KEYCODE_BACK || keyCode == KeyEvent.KEYCODE_MENU) {
|
MultiAutoCompleteTextView.java | 101 protected void performFiltering(CharSequence text, int keyCode) { 106 performFiltering(text, start, end, keyCode); 179 int keyCode) {
|
/frameworks/base/libs/rs/java/Film/src/com/android/film/ |
FilmView.java | 72 public boolean onKeyDown(int keyCode, KeyEvent event) 76 return super.onKeyDown(keyCode, event);
|
/cts/tests/src/android/app/cts/ |
InstrumentationTestActivity.java | 208 public boolean onKeyDown(int keyCode, KeyEvent event) { 210 mKeyDownCode = keyCode; 211 return super.onKeyDown(keyCode, event); 221 public boolean onKeyUp(int keyCode, KeyEvent event) { 223 mKeyUpCode = keyCode; 224 return super.onKeyUp(keyCode, event);
|
/frameworks/base/core/java/android/text/method/ |
MultiTapKeyListener.java | 82 int keyCode, KeyEvent event) { 112 if (keyCode == KeyEvent.KEYCODE_STAR) { 133 if (sRecs.indexOfKey(keyCode) == rec) { 154 rec = sRecs.indexOfKey(keyCode); 161 rec = sRecs.indexOfKey(keyCode); 227 return super.onKeyDown(view, content, keyCode, event);
|
TextKeyListener.java | 129 int keyCode, KeyEvent event) { 132 return im.onKeyDown(view, content, keyCode, event); 137 int keyCode, KeyEvent event) { 140 return im.onKeyUp(view, content, keyCode, event); 206 int keyCode, KeyEvent event) { 210 public boolean onKeyUp(View view, Editable content, int keyCode,
|
ArrowKeyMovementMethod.java | 125 public boolean onKeyDown(TextView widget, Spannable buffer, int keyCode, KeyEvent event) { 126 if (executeDown(widget, buffer, keyCode)) { 135 private boolean executeDown(TextView widget, Spannable buffer, int keyCode) { 138 switch (keyCode) { 170 public boolean onKeyUp(TextView widget, Spannable buffer, int keyCode, KeyEvent event) {
|
ScrollingMovementMethod.java | 146 public boolean onKeyDown(TextView widget, Spannable buffer, int keyCode, KeyEvent event) { 147 return executeDown(widget, buffer, keyCode); 150 private boolean executeDown(TextView widget, Spannable buffer, int keyCode) { 153 switch (keyCode) { 174 public boolean onKeyUp(TextView widget, Spannable buffer, int keyCode, KeyEvent event) {
|
/frameworks/base/libs/ui/ |
Input.cpp | 28 bool KeyEvent::hasDefaultAction(int32_t keyCode) { 29 switch (keyCode) { 60 bool KeyEvent::isSystemKey(int32_t keyCode) { 61 switch (keyCode) { 97 int32_t keyCode, 106 mKeyCode = keyCode;
|
/frameworks/base/core/java/android/view/ |
KeyEvent.java | 335 // NOTE: If you add a new keycode here you must also add it to: 521 * Returns the maximum keycode. 557 * @param keyCode The value in event.getKeyCode(). 563 boolean onKeyDown(int keyCode, KeyEvent event); 573 * @param keyCode The value in event.getKeyCode(). 579 boolean onKeyLongPress(int keyCode, KeyEvent event); 584 * @param keyCode The value in event.getKeyCode(). 590 boolean onKeyUp(int keyCode, KeyEvent event); 596 * @param keyCode The value in event.getKeyCode(). 603 boolean onKeyMultiple(int keyCode, int count, KeyEvent event) [all...] |
/frameworks/base/core/java/android/webkit/ |
WebTextView.java | 132 int keyCode = event.getKeyCode(); 135 switch(keyCode) { 141 return down ? mWebView.onKeyDown(keyCode, event) : mWebView 142 .onKeyUp(keyCode, event); 149 if (KeyEvent.KEYCODE_TAB == keyCode) { 160 if (KeyEvent.KEYCODE_DEL == keyCode && 0 == oldLength) { 165 if ((mSingle && KeyEvent.KEYCODE_ENTER == keyCode)) { 175 sendDomEvent(new KeyEvent(KeyEvent.ACTION_DOWN, keyCode)); 179 } else if (KeyEvent.KEYCODE_DPAD_CENTER == keyCode) { 185 return down ? mWebView.onKeyDown(keyCode, event) : mWebVie [all...] |
/development/samples/BrowserPlugin/jni/form/ |
FormPlugin.cpp | 300 bool FormPlugin::handleNavigation(ANPKeyCode keyCode) { 303 gLogI.log(kDebug_ANPLogType, "----%p Recvd Nav Key %d", instance, keyCode); 310 if (keyCode == kDpadDown_ANPKeyCode) { 313 else if (keyCode == kDpadCenter_ANPKeyCode) 315 else if (keyCode == kDpadUp_ANPKeyCode) 319 if (keyCode == kDpadUp_ANPKeyCode) { 322 else if (keyCode == kDpadCenter_ANPKeyCode) 324 else if (keyCode == kDpadDown_ANPKeyCode) 331 void FormPlugin::handleTextInput(TextInput* input, ANPKeyCode keyCode, int32_t unichar) { 338 if (keyCode == kDel_ANPKeyCode) [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
XmlKeyboardLoader.java | 391 int keyCode = getInteger(xrp, XMLATTR_KEY_CODE, 0); 396 mSkbTemplate.addDefaultKeyIcons(keyCode, icon, 545 int keyCode = 0; 547 keyCode = Integer.valueOf(codeArr[i]); 549 softKey.setKeyAttribute(keyCode, labelArr[i], 637 int keyCode = getInteger(xrp, XMLATTR_KEY_CODE, 0); 645 keyIcon = mSkbTemplate.getDefaultKeyIcon(keyCode); 646 keyIconPopup = mSkbTemplate.getDefaultKeyIconPopup(keyCode); 679 attrKey, (SoftKeyToggle) softKey, keyCode))) { 687 softKey.setKeyAttribute(keyCode, keyLabel, attrKey.repeat [all...] |
/frameworks/base/core/java/android/app/ |
SearchDialog.java | 658 * @param keyCode This is the keycode of the typed key, and is the same value as 665 public boolean onKeyDown(int keyCode, KeyEvent event) { 666 if (DBG) Log.d(LOG_TAG, "onKeyDown(" + keyCode + "," + event + ")"); 673 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); 675 launchQuerySearch(keyCode, actionKey.getQueryActionMsg()); 679 return super.onKeyDown(keyCode, event); 763 public boolean onKey(View v, int keyCode, KeyEvent event) { 770 (keyCode != KeyEvent.KEYCODE_DPAD_UP) && 771 (keyCode != KeyEvent.KEYCODE_DPAD_LEFT) & [all...] |
/external/webkit/WebCore/platform/wx/ |
KeyboardEventWx.cpp | 36 static String keyIdentifierForWxKeyCode(int keyCode) 38 switch (keyCode) { 126 return String::format("U+%04X", toupper(keyCode)); 130 static int windowsKeyCodeForKeyEvent(unsigned int keycode) 132 switch (keycode) {
|
/frameworks/base/media/libmedia/ |
mediametadataretriever.cpp | 159 const char* MediaMetadataRetriever::extractMetadata(int keyCode) 161 LOGV("extractMetadata(%d)", keyCode); 167 return mRetriever->extractMetadata(keyCode);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaFrameworkTest.java | 90 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { 91 switch (keyCode) { 143 return super.onKeyDown(keyCode, event);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
KeyguardViewMediator.java | 603 * @param keyCode The wake key. 607 private void wakeWhenReadyLocked(int keyCode) { 608 if (true || DBG_WAKE) Log.d(TAG, "wakeWhenReadyLocked(" + keyCode + ")"); 617 Message msg = mHandler.obtainMessage(WAKE_WHEN_READY, keyCode, 0); 731 * @param keyCode The keycode of the key that woke the device 734 public boolean onWakeKeyWhenKeyguardShowingTq(int keyCode) { 735 if (DEBUG) Log.d(TAG, "onWakeKeyWhenKeyguardShowing(" + keyCode + ")"); 737 if (isWakeKeyWhenKeyguardShowing(keyCode)) { 741 wakeWhenReadyLocked(keyCode); [all...] |