/cts/tests/tests/text/src/android/text/method/cts/ |
NumberKeyListenerTest.java | 115 * If one of the chars in the getAcceptedChars() can be generated by the keyCode of this 192 int keyCode = TextMethodUtils.getUnacceptedKeyCode(MockNumberKeyListener.CHARACTERS); 193 if (-1 != keyCode) { 194 sendKeys(keyCode);
|
/development/apps/GraphicsLab/src/com/android/graphicslab/ |
GraphicsLab.java | 41 public boolean onKeyDown(int keyCode, KeyEvent event) { 42 switch(keyCode) { 52 return super.onKeyDown(keyCode, event);
|
/development/samples/BrowserPlugin/jni/navigation/ |
NavigationPlugin.cpp | 212 bool NavigationPlugin::handleNavigation(ANPKeyCode keyCode) { 215 gLogI.log(kDebug_ANPLogType, "----%p Received Key %d", instance, keyCode); 217 switch (keyCode) {
|
/external/webkit/WebCore/platform/gtk/ |
KeyEventGtk.cpp | 45 static String keyIdentifierForGdkKeyCode(guint keyCode) 47 switch (keyCode) { 146 return String::format("U+%04X", gdk_keyval_to_unicode(gdk_keyval_to_upper(keyCode))); 150 static int windowsKeyCodeForKeyEvent(unsigned int keycode) 152 switch (keycode) { 510 return VK_F1 + (keycode - GDK_F1);
|
/frameworks/base/core/java/android/widget/ |
AbsSeekBar.java | 370 public boolean onKeyDown(int keyCode, KeyEvent event) { 373 switch (keyCode) { 388 return super.onKeyDown(keyCode, event);
|
ZoomButtonsController.java | 475 int keyCode = event.getKeyCode(); 476 if (isInterestingKey(keyCode)) { 478 if (keyCode == KeyEvent.KEYCODE_BACK) { 513 private boolean isInterestingKey(int keyCode) { 514 switch (keyCode) {
|
GridView.java | [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
KeyguardViewManager.java | 198 * @param keyCode The wake key. 200 public boolean wakeWhenReadyTq(int keyCode) { 201 if (DEBUG) Log.d(TAG, "wakeWhenReady(" + keyCode + ")"); 203 mKeyguardView.wakeWhenReadyTq(keyCode);
|
PhoneWindowManager.java | [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
AgendaActivity.java | 242 public boolean onKeyDown(int keyCode, KeyEvent event) { 243 switch (keyCode) { 249 return super.onKeyDown(keyCode, event);
|
/packages/apps/Phone/src/com/android/phone/ |
IccNetworkDepersonalizationPanel.java | 161 public boolean onKeyDown(int keyCode, KeyEvent event) { 162 if (keyCode == KeyEvent.KEYCODE_BACK) { 166 return super.onKeyDown(keyCode, event);
|
/packages/apps/Settings/src/com/android/settings/vpn/ |
VpnEditor.java | 111 public boolean onKeyDown(int keyCode, KeyEvent event) { 112 switch (keyCode) { 117 return super.onKeyDown(keyCode, event);
|
/packages/apps/Stk/src/com/android/stk/ |
StkMenuActivity.java | 122 public boolean onKeyDown(int keyCode, KeyEvent event) { 128 switch (keyCode) { 141 return super.onKeyDown(keyCode, event);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
UserDictionaryToolsEdit.java | 168 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { 169 if (keyCode == KeyEvent.KEYCODE_BACK) { 174 return super.onKeyDown(keyCode, event);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuBuilder.java | 636 public boolean isShortcutKey(int keyCode, KeyEvent event) { 637 return findItemWithShortcutForKey(keyCode, event) != null; 740 public boolean performShortcut(int keyCode, KeyEvent event, int flags) { 741 final MenuItemImpl item = findItemWithShortcutForKey(keyCode, event); 760 * with the keyCode. 762 List<MenuItemImpl> findItemsWithShortcutForKey(int keyCode, KeyEvent event) { 766 // Get the chars associated with the keyCode (i.e using any chording combo) 769 if (!isKeyCodeMapped && (keyCode != KeyEvent.KEYCODE_DEL)) { 780 .findItemsWithShortcutForKey(keyCode, event); 789 keyCode == KeyEvent.KEYCODE_DEL)) & [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
TwelveKeyDialer.java | 589 public boolean onKeyDown(int keyCode, KeyEvent event) { 590 switch (keyCode) { 613 return super.onKeyDown(keyCode, event); 617 public boolean onKeyUp(int keyCode, KeyEvent event) { 618 switch (keyCode) { 643 return super.onKeyUp(keyCode, event); 646 private void keyPressed(int keyCode) { 648 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); 649 mDigits.onKeyDown(keyCode, event); 652 public boolean onKey(View view, int keyCode, KeyEvent event) [all...] |
/development/simulator/app/ |
PhoneData.cpp | 280 * Handle <button keyCode="zzz" src="zzz" x="123" y="123"/> and 281 * <button keyCode="zzz"/>. 288 const char* keyCode; 300 * Only keyCode is mandatory. If they specify "src", then "x" and "y" 304 keyCode = pElem->Attribute("keyCode"); 305 if (keyCode == NULL) 317 tmpButton.Create(keyCode); 326 tmpButton.Create(keyCode, fileName, x, y); 334 fprintf(stderr, "SimCFG: <button> requires keycode and may have src/x/y\n") [all...] |
/development/samples/JetBoy/src/com/example/android/jetboy/ |
JetBoyView.java | 87 public KeyGameEvent(int keyCode, boolean up, KeyEvent msg) { 88 this.keyCode = keyCode; 93 public int keyCode; 749 // Log.d(TAG, "key code is " + event.keyCode + " " + (event.up ? 755 if (event.keyCode == KeyEvent.KEYCODE_DPAD_CENTER) { 764 if (event.keyCode == KeyEvent.KEYCODE_DPAD_CENTER && (context == null)) { [all...] |
/external/webkit/WebCore/dom/ |
SelectElement.cpp | 609 int keyCode = static_cast<KeyboardEvent*>(event)->keyCode(); 613 if (keyCode == ' ' || keyCode == '\r') { 623 if (keyCode == ' ') { 631 } else if (keyCode == '\r') { 639 if (keyCode == '\r') { 778 int keyCode = static_cast<KeyboardEvent*>(event)->keyCode(); 780 if (keyCode == '\r') [all...] |
/external/webkit/WebKit/mac/Plugins/ |
WebNetscapePluginEventHandlerCarbon.mm | 212 void WebNetscapePluginEventHandlerCarbon::syntheticKeyDownWithCommandModifier(int keyCode, char character) 219 event.message = keyCode << 8 | character; 231 UInt16 keyCode = [event keyCode]; 232 return keyCode << 8 | characterCode; 336 LOG(PluginEvents, "NPP_HandleEvent(keyDown): %d charCode:%c keyCode:%lu",
|
/frameworks/base/libs/ui/tests/ |
InputReader_test.cpp | 171 int32_t keyCode; 268 uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode, 277 args.keyCode = keyCode; 361 int32_t keyCode; 424 void setKeyCodeState(int32_t deviceId, int32_t keyCode, int32_t state) { 426 device->keyCodeStates.replaceValueFor(keyCode, state); 439 void addKey(int32_t deviceId, int32_t scanCode, int32_t keyCode, uint32_t flags) { 442 info.keyCode = keyCode; [all...] |
/external/webkit/WebCore/platform/qt/ |
PlatformKeyboardEventQt.cpp | 40 static String keyIdentifierForQtKeyCode(int keyCode) 42 switch (keyCode) { 135 return String::format("U+%04X", toupper(keyCode)); 139 static int windowsKeyCodeForKeyEvent(unsigned int keycode, bool isKeypad = false) 143 switch (keycode) { 196 switch (keycode) {
|
/frameworks/base/include/ui/ |
Input.h | 212 static bool hasDefaultAction(int32_t keyCode); 216 static bool isSystemKey(int32_t keyCode); 224 int32_t keyCode,
|
/frameworks/base/media/jni/ |
android_media_MediaMetadataRetriever.cpp | 280 static jobject android_media_MediaMetadataRetriever_extractMetadata(JNIEnv *env, jobject thiz, jint keyCode) 288 const char* value = retriever->extractMetadata(keyCode); 293 LOGV("extractMetadata: value (%s) for keyCode(%d)", value, keyCode);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
ImageViewTouchBase.java | 93 public boolean onKeyDown(int keyCode, KeyEvent event) { 94 if (keyCode == KeyEvent.KEYCODE_BACK && getScale() > 1.0f) { 100 return super.onKeyDown(keyCode, event);
|