Lines Matching refs:virtualKey

3381         VirtualKey& virtualKey = mVirtualKeys.editTop();  in configureVirtualKeys()  local
3383 virtualKey.scanCode = virtualKeyDefinition.scanCode; in configureVirtualKeys()
3386 if (getEventHub()->mapKey(getDeviceId(), virtualKey.scanCode, 0, &keyCode, &flags)) { in configureVirtualKeys()
3388 virtualKey.scanCode); in configureVirtualKeys()
3393 virtualKey.keyCode = keyCode; in configureVirtualKeys()
3394 virtualKey.flags = flags; in configureVirtualKeys()
3400 virtualKey.hitLeft = (virtualKeyDefinition.centerX - halfWidth) in configureVirtualKeys()
3402 virtualKey.hitRight= (virtualKeyDefinition.centerX + halfWidth) in configureVirtualKeys()
3404 virtualKey.hitTop = (virtualKeyDefinition.centerY - halfHeight) in configureVirtualKeys()
3406 virtualKey.hitBottom = (virtualKeyDefinition.centerY + halfHeight) in configureVirtualKeys()
3416 const VirtualKey& virtualKey = mVirtualKeys.itemAt(i); in dumpVirtualKeys() local
3419 i, virtualKey.scanCode, virtualKey.keyCode, in dumpVirtualKeys()
3420 virtualKey.hitLeft, virtualKey.hitRight, in dumpVirtualKeys()
3421 virtualKey.hitTop, virtualKey.hitBottom); in dumpVirtualKeys()
3916 const VirtualKey* virtualKey = findVirtualKeyHit(pointer.x, pointer.y); in consumeRawTouches() local
3917 if (virtualKey && virtualKey->keyCode == mCurrentVirtualKey.keyCode) { in consumeRawTouches()
3949 const VirtualKey* virtualKey = findVirtualKeyHit(pointer.x, pointer.y); in consumeRawTouches() local
3950 if (virtualKey) { in consumeRawTouches()
3953 mCurrentVirtualKey.keyCode = virtualKey->keyCode; in consumeRawTouches()
3954 mCurrentVirtualKey.scanCode = virtualKey->scanCode; in consumeRawTouches()
3956 when, getDevice(), virtualKey->keyCode, virtualKey->scanCode); in consumeRawTouches()
5729 const VirtualKey& virtualKey = mVirtualKeys[i]; in findVirtualKeyHit() local
5735 virtualKey.keyCode, virtualKey.scanCode, in findVirtualKeyHit()
5736 virtualKey.hitLeft, virtualKey.hitTop, in findVirtualKeyHit()
5737 virtualKey.hitRight, virtualKey.hitBottom); in findVirtualKeyHit()
5740 if (virtualKey.isHit(x, y)) { in findVirtualKeyHit()
5741 return & virtualKey; in findVirtualKeyHit()
5942 const VirtualKey& virtualKey = mVirtualKeys[i]; in getKeyCodeState() local
5943 if (virtualKey.keyCode == keyCode) { in getKeyCodeState()
5958 const VirtualKey& virtualKey = mVirtualKeys[i]; in getScanCodeState() local
5959 if (virtualKey.scanCode == scanCode) { in getScanCodeState()
5971 const VirtualKey& virtualKey = mVirtualKeys[i]; in markSupportedKeyCodes() local
5974 if (virtualKey.keyCode == keyCodes[i]) { in markSupportedKeyCodes()