/cts/tests/tests/view/src/android/view/cts/ |
KeyEventTest.java | 42 mKeyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); 49 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); 51 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5); 53 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, 56 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, 59 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, 62 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); 76 mKeyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); 86 mKeyEvent = new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, 89 mKeyEvent = new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5 [all...] |
KeyCharacterMapTest.java | 47 assertTrue(mKeyCharacterMap.isPrintingKey(KeyEvent.KEYCODE_0)); 261 assertEquals('0', mKeyCharacterMap.getNumber(KeyEvent.KEYCODE_0)); 277 mKeyCharacterMap.getMatch(KeyEvent.KEYCODE_0, null); 296 mKeyCharacterMap.getMatch(KeyEvent.KEYCODE_0, null, 1); 334 assertTrue(mKeyCharacterMap.getKeyData(KeyEvent.KEYCODE_0, result)); 338 KeyCharacterMap.deviceHasKey(KeyEvent.KEYCODE_0); 340 KeyEvent.KEYCODE_0, KeyEvent.KEYCODE_1, KeyEvent.KEYCODE_3
|
ViewTest.java | [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
NumberKeyListenerTest.java | 89 KeyEvent event1 = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); 141 sendKeys(KeyEvent.KEYCODE_0); 160 sendKeys(KeyEvent.KEYCODE_0);
|
DialerKeyListenerTest.java | 36 final int[] events = { KeyEvent.KEYCODE_0, KeyEvent.KEYCODE_N, KeyEvent.KEYCODE_A };
|
ArrowKeyMovementMethodTest.java | 556 new KeyEvent(0, 0, KeyEvent.ACTION_MULTIPLE, KeyEvent.KEYCODE_0, 2))); 593 KeyEvent.KEYCODE_0, new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0))); 704 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); 707 assertFalse(method.onKeyUp(view, spannable, KeyEvent.KEYCODE_0, event)); 709 assertFalse(method.onKeyUp(null, spannable, KeyEvent.KEYCODE_0, event)); 710 assertFalse(method.onKeyUp(view, null, KeyEvent.KEYCODE_0, event)); 712 assertFalse(method.onKeyUp(view, spannable, KeyEvent.KEYCODE_0, null)); [all...] |
BaseKeyListenerTest.java | 100 sendKeys(KeyEvent.KEYCODE_0);
|
MetaKeyKeyListenerTest.java | 43 numberKeyListener.onKeyDown(view, content, KeyEvent.KEYCODE_0, 44 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0)); 68 numberKeyListener.onKeyUp(view, content, KeyEvent.KEYCODE_0, 69 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0));
|
ScrollingMovementMethodTest.java | 652 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); 655 assertFalse(method.onKeyUp(view, spannable, KeyEvent.KEYCODE_0, event)); 657 assertFalse(method.onKeyUp(null, spannable, KeyEvent.KEYCODE_0, event)); 658 assertFalse(method.onKeyUp(view, null, KeyEvent.KEYCODE_0, event)); 660 assertFalse(method.onKeyUp(view, spannable, KeyEvent.KEYCODE_0, null)); [all...] |
LinkMovementMethodTest.java | 233 assertFalse(method.onKeyUp(null, null, KeyEvent.KEYCODE_0, 234 new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0)));
|
/cts/tests/app/src/android/app/cts/ |
KeyguardManagerActivity.java | 56 if (keyCode == KeyEvent.KEYCODE_0 && mKeyLock != null) {
|
/cts/tests/tests/app/src/android/app/cts/ |
InstrumentationTest.java | 368 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_0); 372 assertEquals(KeyEvent.KEYCODE_0, mActivity.getKeyUpList().get(0).getKeyCode()); 373 assertEquals(KeyEvent.KEYCODE_0, mActivity.getKeyDownList().get(0).getKeyCode()); 419 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_0); 421 assertEquals(KeyEvent.KEYCODE_0, mActivity.getKeyDownCode()); 422 assertEquals(KeyEvent.KEYCODE_0, mActivity.getKeyUpCode()); 454 KeyEvent key = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); 457 assertEquals(KeyEvent.KEYCODE_0, mActivity.getKeyDownCode());
|
DialogTest.java | 240 sendKeys(KeyEvent.KEYCODE_0); 342 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_0); 345 assertEquals(KeyEvent.KEYCODE_0, d.keyDownCode); 512 sendKeys(KeyEvent.KEYCODE_0); 514 assertEquals(KeyEvent.KEYCODE_0, d.keyEvent.getKeyCode()); 519 if (KeyEvent.KEYCODE_0 == keyCode) { 539 sendKeys(KeyEvent.KEYCODE_0); 639 sendKeys(KeyEvent.KEYCODE_0); 640 assertEquals(KeyEvent.KEYCODE_0, d.keyEvent.getKeyCode()); 646 sendKeys(KeyEvent.KEYCODE_0); [all...] |
AlertDialogTest.java | 165 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_0); 167 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_0);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardPinBasedInputView.java | 83 if (keyCode >= KeyEvent.KEYCODE_0 && keyCode <= KeyEvent.KEYCODE_9) { 84 int number = keyCode - KeyEvent.KEYCODE_0 ;
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputConnectionWrapperTest.java | 77 wrapper.sendKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0));
|
/frameworks/base/core/java/android/widget/ |
TimePickerClockDelegate.java | 810 } else if (keyCode == KeyEvent.KEYCODE_0 || keyCode == KeyEvent.KEYCODE_1 871 mTypedTimes.add(mTypedTimes.size() - 1, KeyEvent.KEYCODE_0); 872 mTypedTimes.add(mTypedTimes.size() - 1, KeyEvent.KEYCODE_0); [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
TimePickerDialog.java | 529 } else if (keyCode == KeyEvent.KEYCODE_0 || keyCode == KeyEvent.KEYCODE_1 590 mTypedTimes.add(mTypedTimes.size() - 1, KeyEvent.KEYCODE_0); 591 mTypedTimes.add(mTypedTimes.size() - 1, KeyEvent.KEYCODE_0); 700 case KeyEvent.KEYCODE_0: 810 int k0 = KeyEvent.KEYCODE_0; [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
MultiAutoCompleteTextViewTest.java | 173 multiAutoCompleteTextView.performFiltering(text, KeyEvent.KEYCODE_0);
|
/frameworks/base/core/java/android/text/method/ |
MultiTapKeyListener.java | 56 sRecs.put(KeyEvent.KEYCODE_0, "0+");
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ActivityTest.java | 380 boolean consumed = activity.onKeyUp(KeyEvent.KEYCODE_0, new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_0));
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
PinDialogFragment.java | 449 if (keyCode >= KeyEvent.KEYCODE_0 && keyCode <= KeyEvent.KEYCODE_9) { 450 setNextValue(keyCode - KeyEvent.KEYCODE_0);
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
SoftKeyboard.java | 497 keyDownUp(keyCode - '0' + KeyEvent.KEYCODE_0);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiCecKeycode.java | 274 new KeycodeEntry(KeyEvent.KEYCODE_0, CEC_KEYCODE_NUMBER_0_OR_NUMBER_10),
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceScript.java | 634 mQ.addLast(new MonkeyKeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0)); 635 mQ.addLast(new MonkeyKeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_0)); [all...] |