Searched refs:touch_event (Results 1 – 7 of 7) sorted by relevance
843 CefTouchEvent touch_event; in OnTouchEvent() local860 touch_event.x = DeviceToLogical(point.x, device_scale_factor_); in OnTouchEvent()861 touch_event.y = DeviceToLogical(point.y, device_scale_factor_); in OnTouchEvent()864 touch_event.id = input[i].dwID; in OnTouchEvent()867 touch_event.type = CEF_TET_PRESSED; in OnTouchEvent()869 touch_event.type = CEF_TET_MOVED; in OnTouchEvent()871 touch_event.type = CEF_TET_RELEASED; in OnTouchEvent()874 touch_event.radius_x = 0; in OnTouchEvent()875 touch_event.radius_y = 0; in OnTouchEvent()876 touch_event.rotation_angle = 0; in OnTouchEvent()[all …]
1672 CefTouchEvent touch_event; in TouchEvent() local1675 touch_event.type = CEF_TET_PRESSED; in TouchEvent()1678 touch_event.type = CEF_TET_MOVED; in TouchEvent()1681 touch_event.type = CEF_TET_RELEASED; in TouchEvent()1687 touch_event.x = event->x; in TouchEvent()1688 touch_event.y = event->y; in TouchEvent()1689 touch_event.radius_x = 0; in TouchEvent()1690 touch_event.radius_y = 0; in TouchEvent()1691 touch_event.rotation_angle = 0; in TouchEvent()1692 touch_event.pressure = 0; in TouchEvent()[all …]
349 CefTouchEvent touch_event;352 touch_event.id = touch.identity.hash;353 touch_event.type = [self getTouchPhase:phase];375 touch_event.x = client::DeviceToLogical(device_x, device_scale_factor);376 touch_event.y = client::DeviceToLogical(device_y, device_scale_factor);378 touch_event.radius_x = 0;379 touch_event.radius_y = 0;381 touch_event.rotation_angle = 0;382 touch_event.pressure = 0;384 touch_event.modifiers = modifiers;[all …]
2647 struct libinput_event_touch *touch_event; in touch_notify_touch_down() local2652 touch_event = zalloc(sizeof *touch_event); in touch_notify_touch_down()2654 *touch_event = (struct libinput_event_touch) { in touch_notify_touch_down()2663 &touch_event->base); in touch_notify_touch_down()2673 struct libinput_event_touch *touch_event; in touch_notify_touch_motion() local2678 touch_event = zalloc(sizeof *touch_event); in touch_notify_touch_motion()2680 *touch_event = (struct libinput_event_touch) { in touch_notify_touch_motion()2689 &touch_event->base); in touch_notify_touch_motion()2698 struct libinput_event_touch *touch_event; in touch_notify_touch_up() local2703 touch_event = zalloc(sizeof *touch_event); in touch_notify_touch_up()[all …]
1099 CefTouchEvent touch_event; in OnPaint() local1100 touch_event.x = MiddleX(pointerdiv) - 45; in OnPaint()1101 touch_event.y = MiddleY(pointerdiv); in OnPaint()1102 touch_event.type = CEF_TET_PRESSED; in OnPaint()1103 touch_event.pointer_type = CEF_POINTER_TYPE_PEN; in OnPaint()1105 browser->GetHost()->SendTouchEvent(touch_event); in OnPaint()1107 touch_event.type = CEF_TET_MOVED; in OnPaint()1109 touch_event.x++; in OnPaint()1110 browser->GetHost()->SendTouchEvent(touch_event); in OnPaint()1113 touch_event.type = CEF_TET_RELEASED; in OnPaint()[all …]
1280 blink::WebTouchEvent touch_event = ui::CreateWebTouchEventFromMotionEvent( in SendTouchEvent() local1288 pointer_state_.MarkUnchangedTouchPointsAsStationary(&touch_event, event); in SendTouchEvent()1293 ui::LatencyInfo latency_info = CreateLatencyInfo(touch_event); in SendTouchEvent()1296 this, &touch_event, latency_info); in SendTouchEvent()1298 render_widget_host_->ForwardTouchEventWithLatencyInfo(touch_event, in SendTouchEvent()1303 touch_event.GetType() == blink::WebInputEvent::Type::kTouchEnd || in SendTouchEvent()1304 touch_event.GetType() == blink::WebInputEvent::Type::kTouchCancel; in SendTouchEvent()
16440 + cef::mojom::TouchEventParamsPtr touch_event =16442 + touch_event->x = event.x;16443 + touch_event->y = event.y;16444 + touch_event->width = event.radius_x;16445 + touch_event->height = event.radius_y;16448 + [](cef::mojom::TouchEventParamsPtr touch_event,16450 + render_frame->SendTouchEvent(std::move(touch_event));16452 + std::move(touch_event)));