Namespaces

Records

Functions

  • fuchsia::accessibility::semantics::Node CreateTestNode (uint32_t node_id, std::optional<std::string> label, std::vector<uint32_t> child_ids)

    Create a test node with only a node id and a label.

    Defined at line 16 of file ../../src/ui/a11y/bin/a11y_manager/tests/util/util.cc

  • std::vector<PointerParams> DownEvents (PointerId pointer_id, const glm::vec2 & coordinate)

    Defined at line 15 of file ../../src/ui/a11y/lib/testing/input.cc

  • std::vector<PointerParams> UpEvents (PointerId pointer_id, const glm::vec2 & coordinate)

    Defined at line 20 of file ../../src/ui/a11y/lib/testing/input.cc

  • std::vector<PointerParams> TapEvents (PointerId pointer_id, const glm::vec2 & coordinate)

    Defined at line 25 of file ../../src/ui/a11y/lib/testing/input.cc

  • template <typename T>
    std::vector<T> operator+ (const std::vector<T> & a, const std::vector<T> & b)

    The following could actually all be std::arrays and templates, but that may be overkill.

    Defined at line 31 of file ../../src/ui/a11y/lib/testing/input.h

  • std::vector<PointerParams> MoveEvents (PointerId pointer_id, const glm::vec2 & start, const glm::vec2 & end, size_t moves)

    Pointer move events between two endpoints, (start, end]. The start point is exclusive and the end

    point is inclusive, as move events signify where a pointer has moved to rather than where it has

    moved from.

    Defined at line 32 of file ../../src/ui/a11y/lib/testing/input.cc

  • template <typename T>
    std::vector<T> operator* (size_t n, const std::vector<T> & v)

    Defined at line 40 of file ../../src/ui/a11y/lib/testing/input.h

  • std::vector<PointerParams> DragEvents (PointerId pointer_id, const glm::vec2 & start, const glm::vec2 & end, size_t moves)

    Defined at line 44 of file ../../src/ui/a11y/lib/testing/input.cc

  • fuchsia::ui::input::accessibility::PointerEvent ToPointerEvent (const PointerParams & params, uint64_t event_time, zx_koid_t koid)

    Defined at line 50 of file ../../src/ui/a11y/lib/testing/input.cc

  • template <typename T = PointerParams>
    std::vector<T> Zip (const std::vector<std::vector<T>> & vv)

    Defined at line 51 of file ../../src/ui/a11y/lib/testing/input.h

  • ::fuchsia::math::PointF ToLocalCoordinates (const glm::vec2 & ndc)

    Defined at line 66 of file ../../src/ui/a11y/lib/testing/input.cc