HomeSort by relevance Sort by last modified time
    Searched refs:Keyboard (Results 1 - 25 of 36) sorted by null

1 2

  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/resources/
Keyboard.java 20 * Keyboard enum.
23 public enum Keyboard implements ResourceEnum {
24 NOKEY("nokeys", null, "No Keys", "No keyboard"), //$NON-NLS-1$
26 TWELVEKEY("12key", "twelvekey", "12 Key", "12 key keyboard"); //$NON-NLS-1$ //$NON-NLS-2$
32 private Keyboard(String value, String value2, String shortDisplayValue,
45 public static Keyboard getEnum(String value) {
46 for (Keyboard kbrd : values()) {
68 public static int getIndex(Keyboard value) {
70 for (Keyboard input : values()) {
81 public static Keyboard getByIndex(int index)
    [all...]
  /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
LatinKeyboardView.java 20 import android.inputmethodservice.Keyboard;
22 import android.inputmethodservice.Keyboard.Key;
39 if (key.codes[0] == Keyboard.KEYCODE_CANCEL) {
LatinKeyboard.java 22 import android.inputmethodservice.Keyboard;
23 import android.inputmethodservice.Keyboard.Key;
24 import android.inputmethodservice.Keyboard.Row;
27 public class LatinKeyboard extends Keyboard {
52 * appropriate label on the keyboard's enter key (if it has one).
88 static class LatinKey extends Keyboard.Key {
90 public LatinKey(Resources res, Keyboard.Row parent, int x, int y, XmlResourceParser parser) {
96 * closes the keyboard.
SoftKeyboard.java 20 import android.inputmethodservice.Keyboard;
36 * Example of writing an input method for a soft keyboard. This code is
38 * to be a complete soft keyboard implementation. Its purpose is to provide
51 * a QWERTY keyboard to Chinese), but may not be used for input methods
91 // Configuration changes can happen after the keyboard gets recreated,
155 // Numbers and dates default to the symbols keyboard, with
161 // Phones will also default to the symbols keyboard, though
162 // often you will want to have a dedicated phone keyboard.
168 // normal alphabetic keyboard, and assume that we should
203 // to decide whether our alphabetic keyboard should start ou
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/configurations/
TextInputMethodQualifier.java 20 import com.android.sdklib.resources.Keyboard;
32 private Keyboard mValue;
39 public TextInputMethodQualifier(Keyboard value) {
43 public Keyboard getValue() {
69 Keyboard method = Keyboard.getEnum(value);
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DefaultSoftKeyboardEN.java 21 import android.inputmethodservice.Keyboard;
30 * The default Software Keyboard class for English IME.
35 /** 12-key keyboard [PHONE MODE] */
41 * The normal keyboard(KEYMODE_EN_ALPHABET) and the number/symbol
42 * keyboard(KEYMODE_EN_NUMBER) is active. The phone number
43 * keyboard(KEYMODE_EN_PHONE) is disabled.
56 * Dismiss the pop-up keyboard.
58 * Nothing will be done if no pop-up keyboard is displaying.
72 mKeyboard = new Keyboard[3][2][4][2][7][2];
74 Keyboard[][] keyList
114 Keyboard keyboard = super.getModeChangeKeyboard(keyMode); local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
KeyDetector.java 19 import android.inputmethodservice.Keyboard;
20 import android.inputmethodservice.Keyboard.Key;
26 protected Keyboard mKeyboard;
38 public Key[] setKeyboard(Keyboard keyboard, float correctionX, float correctionY) {
39 if (keyboard == null)
43 mKeyboard = keyboard;
60 throw new IllegalStateException("keyboard isn't set");
LatinImeLogger.java 23 import android.inputmethodservice.Keyboard;
68 public static void onSetKeyboard(Keyboard kb) {
LatinKeyboardView.java 22 import android.inputmethodservice.Keyboard;
23 import android.inputmethodservice.Keyboard.Key;
42 private Keyboard mPhoneKeyboard;
64 public void setPhoneKeyboard(Keyboard phoneKeyboard) {
71 // Phone keyboard never shows popup preview (except language switch).
79 public void setKeyboard(Keyboard newKeyboard) {
80 final Keyboard oldKeyboard = getKeyboard();
82 // Reset old keyboard state before switching to new keyboard.
86 // One-seventh of the keyboard width seems like a reasonable threshol
116 Keyboard keyboard = getKeyboard(); local
128 Keyboard keyboard = getKeyboard(); local
216 LatinKeyboard keyboard = (LatinKeyboard) getKeyboard(); local
    [all...]
MiniKeyboardKeyDetector.java 19 import android.inputmethodservice.Keyboard.Key;
PointerTracker.java 23 import android.inputmethodservice.Keyboard;
24 import android.inputmethodservice.Keyboard.Key;
48 private static final int[] KEY_DELETE = { Keyboard.KEYCODE_DELETE };
62 // true if keyboard layout has been changed.
65 // true if event is already translated to a key action (long press or mini-keyboard)
195 // Mark that keyboard layout has been changed.
216 return primaryCode == Keyboard.KEYCODE_SHIFT
217 || primaryCode == Keyboard.KEYCODE_MODE_CHANGE;
287 // This onPress call may have changed keyboard layout. Those cases are detected at
289 // new keyboard layout
    [all...]
ProximityKeyDetector.java 19 import android.inputmethodservice.Keyboard.Key;
LatinKeyboardBaseView.java 32 import android.inputmethodservice.Keyboard;
33 import android.inputmethodservice.Keyboard.Key;
183 // Main keyboard
184 private Keyboard mKeyboard;
186 // TODO this attribute should be gotten from Keyboard.
204 // Popup mini keyboard
236 /** Whether the keyboard bitmap needs to be redrawn before it's blitted. **/
238 /** The dirty region in the keyboard bitmap */
240 /** The keyboard bitmap for faster updates */
242 /** Notes if the keyboard just changed, so that we could possibly reallocate the mBuffer. *
1130 Keyboard keyboard; local
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DefaultSoftKeyboard.java 23 import android.inputmethodservice.Keyboard;
35 * The default software keyboard class.
42 * key codes for a software keyboard
45 /** Change the keyboard language */
48 /* for Japanese 12-key keyboard */
49 /** Japanese 12-key keyboard [1] */
51 /** Japanese 12-key keyboard [2] */
53 /** Japanese 12-key keyboard [3] */
55 /** Japanese 12-key keyboard [4] */
57 /** Japanese 12-key keyboard [5] *
771 Keyboard keyboard = mCurrentKeyboard; local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/resources/configurations/
TextInputMethodQualifierTest.java 21 import com.android.sdklib.resources.Keyboard;
47 assertEquals(Keyboard.QWERTY, config.getTextInputMethodQualifier().getValue());
54 assertEquals(Keyboard.TWELVEKEY, config.getTextInputMethodQualifier().getValue());
61 assertEquals(Keyboard.NOKEY, config.getTextInputMethodQualifier().getValue());
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DefaultSoftKeyboardJAJP.java 23 import android.inputmethodservice.Keyboard;
32 * The default Software Keyboard class for Japanese IME.
82 /** Max key number of the 12 key keyboard (depends on the definition of keyboards) */
265 /** KeyIndex of "Moji" key on 12 keyboard (depends on the definition of keyboards) */
268 /** KeyIndex of "Moji" key on QWERTY keyboard (depends on the definition of keyboards) */
301 /** {@code SharedPreferences} for save the keyboard type */
305 private Keyboard.Key mChangeModeKey = null;
319 /* Keyboard[# of Languages][portrait/landscape][# of keyboard type][shift off/on][max # of key-modes][noinput/input] */
320 mKeyboard = new Keyboard[3][2][4][2][8][2]
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
PasswordEntryKeyboardHelper.java 21 import android.inputmethodservice.Keyboard;
136 if (primaryCode == Keyboard.KEYCODE_DELETE) {
138 } else if (primaryCode == Keyboard.KEYCODE_SHIFT) {
140 } else if (primaryCode == Keyboard.KEYCODE_CANCEL) {
143 } else if (primaryCode == Keyboard.KEYCODE_MODE_CHANGE && mKeyboardView != null) {
147 // Switch back to old keyboard if we're not in capslock mode
180 final Keyboard current = mKeyboardView.getKeyboard();
181 Keyboard next = null;
201 Keyboard current = mKeyboardView.getKeyboard();
PasswordEntryKeyboard.java 30 import android.inputmethodservice.Keyboard;
36 * A basic, embed-able keyboard designed for password entry. Allows entry of all Latin-1 characters.
39 * an additional keyboard with symbols. In numeric mode, it shows a 12-key DTMF dialer-like
42 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
  /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 * &lt;Keyboard
53 * &lt;/Keyboard&gt;
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 **
270 private Keyboard keyboard; field in class:Keyboard.Key
    [all...]
KeyboardView.java 30 import android.inputmethodservice.Keyboard.Key;
53 * A view that renders a virtual {@link Keyboard}. It handles rendering of keys and
68 * Listener for virtual keyboard events.
128 private static final int[] KEY_DELETE = { Keyboard.KEYCODE_DELETE };
131 private Keyboard mKeyboard;
235 /** Whether the keyboard bitmap needs to be redrawn before it's blitted. **/
237 /** The dirty region in the keyboard bitmap */
239 /** The keyboard bitmap for faster updates */
241 /** Notes if the keyboard just changed, so that we could possibly reallocate the mBuffer. */
243 /** The canvas for the above mutable keyboard bitmap *
1042 Keyboard keyboard; local
    [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.sdklib.resources.Keyboard;
95 null, // keyboard state
113 KeyboardState.EXPOSED.getResourceValue(), // keyboard state
131 KeyboardState.HIDDEN.getResourceValue(), // keyboard state
149 null, // keyboard state
167 KeyboardState.EXPOSED.getResourceValue(), // keyboard state
168 Keyboard.QWERTY.getResourceValue(), // text input
193 KeyboardState.EXPOSED.getResourceValue(), // keyboard state
194 Keyboard.QWERTY.getResourceValue(), // text input
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/xml/
ManifestData.java 19 import com.android.sdklib.resources.Keyboard;
497 Keyboard mReqKeyboardType;
525 public Keyboard getReqKeyboardType() {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
LayoutDeviceHandler.java 33 import com.android.sdklib.resources.Keyboard;
158 Keyboard.getEnum(mStringAccumulator.toString()));
  /sdk/sdkmanager/libs/sdklib/tests/com/android/sdklib/xml/
AndroidManifestParserTest.java 19 import com.android.sdklib.resources.Keyboard;
126 assertEquals(Keyboard.TWELVEKEY, usesConfig.getReqKeyboardType());
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/layoutRendering/
ApiDemosRenderingTest.java 43 import com.android.sdklib.resources.Keyboard;
247 config.addQualifier(new TextInputMethodQualifier(Keyboard.QWERTY));

Completed in 567 milliseconds

1 2