/openjdk7/jdk/src/solaris/native/sun/xawt/ |
H A D | XWindow.c | 52 #include <X11/keysym.h> /* standard X keysyms */ 76 * Two osf keys are not defined in standard keysym.h, 112 * according to both Java keycode and X keysym. There are a number of 113 * keycodes that map to more than one corresponding keysym, and we need 339 /* X11 keysym names for input method related keys don't always 350 * same keysym as ALT_GRAPH in spite of its different behavior. 505 DTRACE_PRINTLN1("keysymToAWTKeyCode: no key mapping found: keysym = 0x%x", x11Key); 532 * For keys that don't map to unicode characters, the keysym 533 * is irrelevant at this point. We set the keysym to zero 538 * For keys that do map to unicode characters, we change the keysym 542 handleVendorKeySyms(XEvent *event, KeySym *keysym) argument 629 adjustKeySym(XEvent *event, KeySym *keysym) argument 831 handleKeyEventWithNumLockMask_New(XEvent *event, KeySym *keysym) argument 866 handleKeyEventWithNumLockMask(XEvent *event, KeySym *keysym) argument 1004 keySymToUnicodeCharacter(KeySym keysym) argument 1049 Java_sun_awt_X11_XWindow_getAWTKeyCodeForKeySym(JNIEnv *env, jclass clazz, jint keysym) argument 1066 KeySym keysym = NoSymbol; local [all...] |
H A D | XlibWrapper.c | 28 #include <X11/keysym.h> 233 (JNIEnv *env, jclass clazz, jlong keysym, 237 XConvertCase(keysym, (jlong_to_ptr(keysym_lowercase)), 523 //printf("native, output: keysym:0x%0X; mods:0x%0X\n", *(unsigned int *)jlong_to_ptr(keysym_rtrn), *(unsigned int *)jlong_to_ptr(mods_rtrn)); 1194 // Xsun without XKB uses keysymarray[2] keysym to determine if it is KP event. 1792 (JNIEnv *env, jclass clazz, jlong keysym) 1795 if(IsKeypadKey(keysym)) { 1887 jlong display, jlong keysym) { 1889 return XKeysymToKeycode((Display*) jlong_to_ptr(display), (KeySym)keysym); 232 Java_sun_awt_X11_XlibWrapper_XConvertCase(JNIEnv *env, jclass clazz, jlong keysym, jlong keysym_lowercase, jlong keysym_uppercase) argument 1791 Java_sun_awt_X11_XlibWrapper_IsKeypadKey(JNIEnv *env, jclass clazz, jlong keysym) argument 1886 Java_sun_awt_X11_XlibWrapper_XKeysymToKeycode(JNIEnv *env, jclass clazz, jlong display, jlong keysym) argument
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XEmbedCanvasPeer.java | 487 * data[3] = X keysym 491 * forwarded XKeyEvent that matches keysym/modifiers pair 493 void grabKey(final long keysym, final long modifiers) { argument 496 GrabbedKey grab = new GrabbedKey(keysym, modifiers); 505 void ungrabKey(final long keysym, final long modifiers) { argument 508 GrabbedKey grab = new GrabbedKey(keysym, modifiers); 517 void registerAccelerator(final long accel_id, final long keysym, final long modifiers) { argument 520 AWTKeyStroke stroke = xembed.getKeyStrokeForKeySym(keysym, modifiers); 806 long keysym; field in class:XEmbedCanvasPeer.GrabbedKey 808 GrabbedKey(long keysym, lon argument [all...] |
H A D | XEmbedHelper.java | 212 AWTKeyStroke getKeyStrokeForKeySym(long keysym, long state) { argument 219 XKeysym.Keysym2JavaKeycode kc = XKeysym.getJavaKeycode( keysym );
|
H A D | XWindow.java | 1038 Parameter is a keysym basically from keysymdef.h 1041 int keysymToUnicode( long keysym, int state ) { argument 1042 return XKeysym.convertKeysym( keysym, state ); 1075 long keysym[] = new long[2]; 1077 keysym[0] = XConstants.NoSymbol; 1085 if (x11inputMethodLookupString(ev.pData, keysym)) { 1087 keyEventLog.fine("--XWindow.java XIM did process event; return; dec keysym processed:"+(keysym[0])+ 1088 "; hex keysym processed:"+Long.toHexString(keysym[ 1443 getAWTKeyCodeForKeySym(int keysym) argument [all...] |
H A D | XlibWrapper.java | 487 static native boolean IsKeypadKey(long keysym); argument 497 static native int XKeysymToKeycode(long display, long keysym); argument 514 static native void XConvertCase(long keysym, argument
|
H A D | XKeysym.java | 112 // clearly means that caller needs a so called primary keysym. 147 // Xsun without XKB uses keysymarray[2] keysym to determine if it is KP event. 153 // bugs like 6454041. So, we will try for keypadness a keysym with ndx==0 as well. 165 Return uppercase keysym correspondent to a given keysym. 166 If input keysym does not belong to any lower/uppercase pair, return -1. 168 public static long getUppercaseAlphabetic( long keysym ) { 171 Long stored = uppercaseHash.get(keysym); 177 XlibWrapper.XConvertCase(keysym, keysym_lowercase, keysym_uppercase); 184 uppercaseHash.put(keysym, u [all...] |
H A D | keysym2ucs.h | 35 * 0x0000 unicode means here either there's no equivalent to a keysym 150 tojava // clearly means that caller needs a so called primary keysym. 185 tojava // Xsun without XKB uses keysymarray[2] keysym to determine if it is KP event. 191 tojava // bugs like 6454041. So, we will try for keypadness a keysym with ndx==0 as well. 203 tojava Return uppercase keysym correspondent to a given keysym. 204 tojava If input keysym does not belong to any lower/uppercase pair, return -1. 206 tojava public static long getUppercaseAlphabetic( long keysym ) { 209 tojava Long stored = uppercaseHash.get(keysym); 215 tojava XlibWrapper.XConvertCase(keysym, keysym_lowercas 234 tojava long keysym = XConstants.NoSymbol; local 239 tojava keysym = xkeycode2keysym(ev, ndx); local 242 tojava keysym = xkeycode2keysym(ev, ndx); local 249 tojava keysym = xkeycode2keysym(ev, ndx); local 252 tojava keysym = xkeycode2keysym(ev, ndx); local 271 tojava keysym = XKeySymConstants.SunXK_Stop; local 276 tojava keysym = XKeySymConstants.SunXK_Again; local 289 tojava long keysym = XConstants.NoSymbol; local 293 tojava keysym = getKeypadKeysym( ev ); local 297 tojava keysym = xkeycode2keysym(ev, ndx); local 315 tojava long keysym = XConstants.NoSymbol; local 319 tojava keysym = getKeypadKeysym( ev ); local 323 tojava keysym = xkeycode2keysym_noxkb(ev, ndx); local 343 tojava long keysym = XConstants.NoSymbol; local 349 tojava keysym = getKeypadKeysym( ev ); local 382 tojava keysym = xkeycode2keysym(ev, ndx); local 384 tojava keysym = uppercaseKeysym; local [all...] |
H A D | XDragSourceContextPeer.java | 611 long keysym = XlibWrapper.XKeycodeToKeysym(XToolkit.getDisplay(), 613 switch ((int)keysym) {
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_InputMethod.c | 505 * Returns True when there is a keysym value to be handled. 514 KeySym keysym = NoSymbol; local 560 pX11IMData->lookup_buf_len - 1, &keysym, &status); 576 pX11IMData->lookup_buf_len - 1, &keysym, &status); 580 /* Get keysym without taking modifiers into account first to map 586 keysym >= 'A' && keysym <= 'Z') 588 keysym = XLookupKeysym(event, 0); 598 if (keysym < 128 || ((keysym [all...] |
H A D | awt_xembed_server.c | 239 keysymFID = (*env)->GetFieldID(env, clazz, "keysym", "J"); 559 Java_sun_awt_motif_MEmbedCanvasPeer_getAWTKeyCodeForKeySym (JNIEnv *env, jobject this, jint keysym) { argument 563 keysymToAWTKeyCode(keysym, &keycode, &mapsToUnicodeChar, &keyLocation); 822 int keysym, modifiers; local 837 keysym = awt_getX11KeySym(keycode); 839 (*env)->SetLongField(env, this, keysymFID, (jlong)keysym);
|
H A D | awt_p.h | 49 #include <X11/keysym.h>
|