/development/simulator/app/ |
PhoneButton.h | 63 KeyCode GetKeyCode(void) const { return mKeyCode; } 71 KeyCode LookupKeyCode(const char* label) const; 77 KeyCode mKeyCode;
|
PhoneWindow.h | 105 KeyCode GetKeyCode(void) const { return mKeyCode; } 106 void SetKeyCode(KeyCode keyCode) { mKeyCode = keyCode; } 112 KeyCode mKeyCode; 138 void AddPressedKey(KeyCode keyCode); 140 void RemovePressedKey(KeyCode keyCode); 144 bool IsKeyPressed(KeyCode keyCode) [all...] |
PhoneButton.cpp | 134 KeyCode PhoneButton::LookupKeyCode(const char* label) const 138 int keyCode; 175 return (KeyCode) codeList[i].keyCode;
|
PhoneWindow.cpp | 116 KeyCode keyCode = (*iter).GetKeyCode(); 117 GetDeviceManager()->SendKeyEvent(keyCode, false); 569 KeyCode keyCode; 571 keyCode = (KeyCode) ConvertKeyCode(event.GetKeyCode()); 572 if (keyCode != kKeyCodeUnknown) { 573 if (!IsKeyPressed(keyCode)) { 574 //printf("PW: down: key %d\n", keyCode); [all...] |
DeviceManager.h | 110 void SendKeyEvent(KeyCode keyCode, bool down);
|
PhoneData.h | 181 PhoneButton* FindButtonByKey(KeyCode keyCode);
|
DeviceManager.cpp | 281 void DeviceManager::SendKeyEvent(KeyCode keyCode, bool down) 290 //printf("Sim: sending key-%s %d\n", down ? "down" : "up", keyCode); 293 msg.setCommand(event, keyCode); [all...] |
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...] |
/external/qemu/distrib/sdl-1.2.12/src/video/dga/ |
SDL_dgaevents.c | 41 extern SDLKey X11_TranslateKeycode(Display *display, KeyCode kc); 80 KeyCode keycode; local 84 keycode = xkey.keycode; 86 printf("KeyPress (X11 keycode = 0x%X)\n", xkey.keycode); 89 keysym.scancode = keycode; 90 keysym.sym = X11_TranslateKeycode(DGA_Display, keycode); 116 KeyCode keycode local [all...] |
/frameworks/base/include/ui/ |
KeycodeLabels.h | 118 // NOTE: If you add a new keycode here you must also add it to: 119 // (enum KeyCode, in this file) 128 typedef enum KeyCode { 222 } KeyCode;
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11events.c | 58 SDLKey X11_TranslateKeycode(Display *display, KeyCode kc); 311 (peekevent.xkey.keycode == event->xkey.keycode) && 556 KeyCode keycode = xevent.xkey.keycode; local 559 printf("KeyPress (X11 keycode = 0x%X)\n", xevent.xkey.keycode); 564 keysym.scancode = keycode; 565 keysym.sym = X11_TranslateKeycode(SDL_Display, keycode); 749 KeyCode keycode = xevent.xkey.keycode; local [all...] |
SDL_x11sym.h | 74 SDL_X11_SYM(KeyCode,XKeysymToKeycode,(Display* a,KeySym b),(a,b),return) 144 SDL_X11_SYM(KeySym,XKeycodeToKeysym,(Display* a,KeyCode b,int c),(a,b,c),return)
|
/external/webkit/WebKit/android/nav/ |
WebView.cpp | 640 static CachedFrame::Direction KeyToDirection(KeyCode keyCode) 642 switch (keyCode) { 644 DBG_NAV_LOGD("keyCode=%s", "right"); 647 DBG_NAV_LOGD("keyCode=%s", "left"); 650 DBG_NAV_LOGD("keyCode=%s", "down"); 653 DBG_NAV_LOGD("keyCode=%s", "up"); 656 DBG_NAV_LOGD("bad key %d sent", keyCode); 680 bool moveCursor(int keyCode, int count, bool ignoreScroll) 689 CachedFrame::Direction direction = KeyToDirection((KeyCode) keyCode) [all...] |