Lines Matching refs:if
99 if (!hex) {
104 if (n <= 0xFFFF) {
106 } else if (n <= 0x10FFFF) {
120 if (!e) {
133 // if e.keyCode is one of Shift, Ctrl and Alt, isPressed should
136 if(modifierWithKeyCode){
168 * Returns true if |list| contains |e|.
184 if ((identifier == '2A' && contains(modifiers, 'SHIFT')) ||
194 * Returns true if a character is a ASCII character.
205 if (!keyData) {
208 if (keyData.label in LABEL_TO_KEY_TEXT) {
214 if (!pos) {
217 if (LABEL_TO_KEY_TEXT[pos]) {
221 if (!keyLabel) {
224 if (isAscii(keyLabel) &&
241 if (keycode.toUpperCase() in MODIFIER_TO_CLASS) {
243 if (keycode in modifiers) {
258 if (LABEL_TO_KEY_TEXT[keyData.label]) {
265 if (LABEL_TO_KEY_TEXT[pos]) {
268 if (pos && pos.length > 0) {
280 if (modifiers.length == 0) {
295 if (shortcutId) {
302 if (!keyData) {
308 if (keyTextValue) {
316 if (shortcutId) {
323 if (keyData.format) {
325 if (format == 'left' || format == 'right') {
338 if (!getKeyboardOverlayId()) {
440 if (overlayId) {