Searched refs:virtualKeyDefinition (Results 1 – 1 of 1) sorted by relevance
1071 for (const VirtualKeyDefinition& virtualKeyDefinition : virtualKeyDefinitions) { in configureVirtualKeys() local1074 virtualKey.scanCode = virtualKeyDefinition.scanCode; in configureVirtualKeys()1088 int32_t halfWidth = virtualKeyDefinition.width / 2; in configureVirtualKeys()1089 int32_t halfHeight = virtualKeyDefinition.height / 2; in configureVirtualKeys()1092 (virtualKeyDefinition.centerX - halfWidth) * touchScreenWidth / mSurfaceWidth + in configureVirtualKeys()1095 (virtualKeyDefinition.centerX + halfWidth) * touchScreenWidth / mSurfaceWidth + in configureVirtualKeys()1098 (virtualKeyDefinition.centerY - halfHeight) * touchScreenHeight / mSurfaceHeight + in configureVirtualKeys()1101 (virtualKeyDefinition.centerY + halfHeight) * touchScreenHeight / mSurfaceHeight + in configureVirtualKeys()