Home | History | Annotate | Download | only in input

Lines Matching refs:Key

40  * Describes a mapping from Android key codes to characters.
42 * and key modifier semantics.
68 // Substitute key code and meta state for fallback action.
74 /* Loads a key character map from a file. */
77 /* Loads a key character map from its string contents. */
81 /* Combines a base key character map and an overlay. */
85 /* Returns an empty key character map. */
91 /* Gets the primary character for this key as in the label physically printed on it.
95 /* Gets the Unicode character for the number or symbol generated by the key
101 /* Gets the Unicode character generated by the key and meta key modifiers.
107 * handle the specified key.
113 /* Gets the first matching Unicode character that can be generated by the key,
114 * preferring the one with the specified meta key modifiers.
120 /* Gets a sequence of key events that could plausibly generate the specified
126 /* Maps a scan code and usage code to a key code, in case this key map overrides
130 /* Tries to find a replacement key code for a given key code and meta state
136 /* Reads a key map from a parcel. */
139 /* Writes a key map to a parcel. */
154 /* The meta key modifiers for this behavior. */
160 /* The fallback keycode if the key is not handled. */
163 /* The replacement keycode if the key has to be replaced outright. */
167 struct Key {
168 Key();
169 Key(const Key& other);
170 ~Key();
172 /* The single character label printed on the key, or 0 if none. */
175 /* The number or symbol character generated by the key, or 0 if none. */
178 /* The list of key behaviors sorted from most specific to least specific
179 * meta key binding. */
220 status_t finishKey(Key* key);
227 KeyedVector<int32_t, Key*> mKeys;
236 bool getKey(int32_t keyCode, const Key** outKey) const;
238 const Key** outKey, const Behavior** outBehavior) const;