Lines Matching refs:keyboard

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>
96 /** Is the keyboard in the shifted state */
105 /** Current key width, while loading the keyboard */
108 /** Current key height, while loading the keyboard */
111 /** Total height of the keyboard, including the padding and keys */
115 * Total width of the keyboard, including left side gaps and keys, but not any gaps on the
120 /** List of keys in this keyboard */
126 /** Width of the screen available to fit the keyboard */
150 * Container for keys in the keyboard. All keys in a row are at the same Y-coordinate.
178 /** The keyboard mode for this row */
213 * Class for describing the position and characteristics of a single key in the keyboard.
252 /** X coordinate of the key in the keyboard layout */
254 /** Y coordinate of the key in the keyboard layout */
266 * Flags that specify the anchoring to edges of the keyboard for detecting touch events
274 /** The keyboard that this key belongs to */
275 private Keyboard keyboard;
277 * If this key pops up a mini keyboard, this is the resource id for the XML layout for that
278 * keyboard.
314 keyboard = parent.parent;
341 keyboard.mDisplayWidth, parent.defaultWidth);
344 keyboard.mDisplayHeight, parent.defaultHeight);
347 keyboard.mDisplayWidth, parent.defaultHorizontalGap);
505 * Creates a keyboard from the given xml key layout file.
507 * @param xmlLayoutResId the resource file that contains the keyboard layout and keys.
514 * Creates a keyboard from the given xml key layout file. Weeds out rows
515 * that have a keyboard mode defined but don't match the specified mode.
517 * @param xmlLayoutResId the resource file that contains the keyboard layout and keys.
518 * @param modeId keyboard mode identifier
519 * @param width sets width of keyboard
520 * @param height sets height of keyboard
537 * Creates a keyboard from the given xml key layout file. Weeds out rows
538 * that have a keyboard mode defined but don't match the specified mode.
540 * @param xmlLayoutResId the resource file that contains the keyboard layout and keys.
541 * @param modeId keyboard mode identifier
547 //Log.v(TAG, "keyboard's display metrics:" + dm);
560 * <p>Creates a blank keyboard from the given resource file and populates it with the specified
563 * <p>If the specified number of columns is -1, then the keyboard will fit as many keys as
567 * @param characters the list of characters to display on the keyboard. One key will be created
571 * keyboard will fit as many keys as possible in each row.
685 * Returns the total height of the keyboard
686 * @return the total height of the keyboard