Lines Matching refs:keyboard

73      * Listener for virtual keyboard events.
239 /** Whether the keyboard bitmap needs to be redrawn before it's blitted. **/
241 /** The dirty region in the keyboard bitmap */
243 /** The keyboard bitmap for faster updates */
245 /** Notes if the keyboard just changed, so that we could possibly reallocate the mBuffer. */
247 /** The canvas for the above mutable keyboard bitmap */
397 int travelX = getWidth() / 2; // Half the keyboard width
398 int travelY = getHeight() / 2; // Half the keyboard height
449 * @return the listener attached to this keyboard
456 * Attaches a keyboard to this view. The keyboard can be switched at any time and the
457 * view will re-layout itself to accommodate the keyboard.
460 * @param keyboard the keyboard to display in this view
462 public void setKeyboard(Keyboard keyboard) {
468 mKeyboard = keyboard;
475 computeProximityThreshold(keyboard);
477 // Switching to a different keyboard should abort any pending keys so that the key up
478 // doesn't get delivered to the old or new keyboard
483 * Returns the current keyboard being displayed by this view.
484 * @return the currently attached keyboard
492 * Sets the state of the shift key of the keyboard, if any.
500 // The whole keyboard probably needs to be redrawn
509 * Returns the state of the shift key of the keyboard, if any.
511 * no shift key on the keyboard or there is no keyboard attached, it returns false.
573 * Popup keyboard close button clicked.
606 * @param keyboard
608 private void computeProximityThreshold(Keyboard keyboard) {
609 if (keyboard == null) return;
735 // Overlay a dark rectangle to dim the keyboard
956 // If the key you're pressing is on the left side of the keyboard, show the popup on
1032 * Requests a redraw of the entire keyboard. Calling {@link #invalidate} is not sufficient
1033 * because the keyboard renders the keys to an off-screen buffer and an invalidate() only
1083 * Called when a key is long pressed. By default this will open any popup keyboard associated
1126 Keyboard keyboard;
1128 keyboard = new Keyboard(getContext(), popupKeyboardId,
1131 keyboard = new Keyboard(getContext(), popupKeyboardId);
1133 mMiniKeyboard.setKeyboard(keyboard);
1255 // displayed the mini keyboard