Flutter Engine
The Flutter Engine
Classes | Namespaces | Typedefs | Functions | Variables
fake_flatland_types.h File Reference
#include <fuchsia/math/cpp/fidl.h>
#include <fuchsia/ui/composition/cpp/fidl.h>
#include <fuchsia/ui/composition/cpp/fidl_test_base.h>
#include <fuchsia/ui/views/cpp/fidl.h>
#include <lib/fidl/cpp/binding.h>
#include <lib/fidl/cpp/interface_handle.h>
#include <lib/fidl/cpp/interface_ptr.h>
#include <lib/fidl/cpp/interface_request.h>
#include <zircon/types.h>
#include <algorithm>
#include <cfloat>
#include <cstdint>
#include <optional>
#include <unordered_map>
#include <variant>
#include <vector>
#include "flutter/fml/macros.h"

Go to the source code of this file.

Classes

struct  flutter_runner::testing::ViewTokenPair
 
struct  flutter_runner::testing::BufferCollectionTokenPair
 
struct  flutter_runner::testing::FakeView
 
struct  flutter_runner::testing::FakeViewport
 
struct  flutter_runner::testing::FakeImage
 
struct  flutter_runner::testing::FakeTransform
 
struct  flutter_runner::testing::FakeGraph
 

Namespaces

namespace  fuchsia
 
namespace  fuchsia::math
 
namespace  fuchsia::ui
 
namespace  fuchsia::ui::composition
 
namespace  flutter_runner
 
namespace  flutter_runner::testing
 

Typedefs

using flutter_runner::testing::FakeContent = std::variant< FakeViewport, FakeImage >
 

Functions

bool fuchsia::math::operator== (const fuchsia::math::SizeU &a, const fuchsia::math::SizeU &b)
 
bool fuchsia::math::operator== (const fuchsia::math::Inset &a, const fuchsia::math::Inset &b)
 
bool fuchsia::math::operator== (const fuchsia::math::Vec &a, const fuchsia::math::Vec &b)
 
bool fuchsia::math::operator== (const fuchsia::math::VecF &a, const fuchsia::math::VecF &b)
 
bool fuchsia::math::operator== (const fuchsia::math::Rect &a, const fuchsia::math::Rect &b)
 
bool fuchsia::math::operator== (const fuchsia::math::RectF &a, const fuchsia::math::RectF &b)
 
bool fuchsia::math::operator== (const std::optional< fuchsia::math::Rect > &a, const std::optional< fuchsia::math::Rect > &b)
 
bool fuchsia::ui::composition::operator== (const fuchsia::ui::composition::ContentId &a, const fuchsia::ui::composition::ContentId &b)
 
bool fuchsia::ui::composition::operator== (const fuchsia::ui::composition::TransformId &a, const fuchsia::ui::composition::TransformId &b)
 
bool fuchsia::ui::composition::operator== (const fuchsia::ui::composition::ViewportProperties &a, const fuchsia::ui::composition::ViewportProperties &b)
 
bool fuchsia::ui::composition::operator== (const fuchsia::ui::composition::ImageProperties &a, const fuchsia::ui::composition::ImageProperties &b)
 
bool fuchsia::ui::composition::operator== (const fuchsia::ui::composition::HitRegion &a, const fuchsia::ui::composition::HitRegion &b)
 
bool fuchsia::ui::composition::operator!= (const fuchsia::ui::composition::HitRegion &a, const fuchsia::ui::composition::HitRegion &b)
 
bool fuchsia::ui::composition::operator== (const std::vector< fuchsia::ui::composition::HitRegion > &a, const std::vector< fuchsia::ui::composition::HitRegion > &b)
 
template<typename ZX >
std::pair< zx_koid_t, zx_koid_t > flutter_runner::testing::GetKoids (const ZX &kobj)
 
template<typename F >
std::pair< zx_koid_t, zx_koid_t > flutter_runner::testing::GetKoids (const fidl::InterfaceHandle< F > &interface_handle)
 
template<typename F >
std::pair< zx_koid_t, zx_koid_t > flutter_runner::testing::GetKoids (const fidl::InterfaceRequest< F > &interface_request)
 
template<typename F >
std::pair< zx_koid_t, zx_koid_t > flutter_runner::testing::GetKoids (const fidl::InterfacePtr< F > &interface_ptr)
 
template<typename F >
std::pair< zx_koid_t, zx_koid_t > flutter_runner::testing::GetKoids (const fidl::Binding< F > &interface_binding)
 
std::pair< zx_koid_t, zx_koid_t > flutter_runner::testing::GetKoids (const fuchsia::ui::views::ViewCreationToken &view_token)
 
std::pair< zx_koid_t, zx_koid_t > flutter_runner::testing::GetKoids (const fuchsia::ui::views::ViewportCreationToken &viewport_token)
 
std::pair< zx_koid_t, zx_koid_t > flutter_runner::testing::GetKoids (const fuchsia::ui::views::ViewRef &view_ref)
 
std::pair< zx_koid_t, zx_koid_t > flutter_runner::testing::GetKoids (const fuchsia::ui::views::ViewRefControl &view_ref_control)
 
std::pair< zx_koid_t, zx_koid_t > flutter_runner::testing::GetKoids (const fuchsia::ui::composition::BufferCollectionExportToken &buffer_collection_token)
 
std::pair< zx_koid_t, zx_koid_t > flutter_runner::testing::GetKoids (const fuchsia::ui::composition::BufferCollectionImportToken &buffer_collection_token)
 

Variables

static constexpr fuchsia::ui::composition::TransformId flutter_runner::testing::kInvalidTransformId {0}
 
static constexpr fuchsia::ui::composition::ContentId flutter_runner::testing::kInvalidContentId {0}
 
static constexpr fuchsia::ui::composition::HitRegion flutter_runner::testing::kInfiniteHitRegion