Home | History | Annotate | Download | only in gestures

Lines Matching refs:press

716   ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201),
718 DispatchEventUsingWindowDispatcher(&press);
774 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201),
776 press.set_radius_x(5);
777 press.set_radius_y(12);
778 DispatchEventUsingWindowDispatcher(&press);
817 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(365, 290),
819 press.set_radius_x(8);
820 press.set_radius_y(14);
821 DispatchEventUsingWindowDispatcher(&press);
858 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(46, 205),
860 press.set_radius_x(6);
861 press.set_radius_y(10);
862 DispatchEventUsingWindowDispatcher(&press);
915 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(400, 150),
917 press.set_radius_x(7);
918 press.set_radius_y(10);
919 DispatchEventUsingWindowDispatcher(&press);
1017 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201),
1019 DispatchEventUsingWindowDispatcher(&press);
1094 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(96, 196),
1096 DispatchEventUsingWindowDispatcher(&press);
1162 ui::TouchEvent press(ui::ET_TOUCH_PRESSED,
1166 DispatchEventUsingWindowDispatcher(&press);
1189 kTouchId, press.time_stamp() +
1212 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0),
1214 DispatchEventUsingWindowDispatcher(&press);
1257 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0),
1259 DispatchEventUsingWindowDispatcher(&press);
1304 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0),
1306 DispatchEventUsingWindowDispatcher(&press);
1330 // Check that appropriate touch events generate long press events
1360 // We haven't pressed long enough for a long press to occur
1381 // Check that scrolling cancels a long press
1408 // We haven't pressed long enough for a long press to occur
1412 // Scroll around, to cancel the long press
1456 // We haven't pressed long enough for a long press to occur
1478 // Check that second tap cancels a long press
1500 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201),
1502 DispatchEventUsingWindowDispatcher(&press);
1506 // We haven't pressed long enough for a long press to occur
1509 // Second tap, to cancel the long press
1521 // No long press occurred
1544 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0),
1546 DispatchEventUsingWindowDispatcher(&press);
1594 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0),
1596 DispatchEventUsingWindowDispatcher(&press);
1652 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201),
1654 DispatchEventUsingWindowDispatcher(&press);
1775 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201),
1777 DispatchEventUsingWindowDispatcher(&press);
1790 kTouchId1, press.time_stamp() +
1849 // Start all over. Press on the first window, then press again on the second
1850 // window. The second press should still go to the first window.
1971 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201),
1973 DispatchEventUsingWindowDispatcher(&press);
1989 // Press the second finger. It should cause pinch-begin. Note that we will not
2055 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 301),
2057 DispatchEventUsingWindowDispatcher(&press);
2117 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 301),
2119 DispatchEventUsingWindowDispatcher(&press);
2125 // Press the second finger far enough to break two finger tap.
2221 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, window_bounds[i].origin(),
2223 DispatchEventUsingWindowDispatcher(&press);
2238 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 500),
2240 press);
2299 // The second press should not have been locked to the same target as the
2352 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201),
2354 DispatchEventUsingWindowDispatcher(&press);
2386 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(15, 25), kTouchId1,
2392 DispatchEventUsingWindowDispatcher(&press);
2397 // Ack the press event.
2414 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(15, 25), kTouchId1,
2428 DispatchEventUsingWindowDispatcher(&press);
2435 // Ack the press and move events.
2528 // Generate two touch-press events on the window.
2567 // Tests that a press with the same touch id as an existing touch is ignored.
2579 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(45, 45), 7, tes.Now());
2580 press.set_radius_x(40);
2581 DispatchEventUsingWindowDispatcher(&press);
2590 // This new press should not generate a tap-down.
3075 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201),
3077 DispatchEventUsingWindowDispatcher(&press);
3078 // Scroll around, to cancel the long press
3128 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201),
3130 DispatchEventUsingWindowDispatcher(&press);
3292 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201),
3294 DispatchEventUsingWindowDispatcher(&press);
3700 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201),
3704 DispatchEventUsingWindowDispatcher(&press);
3738 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201),
3741 DispatchEventUsingWindowDispatcher(&press);
3753 gesture_recognizer->GetTouchLockedTarget(press));
3756 gesture_recognizer->GetTouchLockedTarget(press));
3762 // Check that appropriate touch events generate show press events
3788 // We haven't pressed long enough for a show press to occur
3807 // Check that scrolling cancels a show press
3835 // We haven't pressed long enough for a show press to occur
3839 // Scroll around, to cancel the show press
3854 // Test that show press events are sent immediately on tap
3873 // We haven't pressed long enough for a show press to occur
3896 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0),
3898 DispatchEventUsingWindowDispatcher(&press);
3955 // An additional press will allow us to pinch.
3991 ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0),
3993 DispatchEventUsingWindowDispatcher(&press);
4009 // Test that consuming the first move touch doesn't prevent a long press.
4060 ui::TouchEvent press(
4062 DispatchEventUsingWindowDispatcher(&press);
4341 // A delegate that deletes a window on long press.
4363 // Check that deleting the window in response to a long press gesture doesn't