• Home
  • Raw
  • Download

Lines Matching refs:virtualKey

3958         VirtualKey virtualKey;  in configureVirtualKeys()  local
3960 virtualKey.scanCode = virtualKeyDefinition.scanCode; in configureVirtualKeys()
3964 if (getEventHub()->mapKey(getDeviceId(), virtualKey.scanCode, 0, 0, in configureVirtualKeys()
3967 virtualKey.scanCode); in configureVirtualKeys()
3971 virtualKey.keyCode = keyCode; in configureVirtualKeys()
3972 virtualKey.flags = flags; in configureVirtualKeys()
3978 virtualKey.hitLeft = (virtualKeyDefinition.centerX - halfWidth) in configureVirtualKeys()
3980 virtualKey.hitRight= (virtualKeyDefinition.centerX + halfWidth) in configureVirtualKeys()
3982 virtualKey.hitTop = (virtualKeyDefinition.centerY - halfHeight) in configureVirtualKeys()
3984 virtualKey.hitBottom = (virtualKeyDefinition.centerY + halfHeight) in configureVirtualKeys()
3986 mVirtualKeys.push_back(virtualKey); in configureVirtualKeys()
3995 const VirtualKey& virtualKey = mVirtualKeys[i]; in dumpVirtualKeys() local
3998 i, virtualKey.scanCode, virtualKey.keyCode, in dumpVirtualKeys()
3999 virtualKey.hitLeft, virtualKey.hitRight, in dumpVirtualKeys()
4000 virtualKey.hitTop, virtualKey.hitBottom); in dumpVirtualKeys()
4670 const VirtualKey* virtualKey = findVirtualKeyHit(pointer.x, pointer.y); in consumeRawTouches() local
4671 if (virtualKey && virtualKey->keyCode == mCurrentVirtualKey.keyCode) { in consumeRawTouches()
4703 const VirtualKey* virtualKey = findVirtualKeyHit(pointer.x, pointer.y); in consumeRawTouches() local
4704 if (virtualKey) { in consumeRawTouches()
4707 mCurrentVirtualKey.keyCode = virtualKey->keyCode; in consumeRawTouches()
4708 mCurrentVirtualKey.scanCode = virtualKey->scanCode; in consumeRawTouches()
4710 when, getDevice(), virtualKey->keyCode, virtualKey->scanCode); in consumeRawTouches()
6597 for (const VirtualKey& virtualKey: mVirtualKeys) { in findVirtualKeyHit() local
6602 virtualKey.keyCode, virtualKey.scanCode, in findVirtualKeyHit()
6603 virtualKey.hitLeft, virtualKey.hitTop, in findVirtualKeyHit()
6604 virtualKey.hitRight, virtualKey.hitBottom); in findVirtualKeyHit()
6607 if (virtualKey.isHit(x, y)) { in findVirtualKeyHit()
6608 return & virtualKey; in findVirtualKeyHit()
6807 for (const VirtualKey& virtualKey : mVirtualKeys) { in getKeyCodeState() local
6808 if (virtualKey.keyCode == keyCode) { in getKeyCodeState()
6821 for (const VirtualKey& virtualKey : mVirtualKeys) { in getScanCodeState() local
6822 if (virtualKey.scanCode == scanCode) { in getScanCodeState()
6832 for (const VirtualKey& virtualKey : mVirtualKeys) { in markSupportedKeyCodes() local
6834 if (virtualKey.keyCode == keyCodes[i]) { in markSupportedKeyCodes()