class FlatlandTouchLocalHitIntegrationTest_InjectedInput_ShouldBeCorrectlyTransformed_Class

Defined at line 303 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_local_hit_integration_test.cc

In this test we set up three views beneath the root, 1 and its two children 2 and 3, giving us

the following topology:

1

/

\

// 2 3

Each view is sized as follows:

- view 1 is 7x7 pixels

- view 2 is 3x3 pixels

- view 3 is 3x3 pixels

Each view has a default hit region covering their entire View.

Each view is placed as follows: View 3 is placed above View 2, itself above View 1.

To exercise hit testing, the test performs a touch gesture diagonally across all views and

observe that the expected local hits are delivered. The display is much larger than view 1, and

we only exercise the top 8x8 region of the display.

1: View 1, 2: View 2, 3: View 3, x: No view, []: touch point

X ->

Y [1] 1 1 1 1 1 1 x

| 1 [2] 2 2 1 1 1 x

v 1 2 [2] 2 1 1 1 x

1 2 2 [3] 3 3 1 x

1 1 1 3 [3] 3 1 x

1 1 1 3 3 [3] 1 x

1 1 1 1 1 1 [1] x

x x x x x x x [x]

Public Methods

void FlatlandTouchLocalHitIntegrationTest_InjectedInput_ShouldBeCorrectlyTransformed_Class ()

Defined at line 303 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_local_hit_integration_test.cc

void ~FlatlandTouchLocalHitIntegrationTest_InjectedInput_ShouldBeCorrectlyTransformed_Class ()

Defined at line 303 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_local_hit_integration_test.cc