Searched refs:virtualKeyDefinition (Results 1 – 1 of 1) sorted by relevance
1060 for (const VirtualKeyDefinition& virtualKeyDefinition : virtualKeyDefinitions) { in configureVirtualKeys() local1063 virtualKey.scanCode = virtualKeyDefinition.scanCode; in configureVirtualKeys()1077 int32_t halfWidth = virtualKeyDefinition.width / 2; in configureVirtualKeys()1078 int32_t halfHeight = virtualKeyDefinition.height / 2; in configureVirtualKeys()1081 (virtualKeyDefinition.centerX - halfWidth) * touchScreenWidth / mRawSurfaceWidth + in configureVirtualKeys()1084 (virtualKeyDefinition.centerX + halfWidth) * touchScreenWidth / mRawSurfaceWidth + in configureVirtualKeys()1086 virtualKey.hitTop = (virtualKeyDefinition.centerY - halfHeight) * touchScreenHeight / in configureVirtualKeys()1089 virtualKey.hitBottom = (virtualKeyDefinition.centerY + halfHeight) * touchScreenHeight / in configureVirtualKeys()