Home
last modified time | relevance | path

Searched refs:radius_x (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/ui/events/gestures/
Dmotion_event_aura_unittest.cc42 float radius_x, in TouchWithTapParams() argument
51 radius_x, in TouchWithTapParams()
249 float radius_x; in TEST() local
254 radius_x = 123.45f; in TEST()
259 ET_TOUCH_PRESSED, ids[0], radius_x, radius_y, rotation_angle, pressure); in TEST()
263 EXPECT_FLOAT_EQ(radius_x, event.GetTouchMajor(0) / 2); in TEST()
268 radius_x = 67.89f; in TEST()
273 ET_TOUCH_PRESSED, ids[1], radius_x, radius_y, rotation_angle, pressure); in TEST()
278 EXPECT_FLOAT_EQ(radius_x, event.GetTouchMinor(1) / 2); in TEST()
289 EXPECT_FLOAT_EQ(radius_x, raw_clone_aura->GetTouchMinor(1) / 2); in TEST()
[all …]
Dmotion_event_aura.cc51 float radius_x = touch.radius_x(); in GetPointDataFromTouchEvent() local
54 DCHECK_GE(radius_x, 0) << "Unexpected x-radius < 0"; in GetPointDataFromTouchEvent()
59 if (radius_x > radius_y) { in GetPointDataFromTouchEvent()
63 point_data.touch_major = 2.f * radius_x; in GetPointDataFromTouchEvent()
68 point_data.touch_minor = 2.f * radius_x; in GetPointDataFromTouchEvent()
/external/chromium_org/ash/touch/
Dtouch_hud_debug.cc105 radius_x(touch.radius_x()), in TouchPointLog()
121 value->SetDouble("radius_x", radius_x); in GetAsDictionary()
134 float radius_x; member
443 float touch_radius = std::max(point->radius_x, point->radius_y); in UpdateTouchPointLabel()
Dtouch_uma.cc83 static_cast<int>(std::max(event.radius_x(), event.radius_y())), in RecordTouchEvent()
/external/chromium_org/ui/events/
Devent.h506 float radius_x,
514 float radius_x() const { return radius_x_; } in radius_x() function
528 void set_radius(float radius_x, float radius_y) { in set_radius() argument
529 radius_x_ = radius_x; in set_radius()
Devent.cc542 float radius_x, in TouchEvent() argument
548 radius_x_(radius_x), in TouchEvent()
/external/chromium_org/ui/events/ozone/
Devents_ozone.cc106 return event->radius_x(); in GetTouchRadiusX()
/external/chromium_org/content/browser/renderer_host/
Dui_events_helper.cc282 point->radiusX = std::max(1.f, event.radius_x()); in UpdateWebTouchEventFromUIEvent()
/external/chromium_org/content/shell/renderer/test_runner/
Devent_sender.cc1655 double radius_x; in AddTouchPoint() local
1656 if (!args->GetNext(&radius_x)) { in AddTouchPoint()
1661 double radius_y = radius_x; in AddTouchPoint()
1669 touch_point.radiusX = static_cast<float>(radius_x); in AddTouchPoint()
/external/chromium_org/ash/display/
Droot_window_transformers_unittest.cc60 touch_radius_x_ = event->radius_x(); in OnTouchEvent()
Ddisplay_controller_unittest.cc303 touch_radius_x_ = event->radius_x(); in OnTouchEvent()
/external/chromium_org/ui/events/ozone/evdev/
Dtouch_event_converter_evdev_unittest.cc184 EXPECT_FLOAT_EQ(1.5f, event->radius_x()); in TEST_F()