class TouchConformanceTest

Defined at line 117 of file ../../src/ui/tests/conformance_input_tests/touch-validator.cc

Protected Members

SyncClient fake_touch_screen_
uint32_t fake_touch_screen_device_id_
uint32_t display_width_
uint32_t display_height_

Public Methods

void ~TouchConformanceTest ()

Defined at line 120 of file ../../src/ui/tests/conformance_input_tests/touch-validator.cc

float DevicePixelRatio ()

Defined at line 122 of file ../../src/ui/tests/conformance_input_tests/touch-validator.cc

void SetUp ()

Defined at line 124 of file ../../src/ui/tests/conformance_input_tests/touch-validator.cc

void ExpectLocationAndPhase (const std::string & scoped_message, const futi::TouchInputListenerReportTouchInputRequest & e, float expected_pixel_ratio, double expected_x, double expected_y, fup::EventPhase expected_phase, const uint32_t expected_pointer_id)

TODO(https://fxbug.dev/42076606): Two coordinates (x/y) systems can differ in scale (size of

pixels).

Defined at line 162 of file ../../src/ui/tests/conformance_input_tests/touch-validator.cc

Protected Methods

int32_t display_width_as_int ()

Defined at line 180 of file ../../src/ui/tests/conformance_input_tests/touch-validator.cc

int32_t display_height_as_int ()

Defined at line 181 of file ../../src/ui/tests/conformance_input_tests/touch-validator.cc