| /external/jmonkeyengine/engine/src/lwjgl/com/jme3/input/lwjgl/ |
| LwjglKeyInput.java | 44 import org.lwjgl.input.Keyboard; 63 Keyboard.create(); 64 Keyboard.enableRepeatEvents(true); 65 logger.info("Keyboard created."); 67 logger.log(Level.SEVERE, "Error while creating keyboard.", ex); 72 return Keyboard.KEYBOARD_SIZE; 79 Keyboard.poll(); 80 while (Keyboard.next()){ 81 int keyCode = Keyboard.getEventKey(); 82 char keyChar = Keyboard.getEventCharacter() [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
| DictAndKeyboard.java | 20 import com.android.inputmethod.keyboard.Keyboard; 21 import com.android.inputmethod.keyboard.KeyboardId; 22 import com.android.inputmethod.keyboard.KeyboardLayoutSet; 23 import com.android.inputmethod.keyboard.ProximityInfo; 26 * A container for a Dictionary and a Keyboard. 30 private final Keyboard mKeyboard; 31 private final Keyboard mManualShiftedKeyboard; 46 public Keyboard getKeyboard(final int codePoint) {
|
| /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
| LatinKeyboardView.java | 20 import android.inputmethodservice.Keyboard; 21 import android.inputmethodservice.Keyboard.Key; 40 if (key.codes[0] == Keyboard.KEYCODE_CANCEL) { 49 final LatinKeyboard keyboard = (LatinKeyboard)getKeyboard(); local 50 keyboard.setSpaceIcon(getResources().getDrawable(subtype.getIconResId()));
|
| LatinKeyboard.java | 23 import android.inputmethodservice.Keyboard; 26 public class LatinKeyboard extends Keyboard { 54 * appropriate label on the keyboard's enter key (if it has one). 94 static class LatinKey extends Keyboard.Key { 96 public LatinKey(Resources res, Keyboard.Row parent, int x, int y, XmlResourceParser parser) { 102 * closes the keyboard.
|
| SoftKeyboard.java | 20 import android.inputmethodservice.Keyboard; 37 * Example of writing an input method for a soft keyboard. This code is 39 * to be a complete soft keyboard implementation. Its purpose is to provide 52 * a QWERTY keyboard to Chinese), but may not be used for input methods 95 // Configuration changes can happen after the keyboard gets recreated, 159 // Numbers and dates default to the symbols keyboard, with 165 // Phones will also default to the symbols keyboard, though 166 // often you will want to have a dedicated phone keyboard. 172 // normal alphabetic keyboard, and assume that we should 207 // to decide whether our alphabetic keyboard should start ou [all...] |
| /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
| DefaultSoftKeyboardEN.java | 26 import jp.co.omronsoft.openwnn.Keyboard; 31 * The default Software Keyboard class for English IME. 36 /** 12-key keyboard [PHONE MODE] */ 42 * The normal keyboard(KEYMODE_EN_ALPHABET) and the number/symbol 43 * keyboard(KEYMODE_EN_NUMBER) is active. The phone number 44 * keyboard(KEYMODE_EN_PHONE) is disabled. 57 * Dismiss the pop-up keyboard. 59 * Nothing will be done if no pop-up keyboard is displaying. 73 mKeyboard = new Keyboard[3][2][4][2][7][2]; 75 Keyboard[][] keyList 115 Keyboard keyboard = super.getModeChangeKeyboard(keyMode); local [all...] |
| /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
| DefaultSoftKeyboardJAJP.java | 30 import jp.co.omronsoft.openwnn.Keyboard; 39 * The default Software Keyboard class for Japanese IME. 89 /** Max key number of the 12 key keyboard (depends on the definition of keyboards) */ 272 /** KeyIndex of "Moji" key on 12 keyboard (depends on the definition of keyboards) */ 275 /** KeyIndex of "Moji" key on QWERTY keyboard (depends on the definition of keyboards) */ 308 /** {@code SharedPreferences} for save the keyboard type */ 312 private Keyboard.Key mChangeModeKey = null; 330 /* Keyboard[# of Languages][portrait/landscape][# of keyboard type][shift off/on][max # of key-modes][noinput/input] */ 331 mKeyboard = new Keyboard[3][2][4][2][8][2] [all...] |
| /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
| DefaultSoftKeyboard.java | 34 import jp.co.omronsoft.openwnn.Keyboard; 39 * The default software keyboard class. 46 * key codes for a software keyboard 49 /** Change the keyboard language */ 52 /* for Japanese 12-key keyboard */ 53 /** Japanese 12-key keyboard [1] */ 55 /** Japanese 12-key keyboard [2] */ 57 /** Japanese 12-key keyboard [3] */ 59 /** Japanese 12-key keyboard [4] */ 61 /** Japanese 12-key keyboard [5] * 888 Keyboard keyboard = mCurrentKeyboard; local [all...] |
| Keyboard.java | 18 * frameworks/base/core/java/android/inputmethodservice/Keyboard.java 43 * Loads an XML description of a keyboard and stores the attributes of the keys. A keyboard 45 * <p>The layout file for a keyboard contains XML that looks like the following snippet:</p> 47 * <Keyboard 57 * </Keyboard> 60 public class Keyboard { 62 static final String TAG = "Keyboard"; 64 private static final String TAG_KEYBOARD = "Keyboard"; 98 /** Keyboard label ** 267 private Keyboard keyboard; field in class:Keyboard.Key [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
| KeyDetector.java | 17 package com.android.inputmethod.keyboard; 26 private Keyboard mKeyboard; 54 public void setKeyboard(Keyboard keyboard, float correctionX, float correctionY) { 55 if (keyboard == null) { 60 mKeyboard = keyboard; 77 public Keyboard getKeyboard() { 79 throw new IllegalStateException("keyboard isn't set");
|
| Keyboard.java | 17 package com.android.inputmethod.keyboard; 21 import com.android.inputmethod.keyboard.internal.KeyVisualAttributes; 22 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet; 23 import com.android.inputmethod.keyboard.internal.KeyboardParams; 28 * Loads an XML description of a keyboard and stores the attributes of the keys. A keyboard 30 * <p>The layout file for a keyboard contains XML that looks like the following snippet:</p> 32 * <Keyboard 42 * </Keyboard> 45 public class Keyboard { [all...] |
| KeyboardLayoutSet.java | 17 package com.android.inputmethod.keyboard; 37 import com.android.inputmethod.keyboard.internal.KeyboardBuilder; 38 import com.android.inputmethod.keyboard.internal.KeyboardParams; 39 import com.android.inputmethod.keyboard.internal.KeysCache; 57 * This class represents a set of keyboard layouts. Each of them represents a different keyboard 58 * specific to a keyboard state, such as alphabet, symbols, and so on. Layouts in the same 82 private static final Keyboard[] sForcibleKeyboardCache = new Keyboard[FORCIBLE_CACHE_SIZE]; 83 private static final HashMap<KeyboardId, SoftReference<Keyboard>> sKeyboardCache 194 final Keyboard keyboard = builder.build(); local [all...] |
| /external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
| LwjglCanvas.java | 45 import org.lwjgl.input.Keyboard;
239 if (Keyboard.isCreated()){
241 Keyboard.destroy();
278 Keyboard.create();
377 * Destroying keyboard early prevents the error above, triggered
378 * by destroying keyboard in by Display.destroy() or Display.setParent(null).
379 * Therefore Keyboard.destroy() should precede any of these calls.
381 if (Keyboard.isCreated()){
384 Keyboard.destroy();
446 if (Keyboard.isCreated()){ [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
| LatinImeLogger.java | 22 import com.android.inputmethod.keyboard.Keyboard; 86 public static void onSetKeyboard(Keyboard kb) {
|
| /frameworks/base/core/java/com/android/internal/widget/ |
| PasswordEntryKeyboardHelper.java | 21 import android.inputmethodservice.Keyboard; 206 if (primaryCode == Keyboard.KEYCODE_DELETE) { 208 } else if (primaryCode == Keyboard.KEYCODE_SHIFT) { 210 } else if (primaryCode == Keyboard.KEYCODE_CANCEL) { 213 } else if (primaryCode == Keyboard.KEYCODE_MODE_CHANGE && mKeyboardView != null) { 217 // Switch back to old keyboard if we're not in capslock mode 250 final Keyboard current = mKeyboardView.getKeyboard(); 251 Keyboard next = null; 272 Keyboard current = mKeyboardView.getKeyboard();
|
| PasswordEntryKeyboard.java | 24 import android.inputmethodservice.Keyboard; 29 * A basic, embed-able keyboard designed for password entry. Allows entry of all Latin-1 characters. 32 * an additional keyboard with symbols. In numeric mode, it shows a 12-key DTMF dialer-like 35 public class PasswordEntryKeyboard extends Keyboard { 207 * Whether or not keyboard is shifted. 208 * @return true if keyboard state is shifted. 219 static class LatinKey extends Keyboard.Key { 223 public LatinKey(Resources res, Keyboard.Row parent, int x, int y, 227 // If there is a keyboard with no keys specified in popupCharacters
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
| MoreSuggestionsView.java | 23 import com.android.inputmethod.keyboard.Keyboard; 24 import com.android.inputmethod.keyboard.MoreKeysKeyboardView; 56 // Set vertical correction to zero (Reset more keys keyboard sliding allowance 63 final Keyboard keyboard = getKeyboard(); local 64 if (!(keyboard instanceof MoreSuggestions)) { 65 Log.e(TAG, "Expected keyboard is MoreSuggestions, but found " 66 + keyboard.getClass().getName()); 69 final SuggestedWords suggestedWords = ((MoreSuggestions)keyboard).mSuggestedWords [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
| KeyCodeDescriptionMapper.java | 25 import com.android.inputmethod.keyboard.Key; 26 import com.android.inputmethod.keyboard.Keyboard; 27 import com.android.inputmethod.keyboard.KeyboardId; 64 // Special non-character codes defined in Keyboard 82 * key based on the current keyboard state. 93 * @param keyboard The keyboard on which the key resides. 98 public String getDescriptionForKey(final Context context, final Keyboard keyboard, [all...] |
| AccessibilityEntityProvider.java | 35 import com.android.inputmethod.keyboard.Key; 36 import com.android.inputmethod.keyboard.Keyboard; 37 import com.android.inputmethod.keyboard.KeyboardView; 73 /** The current keyboard view. */ 85 * Sets the keyboard view represented by this node provider. 87 * @param keyboardView The keyboard view to represent. 99 * Sets the keyboard represented by this node provider. 109 * @param key A key on the host keyboard view. 161 final Keyboard keyboard = mKeyboardView.getKeyboard() local 305 final Keyboard keyboard = mKeyboardView.getKeyboard(); local [all...] |
| /external/chromium_org/third_party/usb_ids/ |
| usb.ids | 66 2015 at90usbkey sample firmware (HID keyboard) 74 2042 LUFA Keyboard Demo Application 85 204d LUFA Combined Mouse and Keyboard Demo Application 89 2061 LUFA Combined Mass Storage and Keyboard Demo Application 116 6127 AT91SAM HID Keyboard Demo Application 136 5609 Japanese Keyboard 148 0024 KU-0316 Keyboard 155 010c Multimedia Keyboard Hub 161 0122 HID Internet Keyboard 167 020c Multimedia Keyboard [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
| KeyboardRow.java | 17 package com.android.inputmethod.keyboard.internal; 23 import com.android.inputmethod.keyboard.Key; 24 import com.android.inputmethod.keyboard.Keyboard; 34 * Container for keys in the keyboard. All keys in a row are at the same Y-coordinate. 35 * Some of the key size defaults can be overridden per row from what the {@link Keyboard} 62 * @param keyboardWidth the keyboard width that is required to calculate keyWidth attribute. 79 * @param keyboardWidth the keyboard width that is required to calculate keyWidth attribute. 100 R.styleable.Keyboard); 179 // out the area up to the right edge of the keyboard [all...] |
| ScrollKeyboardView.java | 17 package com.android.inputmethod.keyboard.internal; 26 import com.android.inputmethod.keyboard.Key; 27 import com.android.inputmethod.keyboard.KeyDetector; 28 import com.android.inputmethod.keyboard.Keyboard; 29 import com.android.inputmethod.keyboard.KeyboardView; 33 * This is an extended {@link KeyboardView} class that hosts a vertical scroll keyboard. 122 public void setKeyboard(final Keyboard keyboard) { 123 super.setKeyboard(keyboard); [all...] |
| DynamicGridKeyboard.java | 17 package com.android.inputmethod.keyboard.internal; 23 import com.android.inputmethod.keyboard.EmojiPalettesView; 24 import com.android.inputmethod.keyboard.Key; 25 import com.android.inputmethod.keyboard.Keyboard; 36 * This is a Keyboard class where you can add keys dynamically shown in a grid layout 38 public class DynamicGridKeyboard extends Keyboard { 55 public DynamicGridKeyboard(final SharedPreferences prefs, final Keyboard templateKeyboard,
|
| /frameworks/base/core/java/android/inputmethodservice/ |
| Keyboard.java | 39 * Loads an XML description of a keyboard and stores the attributes of the keys. A keyboard 41 * <p>The layout file for a keyboard contains XML that looks like the following snippet:</p> 43 * <Keyboard 53 * </Keyboard> 60 public class Keyboard { 62 static final String TAG = "Keyboard"; 64 // Keyboard XML Tags 65 private static final String TAG_KEYBOARD = "Keyboard"; 81 /** Keyboard label ** 275 private Keyboard keyboard; field in class:Keyboard.Key [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/resources/manager/ |
| ConfigMatchTest.java | 32 import com.android.resources.Keyboard; 106 null, // keyboard state 130 KeyboardState.EXPOSED.getResourceValue(), // keyboard state 154 KeyboardState.HIDDEN.getResourceValue(), // keyboard state 178 null, // keyboard state 202 KeyboardState.EXPOSED.getResourceValue(), // keyboard state 203 Keyboard.QWERTY.getResourceValue(), // text input 234 KeyboardState.EXPOSED.getResourceValue(), // keyboard state 235 Keyboard.QWERTY.getResourceValue(), // text input
|