• Home
  • Raw
  • Download

Lines Matching refs:int32_t

47     enum class KeyboardType : int32_t {
72 int32_t keyCode;
73 int32_t metaState;
98 char16_t getDisplayLabel(int32_t keyCode) const;
104 char16_t getNumber(int32_t keyCode) const;
109 char16_t getCharacter(int32_t keyCode, int32_t metaState) const;
115 bool getFallbackAction(int32_t keyCode, int32_t metaState,
122 char16_t getMatch(int32_t keyCode, const char16_t* chars,
123 size_t numChars, int32_t metaState) const;
128 bool getEvents(int32_t deviceId, const char16_t* chars, size_t numChars,
133 void addKeyRemapping(int32_t fromKeyCode, int32_t toKeyCode);
137 status_t mapKey(int32_t scanCode, int32_t usageCode, int32_t* outKeyCode) const;
140 int32_t applyKeyRemapping(int32_t fromKeyCode) const;
144 std::pair<int32_t /*keyCode*/, int32_t /*metaState*/> applyKeyBehavior(int32_t keyCode,
145 int32_t metaState) const;
162 int32_t metaState = 0;
168 int32_t fallbackKeyCode = 0;
171 int32_t replacementKeyCode = 0;
203 inline explicit Property(int32_t property = 0, int32_t metaState = 0) :
206 int32_t property;
207 int32_t metaState;
214 int32_t mKeyCode;
227 status_t parseModifier(const std::string& token, int32_t* outMetaState);
231 std::map<int32_t, Key> mKeys;
236 std::map<int32_t /* fromAndroidKeyCode */, int32_t /* toAndroidKeyCode */> mKeyRemapping;
237 std::map<int32_t /* fromScanCode */, int32_t /* toAndroidKeyCode */> mKeysByScanCode;
238 std::map<int32_t /* fromHidUsageCode */, int32_t /* toAndroidKeyCode */> mKeysByUsageCode;
242 const Key* getKey(int32_t keyCode) const;
243 const Behavior* getKeyBehavior(int32_t keyCode, int32_t metaState) const;
244 static bool matchesMetaState(int32_t eventMetaState, int32_t behaviorMetaState);
246 bool findKey(char16_t ch, int32_t* outKeyCode, int32_t* outMetaState) const;
249 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time);
251 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
252 int32_t* currentMetaState);
254 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
255 int32_t keyCode, int32_t keyMetaState,
256 int32_t* currentMetaState);
258 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
259 int32_t leftKeyCode, int32_t leftKeyMetaState,
260 int32_t rightKeyCode, int32_t rightKeyMetaState,
261 int32_t eitherKeyMetaState,
262 int32_t* currentMetaState);
264 int32_t deviceId, int32_t metaState, nsecs_t time,
265 int32_t keyCode, int32_t keyMetaState,
266 int32_t* currentMetaState);