Lines Matching defs:keyboard

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>
49 /** Total height of the keyboard, including the padding and keys */
51 /** Total width of the keyboard, including the padding and keys */
54 /** Base height of the keyboard, used to calculate rows' height */
56 /** Base width of the keyboard, used to calculate keys' width */
59 /** The padding above the keyboard */
64 /** Per keyboard key visual parameters */
70 /** More keys keyboard template */
73 /** Maximum column for more keys keyboard */
76 /** Array of keys and icons in this keyboard */
114 protected Keyboard(final Keyboard keyboard) {
115 mId = keyboard.mId;
116 mThemeId = keyboard.mThemeId;
117 mOccupiedHeight = keyboard.mOccupiedHeight;
118 mOccupiedWidth = keyboard.mOccupiedWidth;
119 mBaseHeight = keyboard.mBaseHeight;
120 mBaseWidth = keyboard.mBaseWidth;
121 mMostCommonKeyHeight = keyboard.mMostCommonKeyHeight;
122 mMostCommonKeyWidth = keyboard.mMostCommonKeyWidth;
123 mMoreKeysTemplate = keyboard.mMoreKeysTemplate;
124 mMaxMoreKeysKeyboardColumn = keyboard.mMaxMoreKeysKeyboardColumn;
125 mKeyVisualAttributes = keyboard.mKeyVisualAttributes;
126 mTopPadding = keyboard.mTopPadding;
127 mVerticalGap = keyboard.mVerticalGap;
129 mKeys = keyboard.mKeys;
130 mShiftKeys = keyboard.mShiftKeys;
131 mAltCodeKeysWhileTyping = keyboard.mAltCodeKeysWhileTyping;
132 mIconsSet = keyboard.mIconsSet;
134 mProximityInfo = keyboard.mProximityInfo;
135 mProximityCharsCorrectionEnabled = keyboard.mProximityCharsCorrectionEnabled;
142 // Note: The native code has the main keyboard layout only at this moment.
215 // Avoid dead pixels at edges of the keyboard