Home
last modified time | relevance | path

Searched refs:touchInputElement (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/host/frontend/webrtc/html_client/js/
Dtouch.js19 function trackPointerEvents(touchInputElement, dc, scaleCoordinates) { argument
49 touchInputElement.addEventListener('pointerdown', onPointerDown);
50 touchInputElement.addEventListener('pointermove', onPointerMove);
51 touchInputElement.addEventListener('pointerup', onPointerUp);
52 touchInputElement.addEventListener('pointerleave', onPointerUp);
53 touchInputElement.addEventListener('pointercancel', onPointerUp);
75 function sendEventUpdate(dc, touchInputElement, evs /*[{x, y, id}]*/, scaleCoordinates, down) { argument
80 const device_label = touchInputElement.id;
86 const [x_scaled, y_scaled] = scaleCoordinates(touchInputElement, e.x, e.y);
Dapp.js1008 #addMouseTracking(touchInputElement, scaleCoordinates) { argument
1009 trackPointerEvents(touchInputElement, this.#deviceConnection, scaleCoordinates);