Searched defs:keyCode (Results 1 - 15 of 15) sorted by relevance

/cts/tests/src/android/app/cts/
H A DKeyguardManagerActivity.java30 public int keyCode; field in class:KeyguardManagerActivity
54 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
55 this.keyCode = keyCode;
56 if (keyCode == KeyEvent.KEYCODE_0 && mKeyLock != null) {
66 return super.onKeyDown(keyCode, event);
H A DDialogStubActivity.java367 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
369 return super.onKeyDown(keyCode, event);
373 public boolean onKeyUp(int keyCode, KeyEvent event) { argument
375 return super.onKeyUp(keyCode, event);
H A DInstrumentationTestActivity.java208 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
210 mKeyDownCode = keyCode;
211 return super.onKeyDown(keyCode, event);
221 public boolean onKeyUp(int keyCode, KeyEvent event) { argument
223 mKeyUpCode = keyCode;
224 return super.onKeyUp(keyCode, event);
H A DTestDialog.java145 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
147 keyDownCode = keyCode;
148 onKeyDownReturn = super.onKeyDown(keyCode, event);
154 public boolean onKeyUp(int keyCode, KeyEvent event) { argument
157 return super.onKeyUp(keyCode, event);
161 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { argument
163 onKeyMultipleReturn = super.onKeyMultiple(keyCode, repeatCount, event);
/cts/tests/src/android/view/cts/
H A DWindowStubActivity.java55 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
57 return super.onKeyDown(keyCode, event);
H A DMockView.java88 public boolean onKeyShortcut(int keyCode, KeyEvent event) { argument
90 return super.onKeyShortcut(keyCode, event);
180 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
182 return super.onKeyDown(keyCode, event);
190 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { argument
192 return super.onKeyMultiple(keyCode, repeatCount, event);
200 public boolean onKeyUp(int keyCode, KeyEvent event) { argument
202 return super.onKeyUp(keyCode, event);
598 public boolean onKeyPreIme(int keyCode, KeyEvent event) { argument
600 return super.onKeyPreIme(keyCode, even
[all...]
/cts/tests/tests/text/src/android/text/method/cts/
H A DQwertyKeyListenerTest.java179 private void callOnKeyDown(final QwertyKeyListener keyListener, final int keyCode) { argument
182 keyListener.onKeyDown(mTextView, mTextView.getEditableText(), keyCode,
183 new KeyEvent(KeyEvent.ACTION_DOWN, keyCode));
H A DMultiTapKeyListenerTest.java226 private void callOnKeyDown(final MultiTapKeyListener keyListener, final int keyCode, argument
231 keyListener.onKeyDown(mTextView, mTextView.getEditableText(), keyCode,
232 new KeyEvent(KeyEvent.ACTION_DOWN, keyCode));
/cts/tests/tests/widget/src/android/widget/cts/
H A DMultiAutoCompleteTextViewTest.java344 protected void performFiltering(CharSequence text, int keyCode) { argument
345 super.performFiltering(text, keyCode);
348 protected void performFiltering(CharSequence text, int start, int end, int keyCode) { argument
349 super.performFiltering(text, start, end, keyCode);
H A DAutoCompleteTextViewTest.java963 protected void performFiltering(CharSequence text, int keyCode) { argument
964 super.performFiltering(text, keyCode);
H A DTextViewTest.java4523 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { argument
4525 return super.onKeyMultiple(keyCode, repeatCount, event);
/cts/tests/tests/view/src/android/view/cts/
H A DKeyEventTest.java735 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
737 mKeyCode = keyCode;
742 public boolean onKeyLongPress(int keyCode, KeyEvent event) { argument
746 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument
748 mKeyCode = keyCode;
757 public boolean onKeyUp(int keyCode, KeyEvent event) { argument
759 mKeyCode = keyCode;
H A DWindowTest.java1161 public boolean performPanelShortcut(int featureId, int keyCode, KeyEvent event, int flags) { argument
1239 public boolean isShortcutKey(int keyCode, KeyEvent event) { argument
H A DViewTest.java4763 public boolean onKey(View v, int keyCode, KeyEvent event) { argument
/cts/tests/tests/app/src/android/app/cts/
H A DInstrumentationTest.java835 public boolean isShortcutKey(int keyCode, KeyEvent event) { argument
869 public boolean performPanelShortcut(int featureId, int keyCode, argument

Completed in 384 milliseconds