Home | History | Annotate | Download | only in events

Lines Matching refs:press

548       // Press Search. Confirm the event is not rewritten.
553 // Press left Control. Confirm the event is not rewritten.
558 // Press right Control. Confirm the event is not rewritten.
563 // Press left Alt. Confirm the event is not rewritten.
568 // Press right Alt. Confirm the event is not rewritten.
591 // Press Alt with Shift. Confirm the event is not rewritten.
596 // Press Search with Caps Lock mask. Confirm the event is not rewritten.
606 // Press Shift+Ctrl+Alt+Search+A. Confirm the event is not rewritten.
634 // Press Alt with Shift. This key press shouldn't be affected by the
640 // Press Search. Confirm the event is now VKEY_UNKNOWN.
645 // Press Control. Confirm the event is now VKEY_UNKNOWN.
650 // Press Control+Search. Confirm the event is now VKEY_UNKNOWN
656 // Press Control+Search+a. Confirm the event is now VKEY_A without any
662 // Press Control+Search+Alt+a. Confirm the event is now VKEY_A only with
679 // Press left Alt. Confirm the event is now VKEY_CONTROL
685 // Press Alt+a. Confirm the event is now Control+a even though the Control
709 // Press Search. Confirm the event is now VKEY_CONTROL.
725 // Press Alt. Confirm the event is now VKEY_CONTROL.
730 // Press Alt+Search. Confirm the event is now VKEY_CONTROL.
735 // Press Control+Alt+Search. Confirm the event is now VKEY_CONTROL.
741 // Press Shift+Control+Alt+Search. Confirm the event is now Control with
748 // Press Shift+Control+Alt+Search+B. Confirm the event is now B with Shift
772 KeyTestCase tests[] = {// Press Search. Confirm the event is now VKEY_ESCAPE.
795 // Press Search. Confirm the event is now VKEY_MENU.
811 // Press left Alt. Confirm the event is now VKEY_CONTROL.
827 // Press left Control. Confirm the event is now VKEY_LWIN.
832 // Then, press all of the three, Control+Alt+Search.
839 // Press Shift+Control+Alt+Search.
846 // Press Shift+Control+Alt+Search+B
873 // Press Search.
891 // Press Search.
911 // Press Caps Lock (on an external keyboard).
1046 // Press CapsLock+a. Confirm that Mod3Mask is rewritten to ControlMask.
1052 // Press Control+CapsLock+a. Confirm that Mod3Mask is rewritten to
1058 // Press Alt+CapsLock+a. Confirm that Mod3Mask is rewritten to
1082 // Press CapsLock+a. Confirm that Mod3Mask is NOT rewritten to ControlMask
1569 // Send left control press.
1600 ui::TouchEvent press(
1602 press.set_flags(ui::EF_CONTROL_DOWN);
1605 rewriter.RewriteEvent(press, &new_event);
1712 ui::MouseEvent press(xev);
1714 EXPECT_EQ(ui::ET_MOUSE_PRESSED, press.type());
1715 EXPECT_EQ(ui::EF_LEFT_MOUSE_BUTTON | ui::EF_CONTROL_DOWN, press.flags());
1716 int flags = RewriteMouseEvent(&rewriter, press);
1736 ui::MouseEvent press(xev);
1738 EXPECT_EQ(ui::ET_MOUSE_PRESSED, press.type());
1739 EXPECT_EQ(kLeftAndAltFlag, press.flags());
1740 int flags = RewriteMouseEvent(&rewriter, press);
1757 ui::MouseEvent press(xev);
1758 int flags = RewriteMouseEvent(&rewriter, press);
1775 ui::MouseEvent press(xev);
1776 int flags = RewriteMouseEvent(&rewriter, press);