/frameworks/base/core/java/android/text/method/ |
NumberKeyListener.java | 97 int keyCode, KeyEvent event) { 138 return super.onKeyDown(view, content, keyCode, event);
|
/hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/ |
FmRxRdsConfig.java | 270 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { 273 if (keyCode == KeyEvent.KEYCODE_SOFT_RIGHT) { 279 if (keyCode == KeyEvent.KEYCODE_SOFT_LEFT) { 286 if (keyCode != KeyEvent.KEYCODE_DPAD_CENTER 287 && keyCode != KeyEvent.KEYCODE_DPAD_UP 288 && keyCode != KeyEvent.KEYCODE_DPAD_DOWN 289 && keyCode != KeyEvent.KEYCODE_ENTER) { 294 switch (keyCode) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppBtEnablingActivity.java | 103 public boolean onKeyDown(int keyCode, KeyEvent event) { 104 if (keyCode == KeyEvent.KEYCODE_BACK) {
|
/packages/apps/Camera/src/com/android/camera/ |
ActivityBase.java | 251 public boolean onKeyDown(int keyCode, KeyEvent event) { 253 if (keyCode == KeyEvent.KEYCODE_SEARCH 254 || keyCode == KeyEvent.KEYCODE_MENU) { 257 if (keyCode == KeyEvent.KEYCODE_MENU && mShowCameraAppView) { 261 return super.onKeyDown(keyCode, event); 265 public boolean onKeyUp(int keyCode, KeyEvent event) { 266 if (keyCode == KeyEvent.KEYCODE_MENU && mShowCameraAppView) { 269 return super.onKeyUp(keyCode, event);
|
/packages/apps/Gallery2/src/com/android/camera/ |
ActivityBase.java | 252 public boolean onKeyDown(int keyCode, KeyEvent event) { 254 if (keyCode == KeyEvent.KEYCODE_SEARCH 255 || keyCode == KeyEvent.KEYCODE_MENU) { 258 if (keyCode == KeyEvent.KEYCODE_MENU && mShowCameraAppView) { 262 return super.onKeyDown(keyCode, event); 266 public boolean onKeyUp(int keyCode, KeyEvent event) { 267 if (keyCode == KeyEvent.KEYCODE_MENU && mShowCameraAppView) { 270 return super.onKeyUp(keyCode, event);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
MovieControllerOverlay.java | 127 public boolean onKeyDown(int keyCode, KeyEvent event) { 131 return super.onKeyDown(keyCode, event);
|
/packages/apps/Stk/src/com/android/stk/ |
ToneDialog.java | 113 public boolean onKeyDown(int keyCode, KeyEvent event) { 114 switch (keyCode) {
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SoftKey.java | 94 public void setKeyAttribute(int keyCode, String label, boolean repeat, 96 mKeyCode = keyCode; 221 str += " keyCode: " + String.valueOf(mKeyCode) + "\n";
|
/frameworks/base/core/java/android/widget/ |
SearchView.java | 872 * @param keyCode This is the keycode of the typed key, and is the same value as 879 public boolean onKeyDown(int keyCode, KeyEvent event) { 886 SearchableInfo.ActionKeyInfo actionKey = mSearchable.findActionKey(keyCode); [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
MultiAutoCompleteTextViewTest.java | 277 protected void performFiltering(CharSequence text, int keyCode) { 278 super.performFiltering(text, keyCode); 281 protected void performFiltering(CharSequence text, int start, int end, int keyCode) { 282 super.performFiltering(text, start, end, keyCode);
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
LookupActivity.java | 119 public boolean onKeyDown(int keyCode, KeyEvent event) { 121 if (keyCode == KeyEvent.KEYCODE_BACK && !mHistory.empty()) { 127 return super.onKeyDown(keyCode, event); 139 return super.onKeyDown(keyCode, event);
|
/external/webkit/Source/WebCore/inspector/front-end/ |
HelpScreen.js | 76 if (this._isShown && this._closeKeys.indexOf(event.keyCode) >= 0) {
|
/external/webkit/Tools/TestWebKitAPI/mac/ |
PlatformWebViewMac.mm | 79 keyCode:0x31]; 92 keyCode:0x31];
|
/frameworks/av/include/media/ |
mediametadataretriever.h | 77 const char* extractMetadata(int keyCode);
|
/frameworks/av/media/libmediaplayerservice/ |
MetadataRetrieverClient.h | 51 virtual const char* extractMetadata(int keyCode);
|
/frameworks/base/core/java/android/preference/ |
SeekBarPreference.java | 85 public boolean onKey(View v, int keyCode, KeyEvent event) { 87 if (keyCode == KeyEvent.KEYCODE_PLUS 88 || keyCode == KeyEvent.KEYCODE_EQUALS) { 92 if (keyCode == KeyEvent.KEYCODE_MINUS) {
|
/frameworks/base/core/java/android/test/ |
InstrumentationTestCase.java | 272 final int keyCode = keyCodeField.getInt(null); 274 instrumentation.sendKeyDownUpSync(keyCode); 281 Log.w("ActivityTestCase", "Unknown keycode: KEYCODE_" + key); 284 Log.w("ActivityTestCase", "Unknown keycode: KEYCODE_" + key); 334 final int keyCode = keys[i + 1]; 337 instrumentation.sendKeyDownUpSync(keyCode);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
GoneParentFocusedChild.java | 84 public boolean onKeyUp(int keyCode, KeyEvent event) {
|
/frameworks/base/libs/androidfw/ |
Keyboard.cpp | 242 int32_t updateMetaState(int32_t keyCode, bool down, int32_t oldMetaState) { 244 switch (keyCode) { 276 bool isMetaKey(int32_t keyCode) { 277 switch (keyCode) {
|
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/ |
GLJNIView.java | 85 public boolean onKeyDown(int keyCode, KeyEvent event) {
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
CaptureActivity.java | 163 public boolean onKeyDown(int keyCode, KeyEvent event) { 164 if (keyCode == KeyEvent.KEYCODE_BACK) { 168 } else if (keyCode == KeyEvent.KEYCODE_FOCUS || keyCode == KeyEvent.KEYCODE_CAMERA) { 172 return super.onKeyDown(keyCode, event);
|
/frameworks/base/core/java/android/inputmethodservice/ |
InputMethodService.java | [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ContactDetailActivity.java | 184 public boolean onKeyDown(int keyCode, KeyEvent event) { 186 if (mLoaderFragment != null && mLoaderFragment.handleKeyDown(keyCode)) return true; 190 if (mCurrentFragment != null && mCurrentFragment.handleKeyDown(keyCode)) return true; 193 return super.onKeyDown(keyCode, event); 322 public boolean handleKeyDown(int keyCode);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
CTableCombo.java | 232 e.keyCode = event.keyCode; 241 e.keyCode = event.keyCode; 267 e.keyCode = event.keyCode; 388 if (event.keyCode == SWT.ARROW_UP || event.keyCode == SWT.ARROW_DOWN) { 390 if (event.keyCode == SWT.ARROW_UP) { 431 e.keyCode = event.keyCode [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
TransportControlView.java | 432 int keyCode = -1; 434 keyCode = KeyEvent.KEYCODE_MEDIA_PREVIOUS; 436 keyCode = KeyEvent.KEYCODE_MEDIA_NEXT; 438 keyCode = KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE; 441 if (keyCode != -1) { 442 sendMediaButtonClick(keyCode); 449 private void sendMediaButtonClick(int keyCode) { 457 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); 467 keyEvent = new KeyEvent(KeyEvent.ACTION_UP, keyCode);
|