Home
last modified time | relevance | path

Searched refs:getKeyCode (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/core/java/android/webkit/
DAccessibilityInjector.java117 if (isEnterActionKey(event.getKeyCode())) { in onKeyEvent()
129 if (event.getKeyCode() == candidate.getKeyCode() in onKeyEvent()
411 public int getKeyCode() { in getKeyCode() method in AccessibilityInjector.AccessibilityWebContentKeyBinding
480 builder.append(getKeyCode()); in toString()
DWebTextView.java225 int keyCode = event.getKeyCode(); in dispatchKeyEvent()
648 if (!KeyEvent.isModifierKey(events[i].getKeyCode())) { in onTextChanged()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DKeyguardViewBase.java154 switch (event.getKeyCode()) { in shouldEventKeepScreenOnWhileKeyguardShowing()
173 final int keyCode = event.getKeyCode(); in interceptMediaKey()
DPhoneFallbackEventHandler.java55 getAudioManager().preDispatchKeyEvent(event.getKeyCode(), in preDispatchKeyEvent()
62 final int keyCode = event.getKeyCode(); in dispatchKeyEvent()
DAccountUnlockScreen.java205 && event.getKeyCode() == KeyEvent.KEYCODE_BACK) { in dispatchKeyEvent()
DPhoneWindow.java751 final int keyCode = event.getKeyCode(); in onKeyDownPanel()
1781 final int keyCode = event.getKeyCode(); in dispatchKeyEvent()
1813 return isDown ? PhoneWindow.this.onKeyDown(mFeatureId, event.getKeyCode(), event) in dispatchKeyEvent()
1814 : PhoneWindow.this.onKeyUp(mFeatureId, event.getKeyCode(), event); in dispatchKeyEvent()
1822 boolean handled = performPanelShortcut(mPreparedPanel, ev.getKeyCode(), ev,
1865 if (event.getKeyCode() == KeyEvent.KEYCODE_BACK) {
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListSetSelection.java65 if (event.getKeyCode() == KeyEvent.KEYCODE_S) { in dispatchKeyEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTrackingView.java46 switch (event.getKeyCode()) { in dispatchKeyEvent()
/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java64 final int shortcutKeyCode = shortcutKeyEvent.getKeyCode(); in chordMenuKey()
DInternalSelectionView.java205 switch(event.getKeyCode()) { in onKeyDown()
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java100 Log.i("SendKeyEvent", Integer.toString(event.getKeyCode())); in sendText()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DWebViewEventSender.java61 mWebView.onKeyDown(modifier.getKeyCode(), modifier); in keyDown()
66 mWebView.onKeyDown(event.getKeyCode(), event); in keyDown()
/frameworks/base/core/java/android/text/method/
DBaseKeyListener.java174 || event.getKeyCode() != KeyEvent.KEYCODE_UNKNOWN) { in onKeyOther()
DBaseMovementMethod.java53 final int keyCode = event.getKeyCode(); in onKeyOther()
/frameworks/base/core/java/android/view/
DKeyEvent.java2278 public final int getKeyCode() { in getKeyCode() method in KeyEvent
2627 mDownKeyCode = event.getKeyCode(); in startTracking()
2636 return mDownKeyCode == event.getKeyCode(); in isTracking()
2646 mActiveLongPresses.put(event.getKeyCode(), 1); in performedLongPress()
2656 final int keyCode = event.getKeyCode(); in handleUpEvent()
DInputEventConsistencyVerifier.java204 final int keyCode = event.getKeyCode(); in onKeyEvent()
533 final int keyCode = keyEvent.getKeyCode(); in onUnhandledEvent()
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp57 event->getKeyCode(), in android_view_KeyEvent_fromNative()
/frameworks/base/core/java/android/app/
DDialog.java688 if ((mOnKeyListener != null) && (mOnKeyListener.onKey(this, event.getKeyCode(), event))) { in dispatchKeyEvent()
711 return onKeyShortcut(event.getKeyCode(), event); in dispatchKeyShortcutEvent()
DSearchableInfo.java441 public int getKeyCode() { in getKeyCode() method in SearchableInfo.ActionKeyInfo
500 mActionKeys.put(keyInfo.getKeyCode(), keyInfo); in addActionKey()
/frameworks/base/core/tests/coretests/src/android/app/
DSearchablesTest.java169 assertEquals(ai.getKeyCode(), KeyEvent.KEYCODE_CALL); in checkSearchable()
/frameworks/base/native/android/
Dinput.cpp60 return static_cast<const KeyEvent*>(key_event)->getKeyCode(); in AKeyEvent_getKeyCode()
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java476 int keyCode = event.getKeyCode(); in onContainerKey()
DTabHost.java304 && (event.getKeyCode() == KeyEvent.KEYCODE_DPAD_UP) in dispatchKeyEvent()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DEventSenderImpl.java501 mWebView.onKeyDown(event.getKeyCode(), event); in executeKeyEvent()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuView.java538 if (event.getKeyCode() == KeyEvent.KEYCODE_MENU) { in dispatchKeyEvent()

12