Lines Matching refs:ndx
135 tojava static long xkeycode2keysym_noxkb(XKeyEvent ev, int ndx) {
138 tojava return XlibWrapper.XKeycodeToKeysym(ev.get_display(), ev.get_keycode(), ndx);
143 tojava static long xkeycode2keysym_xkb(XKeyEvent ev, int ndx) {
147 tojava if ((ndx == 0) && ((mods & XConstants.ShiftMask) != 0)) {
148 tojava // I don't know all possible meanings of 'ndx' in case of XKB
168 tojava static long xkeycode2keysym(XKeyEvent ev, int ndx) {
172 tojava return xkeycode2keysym_xkb(ev, ndx);
174 tojava return xkeycode2keysym_noxkb(ev, ndx);
187 tojava int ndx = XToolkit.isXsunKPBehavior() &&
191 tojava // bugs like 6454041. So, we will try for keypadness a keysym with ndx==0 as well.
195 tojava XlibWrapper.XKeycodeToKeysym(ev.get_display(), ev.get_keycode(), ndx ) ) ||
233 tojava int ndx = 0;
238 tojava ndx = 3;
239 tojava keysym = xkeycode2keysym(ev, ndx);
241 tojava ndx = 2;
242 tojava keysym = xkeycode2keysym(ev, ndx);
248 tojava ndx = 0;
249 tojava keysym = xkeycode2keysym(ev, ndx);
251 tojava ndx = 1;
252 tojava keysym = xkeycode2keysym(ev, ndx);
290 tojava int ndx = 0;
296 tojava ndx = 0;
297 tojava keysym = xkeycode2keysym(ev, ndx);
316 tojava int ndx = 0;
322 tojava ndx = 0;
323 tojava keysym = xkeycode2keysym_noxkb(ev, ndx);
345 tojava int ndx = 0;
353 tojava // Shift & Lock are off ===> ndx = 0;
354 tojava // Shift off & Lock on & Lock is CapsLock ===> ndx = 0;
355 tojava // if keysym[ndx] is lowecase alphabetic, then corresp. uppercase used.
356 tojava // Shift on & Lock on & Lock is CapsLock ===> ndx == 1;
357 tojava // if keysym[ndx] is lowecase alphabetic, then corresp. uppercase used.
358 tojava // Shift on || (Lock on & Lock is ShiftLock) ===> ndx = 1.
361 tojava ndx = 0;
365 tojava ndx = 0;
369 tojava ndx = 1;
375 tojava ndx = 1;
378 tojava ndx = 1;
382 tojava keysym = xkeycode2keysym(ev, ndx);