Lines Matching full:virtualkey
3336 VirtualKey& virtualKey = mVirtualKeys.editTop();
3338 virtualKey.scanCode = virtualKeyDefinition.scanCode;
3341 if (getEventHub()->mapKey(getDeviceId(), virtualKey.scanCode, 0, &keyCode, &flags)) {
3342 ALOGW(INDENT "VirtualKey %d: could not obtain key code, ignoring",
3343 virtualKey.scanCode);
3348 virtualKey.keyCode = keyCode;
3349 virtualKey.flags = flags;
3355 virtualKey.hitLeft = (virtualKeyDefinition.centerX - halfWidth)
3357 virtualKey.hitRight= (virtualKeyDefinition.centerX + halfWidth)
3359 virtualKey.hitTop = (virtualKeyDefinition.centerY - halfHeight)
3361 virtualKey.hitBottom = (virtualKeyDefinition.centerY + halfHeight)
3371 const VirtualKey& virtualKey = mVirtualKeys.itemAt(i);
3374 i, virtualKey.scanCode, virtualKey.keyCode,
3375 virtualKey.hitLeft, virtualKey.hitRight,
3376 virtualKey.hitTop, virtualKey.hitBottom);
3859 const VirtualKey* virtualKey = findVirtualKeyHit(pointer.x, pointer.y);
3860 if (virtualKey && virtualKey->keyCode == mCurrentVirtualKey.keyCode) {
3892 const VirtualKey* virtualKey = findVirtualKeyHit(pointer.x, pointer.y);
3893 if (virtualKey) {
3896 mCurrentVirtualKey.keyCode = virtualKey->keyCode;
3897 mCurrentVirtualKey.scanCode = virtualKey->scanCode;
3899 when, getDevice(), virtualKey->keyCode, virtualKey->scanCode);
5646 const TouchInputMapper::VirtualKey* TouchInputMapper::findVirtualKeyHit(
5650 const VirtualKey& virtualKey = mVirtualKeys[i];
5656 virtualKey.keyCode, virtualKey.scanCode,
5657 virtualKey.hitLeft, virtualKey.hitTop,
5658 virtualKey.hitRight, virtualKey.hitBottom);
5661 if (virtualKey.isHit(x, y)) {
5662 return & virtualKey;
5863 const VirtualKey& virtualKey = mVirtualKeys[i];
5864 if (virtualKey.keyCode == keyCode) {
5879 const VirtualKey& virtualKey = mVirtualKeys[i];
5880 if (virtualKey.scanCode == scanCode) {
5892 const VirtualKey& virtualKey = mVirtualKeys[i];
5895 if (virtualKey.keyCode == keyCodes[i]) {