Home
last modified time | relevance | path

Searched refs:tap_count (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/ui/events/
Dgesture_event_details.h105 int tap_count() const { in tap_count() function
109 return data.tap_count; in tap_count()
112 void set_tap_count(int tap_count) { in set_tap_count()
113 DCHECK_GE(tap_count, 0); in set_tap_count()
117 data.tap_count = tap_count; in set_tap_count()
159 int tap_count; // TAP repeat count. member
Dgesture_event_details.cc54 data.tap_count = static_cast<int>(delta_x); in GestureEventDetails()
/external/chromium_org/ui/events/gestures/
Dgesture_provider_aura.cc66 int tap_count = 1; in OnGestureEvent() local
68 tap_count = 1 + (previous_tap_->details.tap_count() % 3); in OnGestureEvent()
69 details.set_tap_count(tap_count); in OnGestureEvent()
Dgesture_sequence.cc935 int tap_count, in AppendClickGestureEvent() argument
940 GestureEventDetails(ui::ET_GESTURE_TAP, tap_count, 0), in AppendClickGestureEvent()
1117 int tap_count = 1; in Click() local
1119 tap_count = 3; in Click()
1121 tap_count = 2; in Click()
1122 if (tap_count == 1 && GetShowPressTimer()->IsRunning()) { in Click()
1126 AppendClickGestureEvent(point, tap_count, gestures); in Click()
Dgesture_sequence.h120 int tap_count,
/external/chromium_org/content/browser/renderer_host/input/
Dweb_input_event_util.cc254 DCHECK_EQ(1, data.details.tap_count()); in CreateWebGestureEventFromGestureEventData()
255 gesture.data.tap.tapCount = data.details.tap_count(); in CreateWebGestureEventFromGestureEventData()
261 DCHECK_EQ(1, data.details.tap_count()); in CreateWebGestureEventFromGestureEventData()
262 gesture.data.tap.tapCount = data.details.tap_count(); in CreateWebGestureEventFromGestureEventData()
268 DCHECK_EQ(1, data.details.tap_count()); in CreateWebGestureEventFromGestureEventData()
269 gesture.data.tap.tapCount = data.details.tap_count(); in CreateWebGestureEventFromGestureEventData()
/external/chromium_org/ash/touch/
Dtouch_uma.cc130 int tap_count = gesture.details().tap_count(); in UMAEventTypeFromEvent() local
131 if (tap_count == 1) in UMAEventTypeFromEvent()
133 if (tap_count == 2) in UMAEventTypeFromEvent()
135 if (tap_count == 3) in UMAEventTypeFromEvent()
137 NOTREACHED() << "Received tap with tapcount " << tap_count; in UMAEventTypeFromEvent()
/external/chromium_org/ash/wm/panels/
Dpanel_window_event_handler.cc43 event->details().tap_count() == 2 && in OnGestureEvent()
/external/chromium_org/content/browser/web_contents/
Dtouch_editable_impl_aura.cc151 if (gesture_event->details().tap_count() == 1 && in HandleInputEvent()
167 if (gesture_event->details().tap_count() == 1 && in HandleInputEvent()
/external/chromium_org/ash/wm/workspace/
Dworkspace_event_handler.cc97 if (event->details().tap_count() != 2) { in OnGestureEvent()
/external/chromium_org/content/shell/renderer/test_runner/
Devent_sender.cc1928 float tap_count; in GestureEvent() local
1929 if (!args->GetNext(&tap_count)) { in GestureEvent()
1933 event.data.tap.tapCount = tap_count; in GestureEvent()
1943 float tap_count; in GestureEvent() local
1944 if (!args->GetNext(&tap_count)) { in GestureEvent()
1948 event.data.tap.tapCount = tap_count; in GestureEvent()
/external/chromium_org/ui/aura/gestures/
Dgesture_recognizer_unittest.cc189 int tap_count() const { return tap_count_; } in tap_count() function in aura::test::__anon1840509e0111::GestureEventConsumeDelegate
207 tap_count_ = gesture->details().tap_count(); in OnGestureEvent()
750 EXPECT_EQ(1, delegate->tap_count()); in TEST_P()
806 EXPECT_EQ(1, delegate->tap_count()); in TEST_P()
847 EXPECT_EQ(1, delegate->tap_count()); in TEST_P()
904 EXPECT_EQ(1, delegate->tap_count()); in TEST_P()
990 EXPECT_EQ(1, delegate->tap_count()); in TEST_P()
3411 EXPECT_EQ(2, delegate->tap_count()); in TEST_P()
3434 EXPECT_EQ(1, delegate->tap_count()); in TEST_P()
3445 EXPECT_EQ(2, delegate->tap_count()); in TEST_P()
[all …]
/external/chromium_org/content/browser/renderer_host/
Dui_events_helper.cc152 gesture_event.data.tap.tapCount = event.details().tap_count(); in MakeWebGestureEventFromUIEvent()
/external/chromium_org/chrome/browser/ui/views/
Ddesktop_media_picker_views.cc348 event->details().tap_count() == 2) { in OnGestureEvent()
/external/chromium_org/ui/events/gesture_detection/
Dgesture_provider_unittest.cc421 EXPECT_EQ(1, GetMostRecentGestureEvent().details.tap_count()); in TEST_F()
454 EXPECT_EQ(1, GetMostRecentGestureEvent().details.tap_count()); in TEST_F()
669 EXPECT_EQ(1, double_tap.details.tap_count()); in TEST_F()
/external/chromium_org/ui/views/controls/tree/
Dtree_view.cc661 should_toggle = gesture.details().tap_count() == 2; in OnClickOrTap()
/external/chromium_org/ui/views/controls/textfield/
Dtextfield.cc707 if (event->details().tap_count() == 1) { in OnGestureEvent()