Flutter Engine
The Flutter Engine
|
Namespaces | |
namespace | testing |
Classes | |
class | AccessibilityBridge |
struct | ActiveComponentV2 |
class | CompatTaskRunner |
class | ComponentV2 |
class | Engine |
class | ExternalViewEmbedder |
class | FileInNamespaceBuffer |
A mapping to a buffer for a file that has been loaded into a namespace. More... | |
class | FlatlandConnection |
class | FlutterRunnerProductConfiguration |
class | FocusDelegate |
class | IsolateConfigurator |
struct | IxnHasher |
class | Keyboard |
class | Overflow |
class | PlatformView |
class | PointerDelegate |
class | PointerInjectorDelegate |
struct | ProgramMetadata |
class | Runner |
class | SoftwareSurface |
class | SoftwareSurfaceProducer |
class | Surface |
class | SurfaceProducer |
class | SurfaceProducerSurface |
class | TextDelegate |
struct | UniqueFDIONSTraits |
class | VsyncWaiter |
struct | VulkanImage |
class | VulkanSurface |
class | VulkanSurfacePool |
class | VulkanSurfaceProducer |
Typedefs | |
using | ViewCallback = std::function< void()> |
using | ViewCreatedCallback = std::function< void(fuchsia::ui::composition::ContentId, fuchsia::ui::composition::ChildViewWatcherHandle child_view_watcher)> |
using | ViewIdCallback = std::function< void(fuchsia::ui::composition::ContentId)> |
using | on_frame_presented_event = std::function< void(fuchsia::scenic::scheduling::FramePresentedInfo)> |
using | OnEnableWireframeCallback = fit::function< void(bool)> |
using | OnUpdateViewCallback = fit::function< void(int64_t, SkRect, bool, bool)> |
using | OnCreateSurfaceCallback = fit::function< std::unique_ptr< flutter::Surface >()> |
using | OnSemanticsNodeUpdateCallback = fit::function< void(flutter::SemanticsNodeUpdates, float)> |
using | OnRequestAnnounceCallback = fit::function< void(std::string)> |
using | OnCreateViewCallback = fit::function< void(int64_t, ViewCallback, ViewCreatedCallback, bool, bool)> |
using | OnDestroyViewCallback = fit::function< void(int64_t, ViewIdCallback)> |
using | OnShaderWarmupCallback = std::function< void(const std::vector< std::string > &, std::function< void(uint32_t)>, uint64_t, uint64_t)> |
using | fup_EventPhase = fuchsia::ui::pointer::EventPhase |
using | fup_MouseDeviceInfo = fuchsia::ui::pointer::MouseDeviceInfo |
using | fup_MouseEvent = fuchsia::ui::pointer::MouseEvent |
using | fup_TouchEvent = fuchsia::ui::pointer::TouchEvent |
using | fup_TouchIxnStatus = fuchsia::ui::pointer::TouchInteractionStatus |
using | fup_TouchResponse = fuchsia::ui::pointer::TouchResponse |
using | fup_TouchResponseType = fuchsia::ui::pointer::TouchResponseType |
using | fup_ViewParameters = fuchsia::ui::pointer::ViewParameters |
using | fup_Config = fuchsia::ui::pointerinjector::Config |
using | fup_Context = fuchsia::ui::pointerinjector::Context |
using | fup_Data = fuchsia::ui::pointerinjector::Data |
using | fup_DeviceType = fuchsia::ui::pointerinjector::DeviceType |
using | fup_DispatchPolicy = fuchsia::ui::pointerinjector::DispatchPolicy |
using | fup_Event = fuchsia::ui::pointerinjector::Event |
using | fup_PointerSample = fuchsia::ui::pointerinjector::PointerSample |
using | fup_Target = fuchsia::ui::pointerinjector::Target |
using | fup_Viewport = fuchsia::ui::pointerinjector::Viewport |
using | fuv_ViewRef = fuchsia::ui::views::ViewRef |
using | ReleaseImageCallback = std::function< void()> |
using | UniqueFDIONS = fml::UniqueObject< fdio_ns_t *, UniqueFDIONSTraits > |
using | FireCallbackCallback = std::function< void(fml::TimePoint, fml::TimePoint)> |
using | AwaitVsyncCallback = std::function< void(FireCallbackCallback)> |
using | AwaitVsyncForSecondaryCallbackCallback = std::function< void(FireCallbackCallback)> |
Functions | |
static uint32_t | FlutterIdToFuchsiaId (int32_t flutter_node_id) |
static void | PrintNodeSizeError (uint32_t node_id) |
std::unique_ptr< fml::Mapping > | LoadFile (int namespace_fd, const char *path, bool executable) |
std::unique_ptr< fml::FileMapping > | MakeFileMapping (const char *path, bool executable) |
static void | Enqueue (zx::event fence, std::vector< zx::event > *fences, std::shared_ptr< Overflow > *overflow) |
fml::MallocMapping | MakeLocalizationPlatformMessageData (const Profile &intl_profile) |
fml::MallocMapping | MakeLocalizationPlatformMessageData (const fuchsia::intl::Profile &intl_profile) |
static flutter::PointerData::Change | GetChangeFromPointerEventPhase (fuchsia::ui::input::PointerEventPhase phase) |
static flutter::PointerData::DeviceKind | GetKindFromPointerType (fuchsia::ui::input::PointerEventType type) |
static trace_flow_id_t | PointerTraceHACK (float fa, float fb) |
static void | SetProcessName () |
static void | SetThreadName (const std::string &thread_name) |
static void | RegisterProfilerSymbols (const char *symbols_path, const char *dso_name) |
TEST (RunnerTZDataTest, LoadsWithoutTZDataPresent) | |
TEST (RunnerTZDataTest, LoadsWithTZDataPresent) | |
fml::RefPtr< fml::TaskRunner > | CreateFMLTaskRunner (async_dispatcher_t *dispatcher) |
static fuchsia::ui::input::InputMethodAction | IntoInputMethodAction (const std::string action_string) |
static const std::string | IntoTextInputAction (fuchsia::ui::input::InputMethodAction action) |
template<class T > | |
void | SetInterfaceErrorHandler (fidl::InterfacePtr< T > &interface, std::string name) |
template<class T > | |
void | SetInterfaceErrorHandler (fidl::Binding< T > &binding, std::string name) |
UniqueFDIONS | UniqueFDIONSCreate () |
TEST (VSyncWaiterFuchsia, FrameScheduledForStartTime) | |
static std::string | GetCurrentProcessName () |
static zx_koid_t | GetCurrentProcessId () |
Variables | |
static constexpr size_t | kMaxFences |
static constexpr fml::TimeDelta | kInitialFlatlandVsyncOffset |
static constexpr char | kFlutterPlatformChannel [] = "flutter/platform" |
static constexpr char | kAccessibilityChannel [] = "flutter/accessibility" |
static constexpr char | kFlutterPlatformViewsChannel [] = "flutter/platform_views" |
static constexpr char | kFuchsiaShaderWarmupChannel [] = "fuchsia/shader_warmup" |
static constexpr char | kFuchsiaInputTestChannel [] = "fuchsia/input_test" |
static constexpr char | kFuchsiaChildViewChannel [] = "fuchsia/child_view" |
static constexpr int64_t | kFlutterImplicitViewId = 0ll |
const auto | fup_MAX_INJECT = fuchsia::ui::pointerinjector::MAX_INJECT |
static constexpr char | kInputActionKey [] = "inputAction" |
static constexpr char | kTextInputActionDone [] = "TextInputAction.done" |
static constexpr char | kTextInputActionNewline [] = "TextInputAction.newline" |
static constexpr char | kTextInputActionGo [] = "TextInputAction.go" |
static constexpr char | kTextInputActionNext [] = "TextInputAction.next" |
static constexpr char | kTextInputActionPrevious [] = "TextInputAction.previous" |
static constexpr char | kTextInputActionNone [] = "TextInputAction.none" |
static constexpr char | kTextInputActionSearch [] = "TextInputAction.search" |
static constexpr char | kTextInputActionSend [] = "TextInputAction.send" |
static constexpr char | kTextInputActionUnspecified [] |
constexpr char | kTextInputChannel [] = "flutter/textinput" |
The channel name used for text editing platofrm messages. More... | |
constexpr char | kKeyEventChannel [] = "flutter/keyevent" |
The channel name used for key event platform messages. More... | |
Text editing functionality delegated from |PlatformView|. See |TextDelegate| for details.
using flutter_runner::AwaitVsyncCallback = typedef std::function<void(FireCallbackCallback)> |
Definition at line 22 of file vsync_waiter.h.
using flutter_runner::AwaitVsyncForSecondaryCallbackCallback = typedef std::function<void(FireCallbackCallback)> |
Definition at line 24 of file vsync_waiter.h.
using flutter_runner::FireCallbackCallback = typedef std::function<void(fml::TimePoint, fml::TimePoint)> |
Definition at line 19 of file vsync_waiter.h.
using flutter_runner::fup_Config = typedef fuchsia::ui::pointerinjector::Config |
Definition at line 10 of file pointer_injector_delegate.cc.
using flutter_runner::fup_Context = typedef fuchsia::ui::pointerinjector::Context |
Definition at line 11 of file pointer_injector_delegate.cc.
using flutter_runner::fup_Data = typedef fuchsia::ui::pointerinjector::Data |
Definition at line 12 of file pointer_injector_delegate.cc.
using flutter_runner::fup_DeviceType = typedef fuchsia::ui::pointerinjector::DeviceType |
Definition at line 13 of file pointer_injector_delegate.cc.
using flutter_runner::fup_DispatchPolicy = typedef fuchsia::ui::pointerinjector::DispatchPolicy |
Definition at line 14 of file pointer_injector_delegate.cc.
using flutter_runner::fup_Event = typedef fuchsia::ui::pointerinjector::Event |
Definition at line 15 of file pointer_injector_delegate.cc.
typedef fuchsia::ui::pointerinjector::EventPhase flutter_runner::fup_EventPhase |
Definition at line 29 of file pointer_delegate.cc.
using flutter_runner::fup_MouseDeviceInfo = typedef fuchsia::ui::pointer::MouseDeviceInfo |
Definition at line 30 of file pointer_delegate.cc.
using flutter_runner::fup_MouseEvent = typedef fuchsia::ui::pointer::MouseEvent |
Definition at line 31 of file pointer_delegate.cc.
using flutter_runner::fup_PointerSample = typedef fuchsia::ui::pointerinjector::PointerSample |
Definition at line 17 of file pointer_injector_delegate.cc.
using flutter_runner::fup_Target = typedef fuchsia::ui::pointerinjector::Target |
Definition at line 18 of file pointer_injector_delegate.cc.
using flutter_runner::fup_TouchEvent = typedef fuchsia::ui::pointer::TouchEvent |
Definition at line 32 of file pointer_delegate.cc.
using flutter_runner::fup_TouchIxnStatus = typedef fuchsia::ui::pointer::TouchInteractionStatus |
Definition at line 33 of file pointer_delegate.cc.
using flutter_runner::fup_TouchResponse = typedef fuchsia::ui::pointer::TouchResponse |
Definition at line 34 of file pointer_delegate.cc.
using flutter_runner::fup_TouchResponseType = typedef fuchsia::ui::pointer::TouchResponseType |
Definition at line 35 of file pointer_delegate.cc.
using flutter_runner::fup_ViewParameters = typedef fuchsia::ui::pointer::ViewParameters |
Definition at line 36 of file pointer_delegate.cc.
using flutter_runner::fup_Viewport = typedef fuchsia::ui::pointerinjector::Viewport |
Definition at line 19 of file pointer_injector_delegate.cc.
using flutter_runner::fuv_ViewRef = typedef fuchsia::ui::views::ViewRef |
Definition at line 20 of file pointer_injector_delegate.cc.
using flutter_runner::on_frame_presented_event = typedef std::function<void(fuchsia::scenic::scheduling::FramePresentedInfo)> |
Definition at line 41 of file flatland_connection.h.
using flutter_runner::OnCreateSurfaceCallback = typedef fit::function<std::unique_ptr<flutter::Surface>()> |
Definition at line 45 of file platform_view.h.
using flutter_runner::OnCreateViewCallback = typedef fit::function<void(int64_t, ViewCallback, ViewCreatedCallback, bool, bool)> |
Definition at line 50 of file platform_view.h.
using flutter_runner::OnDestroyViewCallback = typedef fit::function<void(int64_t, ViewIdCallback)> |
Definition at line 52 of file platform_view.h.
using flutter_runner::OnEnableWireframeCallback = typedef fit::function<void(bool)> |
Definition at line 42 of file platform_view.h.
using flutter_runner::OnRequestAnnounceCallback = typedef fit::function<void(std::string)> |
Definition at line 49 of file platform_view.h.
using flutter_runner::OnSemanticsNodeUpdateCallback = typedef fit::function<void(flutter::SemanticsNodeUpdates, float)> |
Definition at line 47 of file platform_view.h.
using flutter_runner::OnShaderWarmupCallback = typedef std::function<void(const std::vector<std::string>&, std::function<void(uint32_t)>, uint64_t, uint64_t)> |
Definition at line 57 of file platform_view.h.
using flutter_runner::OnUpdateViewCallback = typedef fit::function<void(int64_t, SkRect, bool, bool)> |
Definition at line 44 of file platform_view.h.
using flutter_runner::ReleaseImageCallback = typedef std::function<void()> |
Definition at line 21 of file surface_producer.h.
using flutter_runner::UniqueFDIONS = typedef fml::UniqueObject<fdio_ns_t*, UniqueFDIONSTraits> |
Definition at line 25 of file unique_fdio_ns.h.
typedef std::function< void()> flutter_runner::ViewCallback |
Definition at line 34 of file external_view_embedder.h.
using flutter_runner::ViewCreatedCallback = typedef std::function<void( fuchsia::ui::composition::ContentId, fuchsia::ui::composition::ChildViewWatcherHandle child_view_watcher)> |
Definition at line 35 of file external_view_embedder.h.
using flutter_runner::ViewIdCallback = typedef std::function<void(fuchsia::ui::composition::ContentId)> |
Definition at line 38 of file external_view_embedder.h.
fml::RefPtr< fml::TaskRunner > flutter_runner::CreateFMLTaskRunner | ( | async_dispatcher_t * | dispatcher | ) |
Definition at line 51 of file task_runner_adapter.cc.
|
static |
Definition at line 355 of file flatland_connection.cc.
|
static |
Definition at line 497 of file accessibility_bridge.cc.
|
static |
Definition at line 256 of file platform_view.cc.
|
static |
Definition at line 25 of file vulkan_surface_pool.cc.
|
static |
Definition at line 18 of file vulkan_surface_pool.cc.
|
static |
Definition at line 278 of file platform_view.cc.
|
static |
Definition at line 41 of file text_delegate.cc.
|
static |
Definition at line 70 of file text_delegate.cc.
std::unique_ptr< fml::Mapping > flutter_runner::LoadFile | ( | int | namespace_fd, |
const char * | path, | ||
bool | executable | ||
) |
Loads a file from |file_path| into the namespace |namespace_fd|, returning the mapping for that file.
The file will be loaded with the readable permission. If |executable| is true, the file will be also be loaded with the executable permission.
Definition at line 67 of file file_in_namespace_buffer.cc.
std::unique_ptr< fml::FileMapping > flutter_runner::MakeFileMapping | ( | const char * | path, |
bool | executable | ||
) |
Opens the file at |path| and creates a file mapping for the file.
The file will be opened with the readable permission. If |executable| is true, the file will also be opened with the executable permission.
Definition at line 75 of file file_in_namespace_buffer.cc.
fml::MallocMapping flutter_runner::MakeLocalizationPlatformMessageData | ( | const fuchsia::intl::Profile & | intl_profile | ) |
fml::MallocMapping flutter_runner::MakeLocalizationPlatformMessageData | ( | const Profile & | intl_profile | ) |
Definition at line 29 of file fuchsia_intl.cc.
|
static |
Definition at line 292 of file platform_view.cc.
|
static |
Definition at line 520 of file accessibility_bridge.cc.
|
static |
Definition at line 142 of file runner.cc.
|
static |
Definition at line 119 of file runner.cc.
|
static |
Definition at line 135 of file runner.cc.
flutter_runner::TEST | ( | RunnerTZDataTest | , |
LoadsWithoutTZDataPresent | |||
) |
Definition at line 15 of file runner_tzdata_missing_unittest.cc.
flutter_runner::TEST | ( | RunnerTZDataTest | , |
LoadsWithTZDataPresent | |||
) |
Definition at line 14 of file runner_tzdata_unittest.cc.
flutter_runner::TEST | ( | VSyncWaiterFuchsia | , |
FrameScheduledForStartTime | |||
) |
Definition at line 20 of file vsync_waiter_unittest.cc.
|
inline |
Definition at line 27 of file unique_fdio_ns.h.
const auto flutter_runner::fup_MAX_INJECT = fuchsia::ui::pointerinjector::MAX_INJECT |
Definition at line 21 of file pointer_injector_delegate.cc.
|
staticconstexpr |
Definition at line 52 of file platform_view.cc.
|
staticconstexpr |
Definition at line 57 of file platform_view.cc.
|
staticconstexpr |
Definition at line 51 of file platform_view.cc.
|
staticconstexpr |
Definition at line 53 of file platform_view.cc.
|
staticconstexpr |
Definition at line 56 of file platform_view.cc.
|
staticconstexpr |
Definition at line 55 of file platform_view.cc.
|
staticconstexpr |
Definition at line 54 of file platform_view.cc.
|
staticconstexpr |
Definition at line 46 of file flatland_connection.h.
|
staticconstexpr |
Definition at line 25 of file text_delegate.cc.
|
constexpr |
The channel name used for key event platform messages.
Definition at line 30 of file text_delegate.h.
|
staticconstexpr |
Definition at line 29 of file flatland_connection.h.
|
staticconstexpr |
Definition at line 29 of file text_delegate.cc.
|
staticconstexpr |
Definition at line 31 of file text_delegate.cc.
|
staticconstexpr |
Definition at line 30 of file text_delegate.cc.
|
staticconstexpr |
Definition at line 32 of file text_delegate.cc.
|
staticconstexpr |
Definition at line 34 of file text_delegate.cc.
|
staticconstexpr |
Definition at line 33 of file text_delegate.cc.
|
staticconstexpr |
Definition at line 35 of file text_delegate.cc.
|
staticconstexpr |
Definition at line 36 of file text_delegate.cc.
|
staticconstexpr |
Definition at line 37 of file text_delegate.cc.
|
constexpr |
The channel name used for text editing platofrm messages.
Definition at line 27 of file text_delegate.h.