OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:usagecode
(Results
1 - 8
of
8
) sorted by null
/frameworks/native/libs/input/
KeyLayoutMap.cpp
84
status_t KeyLayoutMap::mapKey(int32_t scanCode, int32_t
usageCode
,
86
const Key* key = getKey(scanCode,
usageCode
);
89
ALOGD("mapKey: scanCode=%d,
usageCode
=0x%08x ~ Failed.", scanCode,
usageCode
);
100
ALOGD("mapKey: scanCode=%d,
usageCode
=0x%08x ~ Result keyCode=%d, outFlags=0x%08x.",
101
scanCode,
usageCode
, *outKeyCode, *outFlags);
106
const KeyLayoutMap::Key* KeyLayoutMap::getKey(int32_t scanCode, int32_t
usageCode
) const {
107
if (
usageCode
) {
108
ssize_t index = mKeysByUsageCode.indexOfKey(
usageCode
);
KeyCharacterMap.cpp
330
status_t KeyCharacterMap::mapKey(int32_t scanCode, int32_t
usageCode
, int32_t* outKeyCode) const {
331
if (
usageCode
) {
332
ssize_t index = mKeysByUsageCode.indexOfKey(
usageCode
);
335
ALOGD("mapKey: scanCode=%d,
usageCode
=0x%08x ~ Result keyCode=%d.",
336
scanCode,
usageCode
, *outKeyCode);
346
ALOGD("mapKey: scanCode=%d,
usageCode
=0x%08x ~ Result keyCode=%d.",
347
scanCode,
usageCode
, *outKeyCode);
355
ALOGD("mapKey: scanCode=%d,
usageCode
=0x%08x ~ Failed.", scanCode,
usageCode
);
[
all
...]
/frameworks/native/include/input/
KeyLayoutMap.h
67
status_t mapKey(int32_t scanCode, int32_t
usageCode
,
88
const Key* getKey(int32_t scanCode, int32_t
usageCode
) const;
KeyCharacterMap.h
125
status_t mapKey(int32_t scanCode, int32_t
usageCode
, int32_t* outKeyCode) const;
/frameworks/base/services/input/
EventHub.h
194
virtual status_t mapKey(int32_t deviceId, int32_t scanCode, int32_t
usageCode
,
280
virtual status_t mapKey(int32_t deviceId, int32_t scanCode, int32_t
usageCode
,
EventHub.cpp
449
status_t EventHub::mapKey(int32_t deviceId, int32_t scanCode, int32_t
usageCode
,
458
if (!kcm->mapKey(scanCode,
usageCode
, outKeycode)) {
467
scanCode,
usageCode
, outKeycode, outFlags)) {
[
all
...]
InputReader.cpp
[
all
...]
/frameworks/base/services/input/tests/
InputReader_test.cpp
406
void addKey(int32_t deviceId, int32_t scanCode, int32_t
usageCode
,
415
if (
usageCode
) {
416
device->keysByUsageCode.add(
usageCode
, info);
512
virtual status_t mapKey(int32_t deviceId, int32_t scanCode, int32_t
usageCode
,
516
const KeyInfo* key = getKey(device, scanCode,
usageCode
);
530
const KeyInfo* getKey(Device* device, int32_t scanCode, int32_t
usageCode
) const {
531
if (
usageCode
) {
532
ssize_t index = device->keysByUsageCode.indexOfKey(
usageCode
);
[
all
...]
Completed in 1559 milliseconds