Home | History | Annotate | Download | only in inputflinger

Lines Matching refs:VirtualKey

3811         VirtualKey& virtualKey = mVirtualKeys.editTop();
3813 virtualKey.scanCode = virtualKeyDefinition.scanCode;
3817 if (getEventHub()->mapKey(getDeviceId(), virtualKey.scanCode, 0, 0,
3819 ALOGW(INDENT "VirtualKey %d: could not obtain key code, ignoring",
3820 virtualKey.scanCode);
3825 virtualKey.keyCode = keyCode;
3826 virtualKey.flags = flags;
3832 virtualKey.hitLeft = (virtualKeyDefinition.centerX - halfWidth)
3834 virtualKey.hitRight= (virtualKeyDefinition.centerX + halfWidth)
3836 virtualKey.hitTop = (virtualKeyDefinition.centerY - halfHeight)
3838 virtualKey.hitBottom = (virtualKeyDefinition.centerY + halfHeight)
3848 const VirtualKey& virtualKey = mVirtualKeys.itemAt(i);
3851 i, virtualKey.scanCode, virtualKey.keyCode,
3852 virtualKey.hitLeft, virtualKey.hitRight,
3853 virtualKey.hitTop, virtualKey.hitBottom);
4505 const VirtualKey* virtualKey = findVirtualKeyHit(pointer.x, pointer.y);
4506 if (virtualKey && virtualKey->keyCode == mCurrentVirtualKey.keyCode) {
4538 const VirtualKey* virtualKey = findVirtualKeyHit(pointer.x, pointer.y);
4539 if (virtualKey) {
4542 mCurrentVirtualKey.keyCode = virtualKey->keyCode;
4543 mCurrentVirtualKey.scanCode = virtualKey->scanCode;
4545 when, getDevice(), virtualKey->keyCode, virtualKey->scanCode);
6397 const TouchInputMapper::VirtualKey* TouchInputMapper::findVirtualKeyHit(
6401 const VirtualKey& virtualKey = mVirtualKeys[i];
6407 virtualKey.keyCode, virtualKey.scanCode,
6408 virtualKey.hitLeft, virtualKey.hitTop,
6409 virtualKey.hitRight, virtualKey.hitBottom);
6412 if (virtualKey.isHit(x, y)) {
6413 return & virtualKey;
6614 const VirtualKey& virtualKey = mVirtualKeys[i];
6615 if (virtualKey.keyCode == keyCode) {
6630 const VirtualKey& virtualKey = mVirtualKeys[i];
6631 if (virtualKey.scanCode == scanCode) {
6643 const VirtualKey& virtualKey = mVirtualKeys[i];
6646 if (virtualKey.keyCode == keyCodes[i]) {