/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
FileList.java | 38 public boolean onKeyDown(int keyCode, KeyEvent event) { 39 switch (keyCode) 70 return super.onKeyDown(keyCode, event);
|
/packages/apps/Calculator/src/com/android/calculator2/ |
Calculator.java | 155 public boolean onKeyDown(int keyCode, KeyEvent keyEvent) { 156 if (keyCode == KeyEvent.KEYCODE_BACK 161 return super.onKeyDown(keyCode, keyEvent);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
CorpusSelectionDialog.java | 129 public boolean onKeyDown(int keyCode, KeyEvent event) { 130 boolean handled = super.onKeyDown(keyCode, event); 135 if (keyCode == KeyEvent.KEYCODE_DPAD_UP) {
|
/development/samples/Snake/src/com/example/android/snake/ |
SnakeView.java | 259 public boolean onKeyDown(int keyCode, KeyEvent msg) { 261 if (keyCode == KeyEvent.KEYCODE_DPAD_UP) { 289 if (keyCode == KeyEvent.KEYCODE_DPAD_DOWN) { 296 if (keyCode == KeyEvent.KEYCODE_DPAD_LEFT) { 303 if (keyCode == KeyEvent.KEYCODE_DPAD_RIGHT) { 310 return super.onKeyDown(keyCode, msg);
|
/external/webkit/WebCore/platform/mac/ |
KeyEventMac.mm | 40 switch ([event keyCode]) { 361 // Check that this is the type of event that has a keyCode. 374 switch ([event keyCode]) { 401 switch ([event keyCode]) { 773 switch ([event keyCode]) { 834 , m_nativeVirtualKeyCode([event keyCode])
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageViewTouchBase.java | 94 public boolean onKeyDown(int keyCode, KeyEvent event) { 95 if (keyCode == KeyEvent.KEYCODE_BACK 100 return super.onKeyDown(keyCode, event); 104 public boolean onKeyUp(int keyCode, KeyEvent event) { 105 if (keyCode == KeyEvent.KEYCODE_BACK && event.isTracking() 114 return super.onKeyUp(keyCode, event);
|
/development/simulator/app/ |
PhoneButton.cpp | 138 int keyCode; 175 return codeList[i].keyCode;
|
/external/webkit/WebCore/dom/ |
KeyboardEvent.cpp | 116 int KeyboardEvent::keyCode() const 151 // That's exactly what IE's "keyCode" returns. So they are the same for keyboard events. 152 return keyCode();
|
KeyboardEvent.idl | 61 readonly attribute long keyCode;
|
/frameworks/base/core/java/android/text/method/ |
NumberKeyListener.java | 93 int keyCode, KeyEvent event) { 134 return super.onKeyDown(view, content, keyCode, event);
|
LinkMovementMethod.java | 38 int keyCode, KeyEvent event) { 39 switch (keyCode) { 49 return super.onKeyDown(widget, buffer, keyCode, event); 188 int keyCode, KeyEvent event) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppBtEnablingActivity.java | 94 public boolean onKeyDown(int keyCode, KeyEvent event) { 95 if (keyCode == KeyEvent.KEYCODE_BACK) {
|
/packages/apps/Phone/src/com/android/phone/ |
EmergencyDialer.java | 300 public boolean onKeyDown(int keyCode, KeyEvent event) { 301 switch (keyCode) { 315 return super.onKeyDown(keyCode, event); 318 private void keyPressed(int keyCode) { 320 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); 321 mDigits.onKeyDown(keyCode, event); 324 public boolean onKey(View view, int keyCode, KeyEvent event) { 327 if (keyCode == KeyEvent.KEYCODE_ENTER) {
|
/packages/apps/Stk/src/com/android/stk/ |
ToneDialog.java | 109 public boolean onKeyDown(int keyCode, KeyEvent event) { 110 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";
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
GridInputProcessor.java | 187 public boolean onKeyDown(int keyCode, KeyEvent event, int state) { 189 if (keyCode == KeyEvent.KEYCODE_BACK) { 220 if (keyCode != KeyEvent.KEYCODE_VOLUME_UP && keyCode != KeyEvent.KEYCODE_VOLUME_DOWN 221 && keyCode != KeyEvent.KEYCODE_MUTE && keyCode != KeyEvent.KEYCODE_HEADSETHOOK 222 && keyCode != KeyEvent.KEYCODE_NOTIFICATION) { 227 if (keyCode == KeyEvent.KEYCODE_DPAD_RIGHT) { 231 if (keyCode == KeyEvent.KEYCODE_DPAD_LEFT) { 244 if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER && !mCamera.isAnimating()) [all...] |
/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/WebCore/platform/chromium/ |
PopupMenuChromium.h | 122 virtual bool isInterestedInEventForKey(int keyCode);
|
/frameworks/base/core/java/android/test/ |
InstrumentationTestCase.java | 256 final int keyCode = keyCodeField.getInt(null); 258 instrumentation.sendKeyDownUpSync(keyCode); 265 Log.w("ActivityTestCase", "Unknown keycode: KEYCODE_" + key); 268 Log.w("ActivityTestCase", "Unknown keycode: KEYCODE_" + key); 318 final int keyCode = keys[i + 1]; 321 instrumentation.sendKeyDownUpSync(keyCode);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
GoneParentFocusedChild.java | 84 public boolean onKeyUp(int keyCode, KeyEvent event) {
|
/frameworks/base/include/media/ |
mediametadataretriever.h | 87 const char* extractMetadata(int keyCode);
|
/frameworks/base/include/ui/ |
EventHub.h | 70 int32_t keyCode; 181 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const = 0; 185 * Examine key input devices for specific framework keycode support 213 virtual int32_t getKeyCodeState(int32_t deviceId, int32_t keyCode) const; 252 bool hasKeycodeLocked(device_t* device, int keycode) const; 255 int32_t getKeyCodeStateLocked(device_t* device, int32_t keyCode) const;
|
/frameworks/base/media/libmedia/ |
IMediaMetadataRetriever.cpp | 175 const char* extractMetadata(int keyCode) 182 data.writeInt32(keyCode); 272 int keyCode = data.readInt32(); 273 const char* value = extractMetadata(keyCode);
|
/frameworks/base/media/libmediaplayerservice/ |
MetadataRetrieverClient.h | 50 virtual const char* extractMetadata(int keyCode);
|
/frameworks/base/opengl/tests/gl_jni/src/com/android/gljni/ |
GLJNIView.java | 85 public boolean onKeyDown(int keyCode, KeyEvent event) {
|