Home
last modified time | relevance | path

Searched refs:dart_state (Results 1 – 9 of 9) sorted by relevance

/third_party/flutter/engine/flutter/lib/ui/compositing/
Dscene_host.cc44 auto dart_state = closure.dart_state().lock(); in InvokeDartClosure() local
45 if (!dart_state) { in InvokeDartClosure()
49 tonic::DartState::Scope scope(dart_state); in InvokeDartClosure()
59 auto dart_state = function.dart_state().lock(); in InvokeDartFunction() local
60 if (!dart_state) { in InvokeDartFunction()
64 tonic::DartState::Scope scope(dart_state); in InvokeDartFunction()
138 auto dart_state = UIDartState::Current(); in SceneHost() local
142 view_connected_callback_.Set(dart_state, viewConnectedCallback); in SceneHost()
145 view_disconnected_callback_.Set(dart_state, viewDisconnectedCallback); in SceneHost()
148 view_state_changed_callback_.Set(dart_state, viewStateChangedCallback); in SceneHost()
/third_party/flutter/engine/flutter/lib/ui/window/
Dplatform_message_response_dart.cc66 std::shared_ptr<tonic::DartState> dart_state = in Complete() local
67 callback.dart_state().lock(); in Complete()
68 if (!dart_state) in Complete()
70 tonic::DartState::Scope scope(dart_state); in Complete()
84 std::shared_ptr<tonic::DartState> dart_state = in CompleteEmpty() local
85 callback.dart_state().lock(); in CompleteEmpty()
86 if (!dart_state) in CompleteEmpty()
88 tonic::DartState::Scope scope(dart_state); in CompleteEmpty()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dmulti_frame_codec.cc25 std::shared_ptr<tonic::DartState> dart_state = callback->dart_state().lock(); in InvokeNextFrameCallback() local
26 if (!dart_state) { in InvokeNextFrameCallback()
31 tonic::DartState::Scope scope(dart_state); in InvokeNextFrameCallback()
162 auto* dart_state = UIDartState::Current(); in getNextFrame() local
164 const auto& task_runners = dart_state->GetTaskRunners(); in getNextFrame()
171 context = dart_state->GetResourceContext()]() mutable { in getNextFrame()
Dsingle_frame_codec.cc36 auto dart_state = UIDartState::Current(); in getNextFrame() local
38 pending_callbacks_.emplace_back(dart_state, callback_handle); in getNextFrame()
46 auto decoder = dart_state->GetImageDecoder(); in getNextFrame()
63 auto state = codec->pending_callbacks_.front().dart_state().lock(); in getNextFrame()
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/
Dnatives.cc75 auto dart_state = tonic::DartState::Current(); in Initialize() local
77 new tonic::DartClassProvider(dart_state, "dart:zircon")); in Initialize()
78 dart_state->class_library().add_provider("zircon", in Initialize()
Dhandle.cc121 auto state = callback.dart_state().lock(); in ScheduleCallback()
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/fuchsia/sdk_ext/
Dfuchsia.cc114 auto dart_state = tonic::DartState::Current(); in Initialize() local
116 new tonic::DartClassProvider(dart_state, "dart:fuchsia")); in Initialize()
117 dart_state->class_library().add_provider("fuchsia", in Initialize()
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart_runner/
Ddart_component_controller.cc429 auto dart_state = tonic::DartState::Current(); in Main() local
430 if (!dart_state->has_set_return_code()) { in Main()
475 auto dart_state = tonic::DartState::Current(); in MessageEpilogue() local
479 if (dart_state->has_set_return_code()) { in MessageEpilogue()
/third_party/flutter/engine/flutter/ci/licenses_golden/
Dlicenses_third_party22457 FILE: ../../../third_party/tonic/dart_state.cc
22458 FILE: ../../../third_party/tonic/dart_state.h