Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/widget/
DDialerFilter.java110 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in DialerFilter
125 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown()
126 handled &= mLetters.onKeyDown(keyCode, event); in onKeyDown()
130 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown()
138 mLetters.onKeyDown(keyCode, event); in onKeyDown()
141 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown()
145 handled = mDigits.onKeyDown(keyCode, event); in onKeyDown()
149 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown()
159 handled = mLetters.onKeyDown(keyCode, event); in onKeyDown()
164 mDigits.onKeyDown(keyCode, event); in onKeyDown()
[all …]
DMenuPopupWindow.java126 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in MenuPopupWindow.MenuDropDownListView
144 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/core/java/com/android/internal/app/
DAlertActivity.java102 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in AlertActivity
103 if (mAlert.onKeyDown(keyCode, event)) return true; in onKeyDown()
104 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DBasicGLSurfaceView.java76 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in BasicGLSurfaceView
77 mRenderer.onKeyDown(keyCode, event); in onKeyDown()
78 return super.onKeyDown(keyCode, event); in onKeyDown()
DBasicGLRenderer.java114 public void onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in BasicGLRenderer
116 mSwarm.onKeyDown(keyCode, event); in onKeyDown()
DMainActivity.java37 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in MainActivity
/frameworks/base/core/java/com/android/internal/globalactions/
DActionsDialog.java80 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in ActionsDialog
81 if (mAlert.onKeyDown(keyCode, event)) { in onKeyDown()
84 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DEditTextCursorMovementPerfTest.java104 editText.onKeyDown(RIGHT_ARROW_KEY_EVENT.getKeyCode(), RIGHT_ARROW_KEY_EVENT); in testCursorMovement()
109 editText.onKeyDown(RIGHT_ARROW_KEY_EVENT.getKeyCode(), RIGHT_ARROW_KEY_EVENT); in testCursorMovement()
110 editText.onKeyDown(LEFT_ARROW_KEY_EVENT.getKeyCode(), LEFT_ARROW_KEY_EVENT); in testCursorMovement()
DEditTextBackspacePerfTest.java104 editText.onKeyDown(RIGHT_ARROW_KEY_EVENT.getKeyCode(), RIGHT_ARROW_KEY_EVENT); in prepareTextForBackspace()
120 editText.onKeyDown(BACKSPACE_KEY_EVENT.getKeyCode(), BACKSPACE_KEY_EVENT); in testBackspace()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridDelete.java54 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in GridDelete
60 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessDialog.java70 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in BrightnessDialog
77 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardPinBasedInputViewTest.java68 mKeyguardPinView.onKeyDown(KeyEvent.KEYCODE_0, mock(KeyEvent.class)); in onKeyDown_clearsSecurityMessage()
74 mKeyguardPinView.onKeyDown(KeyEvent.KEYCODE_UNKNOWN, mock(KeyEvent.class)); in onKeyDown_noSecurityMessageInteraction()
/frameworks/rs/tests/java_api/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/tests/java_api/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/rs/tests/java_api/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/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPinBasedInputView.java84 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in KeyguardPinBasedInputView
102 return super.onKeyDown(keyCode, event); in onKeyDown()
257 return onKeyDown(keyCode, event); in onKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSafetyWarningDialog.java72 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in SafetyWarningDialog
77 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/core/java/android/text/method/
DTextKeyListener.java137 public boolean onKeyDown(View view, Editable content, in onKeyDown() method in TextKeyListener
141 return im.onKeyDown(view, content, keyCode, event); in onKeyDown()
222 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
DMovementMethod.java37 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyDown() method
/frameworks/base/core/java/android/inputmethodservice/
DSoftInputWindow.java191 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in SoftInputWindow
192 if (mKeyEventCallback != null && mKeyEventCallback.onKeyDown(keyCode, event)) { in onKeyDown()
195 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutBidiCursorPathTest.java86 .onKeyDown(null /*view*/, mBidiText, KeyEvent.KEYCODE_SHIFT_RIGHT, null /*keyEvent*/); in testGetCursorPath_whenShiftIsPressed()
126 .onKeyDown(null /*view*/, mBidiText, KeyEvent.KEYCODE_ALT_RIGHT, null /*keyEvent*/); in testGetCursorPath_whenAltIsPressed()
/frameworks/base/core/java/com/android/internal/widget/
DNumericTextView.java244 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in NumericTextView
247 || 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

1234