/cts/tests/tests/text/src/android/text/method/cts/ |
D | TextMethodUtils.java | 47 for (int keyCode = KeyEvent.KEYCODE_A; keyCode <= KeyEvent.KEYCODE_Z; keyCode++) { in getUnacceptedKeyCode() 48 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); in getUnacceptedKeyCode() 50 return keyCode; in getUnacceptedKeyCode()
|
D | DateKeyListenerTest.java | 80 int keyCode = TextMethodUtils.getUnacceptedKeyCode(DateKeyListener.CHARACTERS); in testDateTimeKeyListener() local 81 if (-1 != keyCode) { in testDateTimeKeyListener() 82 sendKeys(keyCode); in testDateTimeKeyListener()
|
D | DateTimeKeyListenerTest.java | 106 int keyCode = TextMethodUtils.getUnacceptedKeyCode(DateTimeKeyListener.CHARACTERS); in testDateTimeKeyListener() local 107 if (-1 != keyCode) { in testDateTimeKeyListener() 108 sendKeys(keyCode); in testDateTimeKeyListener()
|
D | TimeKeyListenerTest.java | 102 int keyCode = TextMethodUtils.getUnacceptedKeyCode(TimeKeyListener.CHARACTERS); in testTimeKeyListener() local 103 if (-1 != keyCode) { in testTimeKeyListener() 104 sendKeys(keyCode); in testTimeKeyListener()
|
D | NumberKeyListenerTest.java | 145 int keyCode = TextMethodUtils.getUnacceptedKeyCode(MockNumberKeyListener.DIGITS); in testPressKey() local 146 if (-1 != keyCode) { in testPressKey() 147 sendKeys(keyCode); in testPressKey()
|
D | QwertyKeyListenerTest.java | 147 private void callOnKeyDown(final QwertyKeyListener keyListener, final int keyCode) { in callOnKeyDown() argument 150 keyListener.onKeyDown(mTextView, mTextView.getEditableText(), keyCode, in callOnKeyDown() 151 new KeyEvent(KeyEvent.ACTION_DOWN, keyCode)); in callOnKeyDown()
|
D | MultiTapKeyListenerTest.java | 182 private void callOnKeyDown(final MultiTapKeyListener keyListener, final int keyCode, in callOnKeyDown() argument 187 keyListener.onKeyDown(mTextView, mTextView.getEditableText(), keyCode, in callOnKeyDown() 188 new KeyEvent(KeyEvent.ACTION_DOWN, keyCode)); in callOnKeyDown()
|
D | ArrowKeyMovementMethodTest.java | 1143 private boolean pressCtrlChord(int keyCode) { in pressCtrlChord() argument 1146 now, now, KeyEvent.ACTION_DOWN, keyCode, 0, KeyEvent.META_CTRL_LEFT_ON); in pressCtrlChord() 1147 return mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, keyCode, keyEvent); in pressCtrlChord()
|
/cts/tests/app/src/android/app/cts/ |
D | KeyguardManagerActivity.java | 30 public int keyCode; field in KeyguardManagerActivity 54 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 55 this.keyCode = keyCode; in onKeyDown() 56 if (keyCode == KeyEvent.KEYCODE_0 && mKeyLock != null) { in onKeyDown() 66 return super.onKeyDown(keyCode, event); in onKeyDown()
|
D | TestDialog.java | 145 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 147 keyDownCode = keyCode; in onKeyDown() 148 onKeyDownReturn = super.onKeyDown(keyCode, event); in onKeyDown() 154 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() argument 157 return super.onKeyUp(keyCode, event); in onKeyUp() 161 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple() argument 163 onKeyMultipleReturn = super.onKeyMultiple(keyCode, repeatCount, event); in onKeyMultiple()
|
D | InstrumentationTestActivity.java | 208 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 210 mKeyDownCode = keyCode; in onKeyDown() 211 return super.onKeyDown(keyCode, event); in onKeyDown() 221 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() argument 223 mKeyUpCode = keyCode; in onKeyUp() 224 return super.onKeyUp(keyCode, event); in onKeyUp()
|
D | DialogStubActivity.java | 345 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 347 return super.onKeyDown(keyCode, event); in onKeyDown() 351 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() argument 353 return super.onKeyUp(keyCode, event); in onKeyUp()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MockView.java | 89 public boolean onKeyShortcut(int keyCode, KeyEvent event) { in onKeyShortcut() argument 91 return super.onKeyShortcut(keyCode, event); in onKeyShortcut() 171 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 173 return super.onKeyDown(keyCode, event); in onKeyDown() 181 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple() argument 183 return super.onKeyMultiple(keyCode, repeatCount, event); in onKeyMultiple() 191 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() argument 193 return super.onKeyUp(keyCode, event); in onKeyUp() 589 public boolean onKeyPreIme(int keyCode, KeyEvent event) { in onKeyPreIme() argument 591 return super.onKeyPreIme(keyCode, event); in onKeyPreIme()
|
D | WindowCtsActivity.java | 55 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 57 return super.onKeyDown(keyCode, event); in onKeyDown()
|
D | MockTextView.java | 140 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple() argument 142 return super.onKeyMultiple(keyCode, repeatCount, event); in onKeyMultiple()
|
D | KeyEventTest.java | 665 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 667 mKeyCode = keyCode; in onKeyDown() 672 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress() argument 676 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { in onKeyMultiple() argument 678 mKeyCode = keyCode; in onKeyMultiple() 687 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() argument 689 mKeyCode = keyCode; in onKeyUp()
|
D | WindowTest.java | 771 private void injectKeyEvent(Window window, int keyCode) { in injectKeyEvent() argument 772 KeyEvent downEvent = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); in injectKeyEvent() 774 KeyEvent upEvent = new KeyEvent(KeyEvent.ACTION_UP, keyCode); in injectKeyEvent() 897 public boolean performPanelShortcut(int featureId, int keyCode, KeyEvent event, int flags) { in performPanelShortcut() argument 986 public boolean isShortcutKey(int keyCode, KeyEvent event) { in isShortcutKey() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/widgets/ |
D | ProjectionWidgetActivity.java | 37 InjectDPadClickListener(int keyCode) { in InjectDPadClickListener() argument 38 mKeyCode = keyCode; in InjectDPadClickListener()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MultiAutoCompleteTextViewTest.java | 280 protected void performFiltering(CharSequence text, int keyCode) { in performFiltering() argument 281 super.performFiltering(text, keyCode); in performFiltering() 284 protected void performFiltering(CharSequence text, int start, int end, int keyCode) { in performFiltering() argument 285 super.performFiltering(text, start, end, keyCode); in performFiltering()
|
D | MockTextView.java | 140 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple() argument 142 return super.onKeyMultiple(keyCode, repeatCount, event); in onKeyMultiple()
|
D | AutoCompleteTextViewTest.java | 758 protected void performFiltering(CharSequence text, int keyCode) { in performFiltering() argument 759 super.performFiltering(text, keyCode); in performFiltering()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ColorChangeOnKeyView.java | 41 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 698 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() argument 704 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress() argument 710 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { in onKeyMultiple() argument 716 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() argument
|
/cts/tests/tests/app/src/android/app/cts/ |
D | DialogTest.java | 517 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { in testDispatchKeyEvent() 519 if (KeyEvent.KEYCODE_0 == keyCode) { in testDispatchKeyEvent() 524 if (KeyEvent.KEYCODE_1 == keyCode) { in testDispatchKeyEvent()
|
D | InstrumentationTest.java | 527 public boolean isShortcutKey(int keyCode, KeyEvent event) { in isShortcutKey() argument 564 public boolean performPanelShortcut(int featureId, int keyCode, in performPanelShortcut() argument
|