Home
last modified time | relevance | path

Searched refs:onKeyDown (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/base/core/java/android/widget/
DDialerFilter.java105 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in DialerFilter
120 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown()
121 handled &= mLetters.onKeyDown(keyCode, event); in onKeyDown()
125 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown()
133 mLetters.onKeyDown(keyCode, event); in onKeyDown()
136 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown()
140 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown()
144 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown()
154 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown()
159 mDigits.onKeyDown(keyCode, event); in onKeyDown()
[all …]
/frameworks/base/docs/html/training/keyboard-input/
Dcommands.jd25 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
/frameworks/base/core/java/com/android/internal/app/
DAlertActivity.java96 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in AlertActivity
97 if (mAlert.onKeyDown(keyCode, event)) return true; in onKeyDown()
98 return super.onKeyDown(keyCode, event); in onKeyDown()
DMediaRouteControllerDialog.java221 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in MediaRouteControllerDialog
227 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessDialog.java68 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in BrightnessDialog
75 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridDelete.java55 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in GridDelete
61 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/core/java/android/inputmethodservice/
DSoftInputWindow.java132 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in SoftInputWindow
133 if (mKeyEventCallback != null && mKeyEventCallback.onKeyDown(keyCode, event)) { in onKeyDown()
136 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardPinBasedInputView.java75 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in KeyguardPinBasedInputView
88 return super.onKeyDown(keyCode, event); in onKeyDown()
209 onKeyDown(keyCode, event); in onKey()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSceneGraphView.java74 public boolean onKeyDown(int keyCode, KeyEvent event) in onKeyDown() method in SceneGraphView
78 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
DRSTestView.java76 public boolean onKeyDown(int keyCode, KeyEvent event) in onKeyDown() method in RSTestView
78 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
DRSTestView.java76 public boolean onKeyDown(int keyCode, KeyEvent event) in onKeyDown() method in RSTestView
78 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
DRSTestView.java76 public boolean onKeyDown(int keyCode, KeyEvent event) in onKeyDown() method in RSTestView
78 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/
DCameraEffectsRecordingSample.java61 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in CameraEffectsRecordingSample
67 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/core/java/android/text/method/
DNumberKeyListener.java96 public boolean onKeyDown(View view, Editable content, in onKeyDown() method in NumberKeyListener
138 return super.onKeyDown(view, content, keyCode, event); in onKeyDown()
DTextKeyListener.java132 public boolean onKeyDown(View view, Editable content, in onKeyDown() method in TextKeyListener
136 return im.onKeyDown(view, content, keyCode, event); in onKeyDown()
217 public boolean onKeyDown(View view, Editable content, in onKeyDown() method in TextKeyListener.NullKeyListener
DKeyListener.java63 public boolean onKeyDown(View view, Editable text, in onKeyDown() method
DBaseKeyListener.java150 public boolean onKeyDown(View view, Editable content, in onKeyDown() method in BaseKeyListener
169 return super.onKeyDown(view, content, keyCode, event); in onKeyDown()
DMovementMethod.java37 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyDown() method
DMultiTapKeyListener.java85 public boolean onKeyDown(View view, Editable content, in onKeyDown() method in MultiTapKeyListener
231 return super.onKeyDown(view, content, keyCode, event); in onKeyDown()
DQwertyKeyListener.java84 public boolean onKeyDown(View view, Editable content, in onKeyDown() method in QwertyKeyListener
350 return super.onKeyDown(view, content, keyCode, event); in onKeyDown()
357 return super.onKeyDown(view, content, keyCode, event); in onKeyDown()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DTestAppView.java80 public boolean onKeyDown(int keyCode, KeyEvent event) in onKeyDown() method in TestAppView
84 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
DGLJNIView.java85 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in GLJNIView
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneFallbackEventHandler.java69 return onKeyDown(keyCode, event); in dispatchKeyEvent()
75 boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in PhoneFallbackEventHandler
/frameworks/base/docs/html/training/game-controllers/
Dcontroller-input.jd62 …<li>{@link android.view.View#onKeyDown(int, android.view.KeyEvent) onKeyDown(int, android.view.Key…
88 {@link android.view.View#onKeyDown(int, android.view.KeyEvent) onKeyDown()}.
224 {@link android.view.View#onKeyDown(int, android.view.KeyEvent) onKeyDown()},
273 {@link android.view.View#onKeyDown(int, android.view.KeyEvent) onKeyDown()} to
283 public boolean onKeyDown(int keyCode, KeyEvent event) {
306 return super.onKeyDown(keyCode, event);
448 {@link android.view.View#onKeyDown(int, android.view.KeyEvent) onKeyDown()}
/frameworks/base/core/java/android/app/
DAlertDialog.java360 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in AlertDialog
361 if (mAlert.onKeyDown(keyCode, event)) return true; in onKeyDown()
362 return super.onKeyDown(keyCode, event); in onKeyDown()

123