Home
last modified time | relevance | path

Searched refs:onKeyDown (Results 1 – 25 of 78) 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/packages/SystemUI/src/com/android/keyguard/
DKeyguardAbsKeyInputView.java70 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in KeyguardAbsKeyInputView
71 return mKeyDownListener != null && mKeyDownListener.onKeyDown(keyCode, event); in onKeyDown()
87 boolean onKeyDown(int keyCode, KeyEvent keyEvent); in onKeyDown() method
/frameworks/base/core/java/com/android/internal/app/
DAlertActivity.java106 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in AlertActivity
107 if (mAlert.onKeyDown(keyCode, event)) return true; in onKeyDown()
108 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.java105 editText.onKeyDown(RIGHT_ARROW_KEY_EVENT.getKeyCode(), RIGHT_ARROW_KEY_EVENT); in testCursorMovement()
110 editText.onKeyDown(RIGHT_ARROW_KEY_EVENT.getKeyCode(), RIGHT_ARROW_KEY_EVENT); in testCursorMovement()
111 editText.onKeyDown(LEFT_ARROW_KEY_EVENT.getKeyCode(), LEFT_ARROW_KEY_EVENT); in testCursorMovement()
DEditTextBackspacePerfTest.java105 editText.onKeyDown(RIGHT_ARROW_KEY_EVENT.getKeyCode(), RIGHT_ARROW_KEY_EVENT); in prepareTextForBackspace()
121 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/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/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/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/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/service/voice/
DVoiceInteractionWindow.java192 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in VoiceInteractionWindow
193 if (mKeyEventCallback != null && mKeyEventCallback.onKeyDown(keyCode, event)) { in onKeyDown()
196 return super.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSafetyWarningDialog.java73 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in SafetyWarningDialog
78 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/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardAbsKeyInputViewControllerTest.java119 onKeyDownListenerArgumentCaptor.getValue().onKeyDown( in onKeyDown_clearsSecurityMessage()
130 onKeyDownListenerArgumentCaptor.getValue().onKeyDown( in onKeyDown_noSecurityMessageInteraction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessDialog.java137 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in BrightnessDialog
144 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.java245 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() method in NumericTextView
248 || 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