/frameworks/base/docs/html/training/keyboard-input/ |
commands.jd | 25 android.view.KeyEvent.Callback#onKeyDown onKeyDown()} and {@link 43 android.app.Activity#onKeyDown onKeyDown()} or {@link 47 android.app.Activity#onKeyDown onKeyDown()} is called multiple times.</p> 84 <p>For example, here's the {@link android.app.Activity#onKeyDown onKeyDown()} implementation
|
/cts/tests/src/android/app/cts/ |
KeyguardManagerActivity.java | 54 public boolean onKeyDown(int keyCode, KeyEvent event) { 64 Log.d(TAG, "onKeyDown"); 66 return super.onKeyDown(keyCode, event);
|
/frameworks/base/core/java/com/android/internal/app/ |
AlertActivity.java | 78 public boolean onKeyDown(int keyCode, KeyEvent event) { 79 if (mAlert.onKeyDown(keyCode, event)) return true; 80 return super.onKeyDown(keyCode, event);
|
/external/chromium_org/third_party/WebKit/ManualTests/ |
arrow-key-events.html | 15 window.onkeydown = registerWindow; 19 document.onkeydown = registerDocument; 23 document.body.onkeydown = registerBody; 27 document.documentElement.onkeydown = registerDocumentElement;
|
focus-change-between-key-events.html | 23 <input type=text onkeydown="maybe_redirect(event)" id=dummy>
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowGallery.java | 15 public boolean onKeyDown(int keyCode, KeyEvent event) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
GalleryTest.java | 32 assertTrue(gallery.onKeyDown(KeyEvent.KEYCODE_DPAD_RIGHT, event)); 40 assertTrue(gallery.onKeyDown(KeyEvent.KEYCODE_DPAD_RIGHT, event));
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AccessibleTabView.java | 41 public boolean onKeyDown(int keyCode, KeyEvent event) { 43 || super.onKeyDown(keyCode, event);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
AccessibleTabView.java | 41 public boolean onKeyDown(int keyCode, KeyEvent event) { 43 || super.onKeyDown(keyCode, event);
|
/frameworks/base/core/java/android/widget/ |
DialerFilter.java | 107 public boolean onKeyDown(int keyCode, KeyEvent event) { 122 handled = mDigits.onKeyDown(keyCode, event); 123 handled &= mLetters.onKeyDown(keyCode, event); 127 handled = mLetters.onKeyDown(keyCode, event); 135 mLetters.onKeyDown(keyCode, event); 138 handled = mDigits.onKeyDown(keyCode, event); 142 handled = mDigits.onKeyDown(keyCode, event); 146 handled = mLetters.onKeyDown(keyCode, event); 156 handled = mLetters.onKeyDown(keyCode, event); 161 mDigits.onKeyDown(keyCode, event) [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
ArrowKeyMovementMethodTest.java | 185 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, 196 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, 207 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, 219 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, 228 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, 236 assertFalse(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, 252 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, 262 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, 274 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable, 284 assertTrue(mArrowKeyMovementMethod.onKeyDown(mTextView, mEditable [all...] |
/external/chromium_org/ui/views/controls/table/ |
table_view_observer.h | 30 virtual void OnKeyDown(ui::KeyboardCode virtual_keycode) {}
|
/cts/tests/src/android/view/cts/ |
WindowStubActivity.java | 55 public boolean onKeyDown(int keyCode, KeyEvent event) { 57 return super.onKeyDown(keyCode, event);
|
/hardware/ti/wpan/tools/FM/FmTxApp/src/com/ti/fmtxapp/ |
FmTx.java | 817 * This is a method implementation of onKeyDown 820 public boolean onKeyDown(int keyCode, KeyEvent event) { 821 Log.i(TAG,"onKeyDown()"); 842 Log.i("onKeyDown()","KEYCODE_BACK"); 847 Log.i("onKeyDown()","KEYCODE_HOME"); 857 Log.i("onKeyDown()","KEYCODE_A"); 863 Log.i("onKeyDown()","KEYCODE_B"); 869 Log.i("onKeyDown()","KEYCODE_C"); 875 Log.i("onKeyDown()","KEYCODE_D"); 881 Log.i("onKeyDown()","KEYCODE_E") [all...] |
/external/chromium_org/tools/grit/grit/testdata/ |
sidebar_h.html | 45 <area TABINDEX="4" onkeydown='if(event.keyCode==13)location.href="movesidebar?side=1"' title="Move sidebar to Top" shape="rect" coords="9,0,22,8" href="/movesidebar?side=1" onmouseover="ctl.src='control1.gif'" onmouseout="ctl.src='[CONTROL_IMAGE]'"> 46 <area TABINDEX="5" onkeydown='if(event.keyCode==13)location.href="movesidebar?side=3"' title="Move sidebar to Bottom" shape="rect" coords="9,9,22,17" href="/movesidebar?side=3" onmouseover="ctl.src='control3.gif'" onmouseout="ctl.src='[CONTROL_IMAGE]'"> 47 <area TABINDEX="6" onkeydown='if(event.keyCode==13)location.href="movesidebar?side=0"' title="Move sidebar to Left" shape="rect" coords="0,2,8,15" href="/movesidebar?side=0" onmouseover="ctl.src='control0.gif'" onmouseout="ctl.src='[CONTROL_IMAGE]'"> 48 <area TABINDEX="7" onkeydown='if(event.keyCode==13)location.href="movesidebar?side=2"' title="Move sidebar to Right" shape="rect" coords="23,2,31,15" href="/movesidebar?side=2" onmouseover="ctl.src='control2.gif'" onmouseout="ctl.src='[CONTROL_IMAGE]'"> 74 <a TABINDEX="8" onkeydown='if(event.keyCode!=16&&event.keyCode!=9)onclick()' onclick='return hide()' href='[$~HIDE1~$]' class=ch><img width=12 height=11 style='vertical-align:top;' src=/hide.gif valign=top border=0></a>
|
/packages/apps/Mms/src/com/android/mms/ui/ |
WarnOfStorageLimitsActivity.java | 113 public boolean onKeyDown(int keyCode, KeyEvent event) { 114 if (mAlert.onKeyDown(keyCode, event)) return true; 115 return super.onKeyDown(keyCode, event);
|
ConfirmRateLimitActivity.java | 103 public boolean onKeyDown(int keyCode, KeyEvent event) { 108 return super.onKeyDown(keyCode, event);
|
/packages/apps/Music/src/com/android/music/ |
RepeatingImageButton.java | 85 public boolean onKeyDown(int keyCode, KeyEvent event) { 91 super.onKeyDown(keyCode, event); 94 return super.onKeyDown(keyCode, event);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Sweep.java | 82 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { 93 return super.onKeyDown(keyCode, event);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridDelete.java | 55 public boolean onKeyDown(int keyCode, KeyEvent event) { 61 return super.onKeyDown(keyCode, event);
|
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/ |
CameraEffectsRecordingSample.java | 61 public boolean onKeyDown(int keyCode, KeyEvent event) { 67 return super.onKeyDown(keyCode, event);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SceneGraphView.java | 74 public boolean onKeyDown(int keyCode, KeyEvent event) 78 return super.onKeyDown(keyCode, event);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
RSTestView.java | 76 public boolean onKeyDown(int keyCode, KeyEvent event) 78 return super.onKeyDown(keyCode, event);
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
RSTestView.java | 76 public boolean onKeyDown(int keyCode, KeyEvent event) 78 return super.onKeyDown(keyCode, event);
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
RSTestView.java | 76 public boolean onKeyDown(int keyCode, KeyEvent event) 78 return super.onKeyDown(keyCode, event);
|