/frameworks/base/cmds/input/src/com/android/commands/input/ |
Input.java | 28 * Command that sends key events to the device, either by their keycode, or by 114 * @param event is a string representing the keycode of the key event you
|
/frameworks/base/core/java/android/text/method/ |
KeyListener.java | 58 int keyCode, KeyEvent event); 66 int keyCode, KeyEvent event);
|
NumberKeyListener.java | 93 int keyCode, KeyEvent event) { 134 return super.onKeyDown(view, content, keyCode, event);
|
/frameworks/base/include/ui/ |
Keyboard.h | 128 extern int32_t updateMetaState(int32_t keyCode, bool down, int32_t oldMetaState); 133 extern bool isMetaKey(int32_t keyCode);
|
/frameworks/base/services/input/ |
InputListener.h | 61 int32_t keyCode; 69 int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode,
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
RsBenchView.java | 75 public boolean onKeyDown(int keyCode, KeyEvent event) { 76 return super.onKeyDown(keyCode, event);
|
/packages/apps/Calculator/tests/src/com/android/calculator2/ |
CalculatorHitSomeButtons.java | 117 private void press(int keycode) { 118 mInst.sendKeyDownUpSync(keycode);
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
SearchEditText.java | 92 public boolean onKeyPreIme(int keyCode, KeyEvent event) { 93 if (keyCode == KeyEvent.KEYCODE_BACK && TextUtils.isEmpty(getText()) && mListener != null) {
|
/packages/apps/Phone/src/com/android/phone/ |
EmergencyDialer.java | 296 public boolean onKeyDown(int keyCode, KeyEvent event) { 297 switch (keyCode) { 311 return super.onKeyDown(keyCode, event); 314 private void keyPressed(int keyCode) { 316 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); 317 mDigits.onKeyDown(keyCode, event); 320 public boolean onKey(View view, int keyCode, KeyEvent event) { 323 if (keyCode == KeyEvent.KEYCODE_ENTER) {
|
/packages/apps/Stk/src/com/android/stk/ |
StkDialogActivity.java | 116 public boolean onKeyDown(int keyCode, KeyEvent event) { 117 switch (keyCode) {
|
ToneDialog.java | 109 public boolean onKeyDown(int keyCode, KeyEvent event) { 110 switch (keyCode) {
|
/frameworks/base/core/java/android/widget/ |
ListPopupWindow.java | 800 * @param keyCode keyCode param passed to the host view's onKeyDown 806 public boolean onKeyDown(int keyCode, KeyEvent event) { 814 if (keyCode != KeyEvent.KEYCODE_SPACE 816 || (keyCode != KeyEvent.KEYCODE_ENTER 817 && keyCode != KeyEvent.KEYCODE_DPAD_CENTER))) { 837 if ((below && keyCode == KeyEvent.KEYCODE_DPAD_UP && curIndex <= firstItem) || 838 (!below && keyCode == KeyEvent.KEYCODE_DPAD_DOWN && curIndex >= lastItem)) { 851 consumed = mDropDownList.onKeyDown(keyCode, event); 852 if (DEBUG) Log.v(TAG, "Key down: code=" + keyCode + " list consumed=" + consumed) [all...] |
AutoCompleteTextView.java | 611 public boolean onKeyPreIme(int keyCode, KeyEvent event) { 612 if (keyCode == KeyEvent.KEYCODE_BACK && isPopupShowing() 633 return super.onKeyPreIme(keyCode, event); 637 public boolean onKeyUp(int keyCode, KeyEvent event) { 638 boolean consumed = mPopup.onKeyUp(keyCode, event); 640 switch (keyCode) { 654 if (isPopupShowing() && keyCode == KeyEvent.KEYCODE_TAB && event.hasNoModifiers()) { 659 return super.onKeyUp(keyCode, event); 663 public boolean onKeyDown(int keyCode, KeyEvent event) { 664 if (mPopup.onKeyDown(keyCode, event)) [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
NumberKeyListenerTest.java | 117 * If one of the chars in the getAcceptedChars() can be generated by the keyCode of this 195 int keyCode = TextMethodUtils.getUnacceptedKeyCode(MockNumberKeyListener.DIGITS); 196 if (-1 != keyCode) { 197 sendKeys(keyCode);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
MultiAutoCompleteTextViewTest.java | 344 protected void performFiltering(CharSequence text, int keyCode) { 345 super.performFiltering(text, keyCode); 348 protected void performFiltering(CharSequence text, int start, int end, int keyCode) { 349 super.performFiltering(text, start, end, keyCode);
|
/development/apps/OBJViewer/com/android/objviewer/ |
OBJViewer.java | 105 public boolean onKeyDown(int keyCode, KeyEvent event) { 107 if (glView.processKey(keyCode)) { 111 switch (keyCode) { 138 return super.onKeyDown(keyCode, event);
|
/development/samples/BrowserPlugin/jni/navigation/ |
NavigationPlugin.h | 53 bool handleNavigation(ANPKeyCode keyCode);
|
/external/chromium/chrome/browser/resources/ |
collected_cookies.js | 72 if (e.keyCode == 27) // Esc
|
/external/qemu/android/skin/ |
keyboard.h | 47 AndroidKeyCode keycode );
|
/external/webkit/Source/WebCore/dom/ |
KeyboardEvent.idl | 61 readonly attribute long keyCode;
|
UIEvent.cpp | 62 int UIEvent::keyCode() const
|
UIEvent.h | 53 virtual int keyCode() const;
|
/external/webkit/Source/WebCore/platform/haiku/ |
PlatformKeyboardEventHaiku.cpp | 43 static String keyIdentifierForHaikuKeyCode(char singleByte, int keyCode) 48 switch (keyCode) { 113 static int windowsKeyCodeForKeyEvent(char singleByte, int keyCode) 117 switch (keyCode) {
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
GoneParentFocusedChild.java | 84 public boolean onKeyUp(int keyCode, KeyEvent event) {
|
/frameworks/base/include/media/ |
IMediaMetadataRetriever.h | 42 virtual const char* extractMetadata(int keyCode) = 0;
|