Home
last modified time | relevance | path

Searched refs:onKey (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/tests/Input/src/com/android/server/input/
DInputManagerServiceTests.kt290 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/
DLeftRightArrowPressedListenerTest.kt89 onKey(view, keyCode, KeyEvent(action, keyCode)) in sendKey()
105 onKey(view, keyCode, keyEvent) in sendKeyWithRepeat()
/frameworks/base/core/java/android/content/
DDialogInterface.java155 boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event); in onKey() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DLeftRightArrowPressedListener.kt40 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/
DKeyguardPasswordViewControllerTest.kt190 keyListenerArgumentCaptor.value.onKey(keyguardPasswordView, in testSpaceKeyDoesNotSubmitPassword()
207 keyListenerArgumentCaptor.value.onKey(keyguardPasswordView, in testEnterKeySubmitsPassword()
/frameworks/base/core/java/android/preference/
DPreferenceFragment.java450 public boolean onKey(View v, int keyCode, KeyEvent event) {
454 return ((Preference)selectedItem).onKey(
DVolumePreference.java95 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in VolumePreference
DSeekBarPreference.java105 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in SeekBarPreference
DPreference.java1193 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in Preference
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java92 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { in onKey() method in MenuDialogHelper
DStandardMenuPopup.java340 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() method in StandardMenuPopup
DCascadingMenuPopup.java289 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/
DCredentialPasswordViewBinder.kt99 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/
DStackEducationView.kt87 override fun onKey(v: View?, keyCode: Int, event: KeyEvent): Boolean { in onAttachedToWindow() method
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java107 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/
DLegacyScreenshotViewProxy.kt220 override fun onKey(view: View, keyCode: Int, event: KeyEvent): Boolean { in setOnKeyListener() method
DScreenshotShelfViewProxy.kt313 override fun onKey(view: View, keyCode: Int, event: KeyEvent): Boolean { in <lambda>() method
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVirtualizerTest.java109 public boolean onKey(View v, int keyCode, KeyEvent event) {
DVisualizerTest.java123 public boolean onKey(View v, int keyCode, KeyEvent event) {
DPresetReverbTest.java113 public boolean onKey(View v, int keyCode, KeyEvent event) {
DBassBoostTest.java117 public boolean onKey(View v, int keyCode, KeyEvent event) {
DEqualizerTest.java169 public boolean onKey(View v, int keyCode, KeyEvent event) {
/frameworks/base/core/java/android/widget/
DTabHost.java170 public boolean onKey(View v, int keyCode, KeyEvent event) { in setup()
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java593 public boolean onKey(View v, int keyCode, KeyEvent event) {
/frameworks/base/core/java/android/app/
DDialog.java896 if ((mOnKeyListener != null) && (mOnKeyListener.onKey(this, event.getKeyCode(), event))) { in dispatchKeyEvent()

12