/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
ListOfItemsTallerThanScreenTest.java | 21 import android.view.KeyEvent; 70 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); 88 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); 94 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); 113 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); 134 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); 145 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); 148 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); 165 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); 169 sendKeys(KeyEvent.KEYCODE_DPAD_UP) [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
LauncherActivityTest.java | 29 import android.view.KeyEvent; 110 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); 111 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); 112 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); 113 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER);
|
/packages/apps/Camera/tests/src/com/android/camera/power/ |
ImageAndVideoCapture.java | 26 import android.view.KeyEvent; 81 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_UP); 82 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); 105 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); 107 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
WebSearchSuggestionView.java | 26 import android.view.KeyEvent; 77 public boolean onKey(View v, int keyCode, KeyEvent event) { 79 if (event.getAction() == KeyEvent.ACTION_DOWN) { 80 if (keyCode == KeyEvent.KEYCODE_DPAD_RIGHT && v != mIcon2) { 82 } else if (keyCode == KeyEvent.KEYCODE_DPAD_LEFT && v == mIcon2) {
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
SoftKeyboard.java | 25 import android.view.KeyEvent; 311 private boolean translateKeyDown(int keyCode, KeyEvent event) { 330 int composed = KeyEvent.getDeadChar(accent, c); 348 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { 350 case KeyEvent.KEYCODE_BACK: 362 case KeyEvent.KEYCODE_DEL: 372 case KeyEvent.KEYCODE_ENTER: 381 if (keyCode == KeyEvent.KEYCODE_SPACE 382 && (event.getMetaState()&KeyEvent.META_ALT_ON) != 0) { 389 ic.clearMetaKeyStates(KeyEvent.META_ALT_ON) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListManagedCursorTest.java | 24 import android.view.KeyEvent; 64 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); 81 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); 100 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); 120 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); 122 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); 124 inst.sendCharacterSync(KeyEvent.KEYCODE_BACK); 135 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); 143 inst.sendCharacterSync(KeyEvent.KEYCODE_DPAD_CENTER);
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
EventSenderImpl.java | 24 import android.view.KeyEvent; 176 executeKeyEvent(KeyEvent.ACTION_DOWN, 180 executeKeyEvent(KeyEvent.ACTION_DOWN, 318 mask = KeyEvent.META_ALT_ON; 320 mask = KeyEvent.META_SHIFT_ON; 322 mask = KeyEvent.META_SYM_ON; 500 KeyEvent event = new KeyEvent(action, keyCode); 511 return KeyEvent.KEYCODE_0 + offset; 517 return KeyEvent.KEYCODE_A + offset [all...] |
/packages/apps/Phone/src/com/android/phone/ |
DTMFTwelveKeyDialer.java | 30 import android.view.KeyEvent; 154 KeyEvent event) { 164 case KeyEvent.KEYCODE_ALT_LEFT: 165 case KeyEvent.KEYCODE_ALT_RIGHT: 166 case KeyEvent.KEYCODE_SHIFT_LEFT: 167 case KeyEvent.KEYCODE_SHIFT_RIGHT: 180 int keyCode, KeyEvent event) { 210 int keyCode, KeyEvent event) { 232 public boolean onKeyDown(KeyEvent event) { 258 public boolean onKeyUp(KeyEvent event) [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
NumberKeyListenerTest.java | 35 import android.view.KeyEvent; 123 args = {android.view.KeyEvent.class, android.text.Spannable.class} 128 KeyEvent event1 = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); 133 KeyEvent event2 = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_A) [all...] |
DateKeyListenerTest.java | 31 import android.view.KeyEvent; 128 sendKeys(KeyEvent.KEYCODE_1); 132 sendKeys(KeyEvent.KEYCODE_2); 143 sendKeys(KeyEvent.KEYCODE_MINUS); 147 sendKeys(KeyEvent.KEYCODE_SLASH); 161 sendKeys(KeyEvent.KEYCODE_SLASH);
|
ScrollingMovementMethodTest.java | 33 import android.view.KeyEvent; 420 + "KeyEvent)}. The params event and buffer are never read.", 422 args = {TextView.class, Spannable.class, int.class, KeyEvent.class} 444 method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_DOWN, 445 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_DOWN)); 452 method.onKeyDown(mTextView, null, KeyEvent.KEYCODE_DPAD_UP, 453 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_UP)) [all...] |
/frameworks/base/core/java/android/text/method/ |
MultiTapKeyListener.java | 19 import android.view.KeyEvent; 43 sRecs.put(KeyEvent.KEYCODE_1, ".,1!@#$%^&*:/?'=()"); 44 sRecs.put(KeyEvent.KEYCODE_2, "abc2ABC"); 45 sRecs.put(KeyEvent.KEYCODE_3, "def3DEF"); 46 sRecs.put(KeyEvent.KEYCODE_4, "ghi4GHI"); 47 sRecs.put(KeyEvent.KEYCODE_5, "jkl5JKL"); 48 sRecs.put(KeyEvent.KEYCODE_6, "mno6MNO"); 49 sRecs.put(KeyEvent.KEYCODE_7, "pqrs7PQRS"); 50 sRecs.put(KeyEvent.KEYCODE_8, "tuv8TUV"); 51 sRecs.put(KeyEvent.KEYCODE_9, "wxyz9WXYZ") [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyButtonView.java | 35 import android.view.KeyEvent; 64 sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS); 213 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime); 234 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); 245 sendEvent(KeyEvent.ACTION_UP, 0); 249 sendEvent(KeyEvent.ACTION_UP, KeyEvent.FLAG_CANCELED); 271 final int repeatCount = (flags & KeyEvent.FLAG_LONG_PRESS) != 0 ? 1 : 0 [all...] |
/packages/apps/Camera/tests/src/com/android/camera/stress/ |
ImageCapture.java | 28 import android.view.KeyEvent; 77 KeyEvent focusEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_FOCUS); 84 inst.sendCharacterSync(KeyEvent.KEYCODE_CAMERA);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
DefaultSoftKeyboardEN.java | 22 import android.view.KeyEvent; 252 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DEL))); 266 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER))); 271 new KeyEvent(KeyEvent.ACTION_DOWN, 272 KeyEvent.KEYCODE_DPAD_LEFT))) [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceRandom.java | 24 import android.view.KeyEvent; 37 KeyEvent.KEYCODE_DPAD_UP, KeyEvent.KEYCODE_DPAD_DOWN, 38 KeyEvent.KEYCODE_DPAD_LEFT, KeyEvent.KEYCODE_DPAD_RIGHT, 45 KeyEvent.KEYCODE_MENU, /*KeyEvent.KEYCODE_SOFT_RIGHT,*/ 46 KeyEvent.KEYCODE_DPAD_CENTER, 50 KeyEvent.KEYCODE_HOME, KeyEvent.KEYCODE_BACK [all...] |
/external/chromium/chrome/browser/ui/views/location_bar/ |
star_view.h | 16 class KeyEvent; 35 virtual bool OnKeyPressed(const views::KeyEvent& event) OVERRIDE;
|
/external/replicaisland/src/com/replica/replicaisland/ |
InputKeyboard.java | 21 import android.view.KeyEvent; 27 final int count = KeyEvent.getMaxKeyCode();
|
/frameworks/base/core/java/android/view/inputmethod/ |
InputConnection.java | 21 import android.view.KeyEvent; 305 * {@link KeyEvent#FLAG_SOFT_KEYBOARD KeyEvent.FLAG_SOFT_KEYBOARD} on all 314 * @see KeyEvent 319 public boolean sendKeyEvent(KeyEvent event); 325 * per {@link KeyEvent#getMetaState() KeyEvent.getMetaState()}.
|
InputMethodSession.java | 21 import android.view.KeyEvent; 121 * @see android.view.KeyEvent 123 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback);
|
/frameworks/base/core/java/com/android/internal/view/ |
IInputConnectionCallback.aidl | 20 import android.view.KeyEvent;
|
IInputMethodCallback.aidl | 20 import android.view.KeyEvent;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuDialogHelper.java | 23 import android.view.KeyEvent; 92 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { 93 if (keyCode == KeyEvent.KEYCODE_MENU || keyCode == KeyEvent.KEYCODE_BACK) { 94 if (event.getAction() == KeyEvent.ACTION_DOWN 100 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState(); 107 } else if (event.getAction() == KeyEvent.ACTION_UP && !event.isCanceled()) { 112 KeyEvent.DispatcherState ds = decor.getKeyDispatcherState();
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
MenuWith1ItemTest.java | 28 import android.view.KeyEvent; 58 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); 68 sendKeys(KeyEvent.KEYCODE_MENU, KeyEvent.KEYCODE_DPAD_LEFT); 73 sendKeys(KeyEvent.KEYCODE_MENU); 83 sendKeys(KeyEvent.KEYCODE_MENU);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
GoneParentFocusedChildTest.java | 21 import android.view.KeyEvent; 53 sendKeys(KeyEvent.KEYCODE_J);
|