Lines Matching refs:keyboard
25 import com.android.inputmethod.keyboard.Key;
26 import com.android.inputmethod.keyboard.Keyboard;
27 import com.android.inputmethod.keyboard.KeyboardId;
82 * key based on the current keyboard state.
93 * @param keyboard The keyboard on which the key resides.
98 public String getDescriptionForKey(final Context context, final Keyboard keyboard,
103 final String description = getDescriptionForSwitchAlphaSymbol(context, keyboard);
110 return getDescriptionForShiftKey(context, keyboard);
116 return getDescriptionForActionKey(context, keyboard, key);
130 return getDescriptionForKeyCode(context, keyboard, key, shouldObscure);
138 * current keyboard context.
141 * @param keyboard The keyboard on which the key resides.
145 final Keyboard keyboard) {
146 final KeyboardId keyboardId = keyboard.mId;
169 Log.e(TAG, "Missing description for keyboard element ID:" + elementId);
179 * @param keyboard The keyboard on which the key resides.
182 private String getDescriptionForShiftKey(final Context context, final Keyboard keyboard) {
183 final KeyboardId keyboardId = keyboard.mId;
207 * @param keyboard The keyboard on which the key resides.
211 private String getDescriptionForActionKey(final Context context, final Keyboard keyboard,
213 final KeyboardId keyboardId = keyboard.mId;
263 * @param keyboard The keyboard on which the key resides.
268 private String getDescriptionForKeyCode(final Context context, final Keyboard keyboard,