am 84af4309: am 8493e431: Use constant for keycode.
Merge commit '84af4309f8a2d030bfd042d8363669cc477c676f' * commit '84af4309f8a2d030bfd042d8363669cc477c676f': Use constant for keycode.main
commit
36f64d2bba
|
@ -161,13 +161,13 @@ public class LatinKeyboard extends Keyboard {
|
||||||
XmlResourceParser parser) {
|
XmlResourceParser parser) {
|
||||||
Key key = new LatinKey(res, parent, x, y, parser);
|
Key key = new LatinKey(res, parent, x, y, parser);
|
||||||
switch (key.codes[0]) {
|
switch (key.codes[0]) {
|
||||||
case 10:
|
case LatinIME.KEYCODE_ENTER:
|
||||||
mEnterKey = key;
|
mEnterKey = key;
|
||||||
break;
|
break;
|
||||||
case LatinKeyboardView.KEYCODE_F1:
|
case LatinKeyboardView.KEYCODE_F1:
|
||||||
mF1Key = key;
|
mF1Key = key;
|
||||||
break;
|
break;
|
||||||
case 32:
|
case LatinIME.KEYCODE_SPACE:
|
||||||
mSpaceKey = key;
|
mSpaceKey = key;
|
||||||
break;
|
break;
|
||||||
case KEYCODE_MODE_CHANGE:
|
case KEYCODE_MODE_CHANGE:
|
||||||
|
|
Loading…
Reference in New Issue