Lines Matching defs:keyboard
17 package com.android.inputmethod.keyboard;
42 import com.android.inputmethod.keyboard.internal.KeyDrawParams;
43 import com.android.inputmethod.keyboard.internal.KeyPreviewDrawParams;
44 import com.android.inputmethod.keyboard.internal.KeyVisualAttributes;
45 import com.android.inputmethod.keyboard.internal.PreviewPlacerView;
131 // Main keyboard
173 /** True if the entire keyboard needs to be dimmed. */
181 /** The keyboard bitmap buffer for faster updates */
185 /** The canvas for the above mutable keyboard bitmap */
294 * Attaches a keyboard to this view. The keyboard can be switched at any time and the
295 * view will re-layout itself to accommodate the keyboard.
298 * @param keyboard the keyboard to display in this view
300 public void setKeyboard(final Keyboard keyboard) {
301 mKeyboard = keyboard;
302 LatinImeLogger.onSetKeyboard(keyboard);
305 final int keyHeight = keyboard.mMostCommonKeyHeight - keyboard.mVerticalGap;
307 mKeyDrawParams.updateParams(keyHeight, keyboard.mKeyVisualAttributes);
311 * Returns the current keyboard being displayed by this view.
312 * @return the currently attached keyboard
349 // The main keyboard expands to the display width.
425 // Draw keyboard background.
457 // TODO: Reimplement using a keyboard background image specific to the ResearchLogger,
967 * Requests a redraw of the entire keyboard. Calling {@link #invalidate} is not sufficient
968 * because the keyboard renders the keys to an off-screen buffer and an invalidate() only