Home
last modified time | relevance | path

Searched refs:gesture_params (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/content/common/input/
Dinput_param_traits.cc20 scoped_ptr<GestureType> gesture_params(new GestureType); in ReadGestureParams() local
21 if (!ReadParam(m, iter, gesture_params.get())) in ReadGestureParams()
24 return gesture_params.template PassAs<content::SyntheticGestureParams>(); in ReadGestureParams()
58 DCHECK(p.gesture_params()); in Write()
59 WriteParam(m, p.gesture_params()->GetGestureType()); in Write()
60 switch (p.gesture_params()->GetGestureType()) { in Write()
63 p.gesture_params())); in Write()
67 p.gesture_params())); in Write()
71 p.gesture_params())); in Write()
82 scoped_ptr<content::SyntheticGestureParams> gesture_params; in Read() local
[all …]
Dinput_param_traits_unittest.cc70 ASSERT_EQ(!!a->gesture_params(), !!b->gesture_params()); in Compare()
71 if (!a->gesture_params()) return; in Compare()
72 ASSERT_EQ(a->gesture_params()->GetGestureType(), in Compare()
73 b->gesture_params()->GetGestureType()); in Compare()
74 switch (a->gesture_params()->GetGestureType()) { in Compare()
76 Compare(SyntheticSmoothScrollGestureParams::Cast(a->gesture_params()), in Compare()
77 SyntheticSmoothScrollGestureParams::Cast(b->gesture_params())); in Compare()
80 Compare(SyntheticPinchGestureParams::Cast(a->gesture_params()), in Compare()
81 SyntheticPinchGestureParams::Cast(b->gesture_params())); in Compare()
84 Compare(SyntheticTapGestureParams::Cast(a->gesture_params()), in Compare()
[all …]
Dsynthetic_tap_gesture_params.cc27 const SyntheticGestureParams* gesture_params) { in Cast() argument
28 DCHECK(gesture_params); in Cast()
29 DCHECK_EQ(TAP_GESTURE, gesture_params->GetGestureType()); in Cast()
30 return static_cast<const SyntheticTapGestureParams*>(gesture_params); in Cast()
Dsynthetic_pinch_gesture_params.cc33 const SyntheticGestureParams* gesture_params) { in Cast() argument
34 DCHECK(gesture_params); in Cast()
35 DCHECK_EQ(PINCH_GESTURE, gesture_params->GetGestureType()); in Cast()
36 return static_cast<const SyntheticPinchGestureParams*>(gesture_params); in Cast()
Dsynthetic_smooth_scroll_gesture_params.cc36 const SyntheticGestureParams* gesture_params) { in Cast() argument
37 DCHECK(gesture_params); in Cast()
38 DCHECK_EQ(SMOOTH_SCROLL_GESTURE, gesture_params->GetGestureType()); in Cast()
39 return static_cast<const SyntheticSmoothScrollGestureParams*>(gesture_params); in Cast()
Dsynthetic_gesture_packet.h21 void set_gesture_params(scoped_ptr<SyntheticGestureParams> gesture_params) { in set_gesture_params() argument
22 gesture_params_ = gesture_params.Pass(); in set_gesture_params()
24 const SyntheticGestureParams* gesture_params() const { in gesture_params() function
Dsynthetic_tap_gesture_params.h27 const SyntheticGestureParams* gesture_params);
Dsynthetic_pinch_gesture_params.h30 const SyntheticGestureParams* gesture_params);
Dsynthetic_smooth_scroll_gesture_params.h31 const SyntheticGestureParams* gesture_params);
/external/chromium_org/content/browser/renderer_host/input/
Dsynthetic_gesture.cc18 const SyntheticGestureParams& gesture_params) { in CreateGesture() argument
20 new GestureType(*GestureParamsType::Cast(&gesture_params))); in CreateGesture()
30 const SyntheticGestureParams& gesture_params) { in Create() argument
31 switch (gesture_params.GetGestureType()) { in Create()
34 SyntheticSmoothScrollGestureParams>(gesture_params); in Create()
37 SyntheticPinchGestureParams>(gesture_params); in Create()
40 SyntheticTapGestureParams>(gesture_params); in Create()
Dsynthetic_gesture.h35 const SyntheticGestureParams& gesture_params);
/external/chromium_org/content/renderer/gpu/
Dgpu_benchmarking_extension.cc536 scoped_ptr<SyntheticSmoothScrollGestureParams> gesture_params( in BeginSmoothScroll() local
548 gesture_params->gesture_source_type = in BeginSmoothScroll()
557 gesture_params->distance.set_y(distance); in BeginSmoothScroll()
559 gesture_params->distance.set_y(-distance); in BeginSmoothScroll()
561 gesture_params->distance.set_x(distance); in BeginSmoothScroll()
563 gesture_params->distance.set_x(-distance); in BeginSmoothScroll()
569 gesture_params->speed_in_pixels_s = args[4]->IntegerValue(); in BeginSmoothScroll()
570 gesture_params->prevent_fling = args[5]->BooleanValue(); in BeginSmoothScroll()
575 gesture_params->anchor.SetPoint(rect.width / 2, rect.height / 2); in BeginSmoothScroll()
577 gesture_params->anchor.SetPoint( in BeginSmoothScroll()
[all …]
/external/chromium_org/content/renderer/
Drender_widget.h186 scoped_ptr<SyntheticGestureParams> gesture_params,
Drender_widget.cc2021 scoped_ptr<SyntheticGestureParams> gesture_params, in QueueSyntheticGesture() argument
2028 gesture_packet.set_gesture_params(gesture_params.Pass()); in QueueSyntheticGesture()
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_impl.cc1714 SyntheticGesture::Create(*gesture_packet.gesture_params())); in OnQueueSyntheticGesture()