@@ -31,9 +31,7 @@ public interface AndroidKeyCode {
31
31
int SETTINGS = 176 ;
32
32
int SPACE = 62 ;
33
33
34
-
35
-
36
- // getAction() value: the key has been pressed down.
34
+ // getAction() value: the key has been pressed down.
37
35
// (0x00000000)
38
36
int ACTION_DOWN = 0 ;
39
37
@@ -85,7 +83,8 @@ public interface AndroidKeyCode {
85
83
// (0x00000040)
86
84
int FLAG_VIRTUAL_HARD_KEY = 64 ;
87
85
88
- // This constant was deprecated in API level 20.This flag will never be set by the system since the system consumes all wake keys itself.
86
+ // This constant was deprecated in API level 20.
87
+ // This flag will never be set by the system since the system consumes all wake keys itself.
89
88
// This mask is set if the device woke because of this key event.
90
89
// (0x00000001)
91
90
int FLAG_WOKE_HERE = 1 ;
@@ -1130,34 +1129,31 @@ public interface AndroidKeyCode {
1130
1129
// (0x000000a9)
1131
1130
int KEYCODE_ZOOM_OUT = 169 ;
1132
1131
1133
- int MAX_KEYCODE = 84 ;
1134
-
1135
- // This constant was deprecated in API level 3.There are now more than MAX_KEYCODE keycodes. Use getMaxKeyCode() instead.
1136
-
1132
+ // This constant was deprecated in API level 3.
1133
+ // There are now more than MAX_KEYCODE keycodes. Use getMaxKeyCode() instead.
1137
1134
// (0x00000054)
1135
+ int MAX_KEYCODE = 84 ;
1138
1136
1139
1137
// This mask is used to check whether the left ALT meta key is pressed.
1140
1138
// See Also
1141
1139
// isAltPressed()
1142
1140
// getMetaState()
1143
1141
// KEYCODE_ALT_LEFT
1144
- int META_ALT_LEFT_ON = 16 ;
1145
-
1146
1142
// (0x00000010)
1143
+ int META_ALT_LEFT_ON = 16 ;
1147
1144
1148
1145
// This mask is a combination of META_ALT_ON, META_ALT_LEFT_ON and META_ALT_RIGHT_ON.
1149
1146
// (0x00000032)
1150
1147
int META_ALT_MASK = 50 ;
1151
1148
1152
- int META_ALT_ON = 2 ;
1153
-
1154
1149
// This mask is used to check whether one of the ALT meta keys is pressed.
1155
1150
// See Also
1156
1151
// isAltPressed()
1157
1152
// getMetaState()
1158
1153
// KEYCODE_ALT_LEFT
1159
1154
// KEYCODE_ALT_RIGHT
1160
1155
// (0x00000002)
1156
+ int META_ALT_ON = 2 ;
1161
1157
1162
1158
// This mask is used to check whether the right the ALT meta key is pressed.
1163
1159
// See Also
@@ -1229,9 +1225,8 @@ public interface AndroidKeyCode {
1229
1225
// getMetaState()
1230
1226
// KEYCODE_META_LEFT
1231
1227
// KEYCODE_META_RIGHT
1232
- int META_META_ON = 65536 ;
1233
-
1234
1228
// (0x00010000)
1229
+ int META_META_ON = 65536 ;
1235
1230
1236
1231
// This mask is used to check whether the right META meta key is pressed.
1237
1232
// See Also
0 commit comments