class MockLocalHit

Defined at line 21 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.h

Public Methods

void ~MockLocalHit ()

Defined at line 25 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.h

fidl::InterfaceRequestHandler<fuchsia::ui::pointer::augment::LocalHit> GetHandler (async_dispatcher_t * dispatcher)

Defined at line 46 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.h

void Upgrade (fidl::InterfaceHandle<fuchsia::ui::pointer::TouchSource> original, fuchsia::ui::pointer::augment::LocalHit::UpgradeCallback callback)

|fuchsia::ui::pointer::augment::LocalHit|

Defined at line 55 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.h

fuchsia::ui::pointer::augment::TouchSourceWithLocalHitPtr NewTouchSource ()

Returns a bound touch source to this object.

Defined at line 61 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.h

void MockLocalHit ()

Defined at line 63 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.cc

void Watch (std::vector<fuchsia::ui::pointer::TouchResponse> responses, WatchCallback callback)

|fuchsia::ui::pointer::augment::TouchSourceWithLocalHit|

Defined at line 65 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.cc

void UpdateResponse (fuchsia::ui::pointer::TouchInteractionId interaction, fuchsia::ui::pointer::TouchResponse response, UpdateResponseCallback callback)

|fuchsia::ui::pointer::augment::TouchSourceWithLocalHit|

Defined at line 71 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.cc

uint32_t NumWatchCalls ()

Defined at line 76 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.cc

void SimulateEvents (std::vector<fuchsia::ui::pointer::augment::TouchEventWithLocalHit> events)

Defined at line 78 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.cc

std::vector<fuchsia::ui::pointer::TouchResponse> TakeResponses ()

Defined at line 84 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.cc

std::vector<std::pair<fuchsia::ui::pointer::TouchInteractionId, fuchsia::ui::pointer::TouchResponse>> TakeUpdatedResponses ()

Defined at line 86 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.cc

void EnqueueTapToEvents ()

Defined at line 90 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.cc

void SimulateEnqueuedEvents ()

Defined at line 100 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.cc

void SetViewRefKoidForTouchEvents (uint64_t view_ref_koid)

Configures the view ref koid that will be used to create fake touch events. This corresponds to

the view that would be hit by that event.

Defined at line 105 of file ../../src/ui/a11y/lib/view/tests/mocks/scenic_mocks.cc