Lines Matching refs:tap

146   bool tap() const { return tap_; }
645 // Check that appropriate touch events generate tap gesture events.
661 EXPECT_FALSE(delegate->tap());
677 // recognized as a tap.
683 EXPECT_TRUE(delegate->tap());
695 // Check that appropriate touch events generate tap gesture events
716 EXPECT_FALSE(delegate->tap());
726 // is recognized as a tap.
734 EXPECT_TRUE(delegate->tap());
759 EXPECT_FALSE(delegate->tap());
775 EXPECT_TRUE(delegate->tap());
800 EXPECT_FALSE(delegate->tap());
816 EXPECT_FALSE(delegate->tap());
832 EXPECT_TRUE(delegate->tap());
857 EXPECT_FALSE(delegate->tap());
872 EXPECT_FALSE(delegate->tap());
887 EXPECT_FALSE(delegate->tap());
902 EXPECT_FALSE(delegate->tap());
918 EXPECT_TRUE(delegate->tap());
1321 // Note the tap cancel isn't dispatched until the release
1323 EXPECT_FALSE(delegate->tap());
1367 // Check that appropriate touch events generate long tap events
1408 // Note the tap cancel isn't dispatched until the release
1410 EXPECT_FALSE(delegate->tap());
1413 // Check that second tap cancels a long press
1436 // Second tap, to cancel the long press
1441 EXPECT_FALSE(delegate->tap_down()); // no touch down for second tap.
1579 // First, tap. Then, do a scroll using the same touch-id.
1594 EXPECT_FALSE(delegate->tap());
1602 // recognized as a tap.
1607 EXPECT_TRUE(delegate->tap());
1615 // a double-tap.
1620 EXPECT_FALSE(delegate->tap());
1647 EXPECT_FALSE(delegate->tap());
1661 EXPECT_FALSE(delegate->tap());
1676 EXPECT_FALSE(delegate->tap());
1690 EXPECT_FALSE(delegate->tap());
1718 EXPECT_FALSE(queued_delegate->tap());
1727 // as a tap. However, this still should not create any gesture events.
1735 EXPECT_FALSE(queued_delegate->tap());
1745 // tap-down gesture.
1754 EXPECT_FALSE(delegate->tap());
1770 EXPECT_FALSE(queued_delegate->tap());
1782 EXPECT_TRUE(queued_delegate->tap());
1797 EXPECT_FALSE(queued_delegate->tap());
1813 EXPECT_FALSE(delegate->tap());
1821 EXPECT_FALSE(queued_delegate->tap());
1838 EXPECT_FALSE(delegate->tap());
1845 EXPECT_FALSE(queued_delegate->tap());
1855 EXPECT_FALSE(queued_delegate->tap());
1866 EXPECT_FALSE(queued_delegate->tap());
1867 EXPECT_FALSE(queued_delegate->tap_down()); // no touch down for second tap.
1880 EXPECT_FALSE(queued_delegate->tap());
1927 // transition to two finger tap here because the touch points are far enough.
2024 // Now the touch points are close. So we will go into two finger tap.
2025 // Move the touch-point enough to break two-finger-tap and enter pinch.
2056 // Press the second finger far enough to break two finger tap.
2118 EXPECT_FALSE(delegate->tap());
2288 EXPECT_FALSE(delegate->tap());
2510 // This new press should not generate a tap-down.
2556 // recognized as a tap.
2567 // recognized as a tap.
2609 // recognized as a tap.
2648 // is recognized as a tap.
2679 // is recognized as a tap.
2717 // is recognized as a tap.
2821 // is recognized as a tap.
2853 // is recognized as a tap.
2879 EXPECT_FALSE(delegate->tap());
2892 EXPECT_FALSE(delegate->tap());
2893 EXPECT_FALSE(delegate->tap_down()); // no touch down for second tap.
2906 EXPECT_FALSE(delegate->tap());
3011 EXPECT_FALSE(delegate->tap());
3023 EXPECT_FALSE(delegate->tap());
3033 // a tap.
3038 EXPECT_FALSE(delegate->tap());
3131 EXPECT_FALSE(delegate->tap());
3143 EXPECT_FALSE(delegate->tap());
3156 EXPECT_FALSE(delegate->tap());
3175 EXPECT_FALSE(delegate->tap());
3186 EXPECT_FALSE(delegate->tap());
3201 EXPECT_FALSE(delegate->tap());
3213 // Check that appropriate touch events generate double tap gesture events.
3225 // First tap (tested in GestureEventTap)
3234 // Second tap
3242 EXPECT_TRUE(delegate->tap());
3254 // Check that appropriate touch events generate triple tap gesture events.
3266 // First tap (tested in GestureEventTap)
3277 // Second tap (tested in GestureEventDoubleTap)
3288 // Third tap
3310 EXPECT_TRUE(delegate->tap());
3322 // Check that we don't get a double tap when the two taps are far apart.
3334 // First tap (tested in GestureEventTap)
3343 // Second tap, close in time but far in distance
3351 EXPECT_TRUE(delegate->tap());
3363 // Check that we don't get a double tap when the two taps have a long enough
3376 // First tap (tested in GestureEventTap)
3385 // Second tap, close in distance but after some delay
3393 EXPECT_TRUE(delegate->tap());
3452 EXPECT_FALSE(delegate->tap());
3516 // Ensure that move events which are preventDefaulted will cause a tap
3542 EXPECT_FALSE(delegate->tap());
3643 // Note the tap isn't dispatched until the release
3645 EXPECT_TRUE(delegate->tap());
3686 // Test that show press events are sent immediately on tap
3715 EXPECT_TRUE(delegate->tap());
3753 // Test that consuming the first move touch doesn't prevent a tap.
3779 EXPECT_TRUE(delegate->tap());
4258 EXPECT_TRUE(delegate->tap());