/frameworks/base/tests/Input/src/com/android/server/input/ |
D | InputManagerServiceTests.kt | 290 mockOnKeyListener.onKey(mockSurfaceView1, /* keyCode= */ KeyEvent.KEYCODE_A, downEvent) in addUniqueIdAssociationByDescriptor_verifyAssociations() 291 mockOnKeyListener.onKey(mockSurfaceView2, /* keyCode= */ KeyEvent.KEYCODE_A, upEvent) in addUniqueIdAssociationByDescriptor_verifyAssociations() 294 verify(mockOnKeyListener).onKey(mockSurfaceView1, KeyEvent.KEYCODE_A, downEvent) in addUniqueIdAssociationByDescriptor_verifyAssociations() 295 verify(mockOnKeyListener, never()).onKey(mockSurfaceView2, KeyEvent.KEYCODE_A, downEvent) in addUniqueIdAssociationByDescriptor_verifyAssociations() 310 verify(mockOnKeyListener).onKey(mockSurfaceView2, KeyEvent.KEYCODE_A, upEvent) in addUniqueIdAssociationByDescriptor_verifyAssociations() 311 verify(mockOnKeyListener, never()).onKey(mockSurfaceView1, KeyEvent.KEYCODE_A, upEvent) in addUniqueIdAssociationByDescriptor_verifyAssociations() 352 mockOnKeyListener.onKey(mockSurfaceView1, /* keyCode= */ KeyEvent.KEYCODE_A, downEvent) in addUniqueIdAssociationByPort_verifyAssociations() 353 mockOnKeyListener.onKey(mockSurfaceView2, /* keyCode= */ KeyEvent.KEYCODE_A, upEvent) in addUniqueIdAssociationByPort_verifyAssociations() 356 verify(mockOnKeyListener).onKey(mockSurfaceView1, KeyEvent.KEYCODE_A, downEvent) in addUniqueIdAssociationByPort_verifyAssociations() 357 verify(mockOnKeyListener, never()).onKey(mockSurfaceView2, KeyEvent.KEYCODE_A, downEvent) in addUniqueIdAssociationByPort_verifyAssociations() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | LeftRightArrowPressedListenerTest.kt | 89 onKey(view, keyCode, KeyEvent(action, keyCode)) in sendKey() 105 onKey(view, keyCode, keyEvent) in sendKeyWithRepeat()
|
/frameworks/base/core/java/android/content/ |
D | DialogInterface.java | 155 boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event); in onKey() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | LeftRightArrowPressedListener.kt | 40 override fun onKey(view: View, keyCode: Int, keyEvent: KeyEvent): Boolean { in onKey() method in com.android.systemui.qs.LeftRightArrowPressedListener
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/ |
D | KeyguardPasswordViewControllerTest.kt | 190 keyListenerArgumentCaptor.value.onKey(keyguardPasswordView, in testSpaceKeyDoesNotSubmitPassword() 207 keyListenerArgumentCaptor.value.onKey(keyguardPasswordView, in testEnterKeySubmitsPassword()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceFragment.java | 450 public boolean onKey(View v, int keyCode, KeyEvent event) { 454 return ((Preference)selectedItem).onKey(
|
D | VolumePreference.java | 95 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in VolumePreference
|
D | SeekBarPreference.java | 105 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in SeekBarPreference
|
D | Preference.java | 1193 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in Preference
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuDialogHelper.java | 92 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { in onKey() method in MenuDialogHelper
|
D | StandardMenuPopup.java | 340 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in StandardMenuPopup
|
D | CascadingMenuPopup.java | 289 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in CascadingMenuPopup
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | CredentialPasswordViewBinder.kt | 99 override fun onKey(v: View, keyCode: Int, event: KeyEvent): Boolean { in onKey() method in com.android.systemui.biometrics.ui.binder.OnBackButtonListener
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | StackEducationView.kt | 87 override fun onKey(v: View?, keyCode: Int, event: KeyEvent): Boolean { in onAttachedToWindow() method
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 107 void onKey(int primaryCode, int[] keyCodes); in onKey() method 843 mKeyboardActionListener.onKey(Keyboard.KEYCODE_DELETE, KEY_DELETE); in detectAndSendKey() 849 mKeyboardActionListener.onKey(code, codes); in detectAndSendKey() 1109 public void onKey(int primaryCode, int[] keyCodes) { in onLongPress() 1110 mKeyboardActionListener.onKey(primaryCode, keyCodes); in onLongPress()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | LegacyScreenshotViewProxy.kt | 220 override fun onKey(view: View, keyCode: Int, event: KeyEvent): Boolean { in setOnKeyListener() method
|
D | ScreenshotShelfViewProxy.kt | 313 override fun onKey(view: View, keyCode: Int, event: KeyEvent): Boolean { in <lambda>() method
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | VirtualizerTest.java | 109 public boolean onKey(View v, int keyCode, KeyEvent event) {
|
D | VisualizerTest.java | 123 public boolean onKey(View v, int keyCode, KeyEvent event) {
|
D | PresetReverbTest.java | 113 public boolean onKey(View v, int keyCode, KeyEvent event) {
|
D | BassBoostTest.java | 117 public boolean onKey(View v, int keyCode, KeyEvent event) {
|
D | EqualizerTest.java | 169 public boolean onKey(View v, int keyCode, KeyEvent event) {
|
/frameworks/base/core/java/android/widget/ |
D | TabHost.java | 170 public boolean onKey(View v, int keyCode, KeyEvent event) { in setup()
|
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
D | ScoAudioTest.java | 593 public boolean onKey(View v, int keyCode, KeyEvent event) {
|
/frameworks/base/core/java/android/app/ |
D | Dialog.java | 896 if ((mOnKeyListener != null) && (mOnKeyListener.onKey(this, event.getKeyCode(), event))) { in dispatchKeyEvent()
|