Home | History | Annotate | Download | only in input

Lines Matching defs:Key

37  * Describes a mapping from Android key codes to characters.
39 * and key modifier semantics.
65 // Substitute key code and meta state for fallback action.
71 /* Loads a key character map from a file. */
74 /* Loads a key character map from its string contents. */
78 /* Combines a base key character map and an overlay. */
82 /* Returns an empty key character map. */
88 /* Gets the primary character for this key as in the label physically printed on it.
92 /* Gets the Unicode character for the number or symbol generated by the key
98 /* Gets the Unicode character generated by the key and meta key modifiers.
104 * handle the specified key.
110 /* Gets the first matching Unicode character that can be generated by the key,
111 * preferring the one with the specified meta key modifiers.
117 /* Gets a sequence of key events that could plausibly generate the specified
123 /* Maps a scan code and usage code to a key code, in case this key map overrides
128 /* Reads a key map from a parcel. */
131 /* Writes a key map to a parcel. */
146 /* The meta key modifiers for this behavior. */
152 /* The fallback keycode if the key is not handled. */
156 struct Key {
157 Key();
158 Key(const Key& other);
159 ~Key();
161 /* The single character label printed on the key, or 0 if none. */
164 /* The number or symbol character generated by the key, or 0 if none. */
167 /* The list of key behaviors sorted from most specific to least specific
168 * meta key binding. */
209 status_t finishKey(Key* key);
216 KeyedVector<int32_t, Key*> mKeys;
225 bool getKey(int32_t keyCode, const Key** outKey) const;
227 const Key** outKey, const Behavior** outBehavior) const;