Home
last modified time | relevance | path

Searched refs:cancelTask (Results 1 - 12 of 12) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dcustom_dialog_controller_model_impl.cpp28 DialogProperties& dialogProperties, bool& pending, bool& isShown, std::function<void()>&& cancelTask, in NotifyDialogOperation()
43 CloseDialog(dialogProperties, pending, isShown, std::move(cancelTask), dialogComponent, customDialog, in NotifyDialogOperation()
59 ShowDialog(dialogProperties, pending, isShown, std::move(cancelTask), dialogComponent, customDialog, in NotifyDialogOperation()
68 std::function<void()>&& cancelTask, RefPtr<AceType>& dialogComponent, RefPtr<AceType>& customDialog, in ShowDialog()
93 dialogProperties.callbacks.try_emplace("cancel", EventMarker(std::move(cancelTask))); in ShowDialog()
118 auto task = [context, showDialogProperties = dialogProperties, &dialogProperties, &pending, &isShown, &cancelTask, in ShowDialog()
126 std::move(cancelTask), dialogComponent, customDialog, dialogOperation); in ShowDialog()
144 std::function<void()>&& cancelTask, RefPtr<AceType>& dialogComponent, RefPtr<AceType>& customDialog, in CloseDialog()
187 auto task = [lastStack, showDialogComponent = dialogComponent, &dialogProperties, &pending, &isShown, &cancelTask, in CloseDialog()
192 std::move(cancelTask), dialogComponen in CloseDialog()
27 NotifyDialogOperation(DialogOperation operation, DialogProperties& dialogProperties, bool& pending, bool& isShown, std::function<void()>&& cancelTask, RefPtr<AceType>& dialogComponent, RefPtr<AceType>& customDialog, std::list<DialogOperation>& dialogOperation) NotifyDialogOperation() argument
67 ShowDialog(DialogProperties& dialogProperties, bool& pending, bool& isShown, std::function<void()>&& cancelTask, RefPtr<AceType>& dialogComponent, RefPtr<AceType>& customDialog, std::list<DialogOperation>& dialogOperation) ShowDialog() argument
143 CloseDialog(DialogProperties& dialogProperties, bool& pending, bool& isShown, std::function<void()>&& cancelTask, RefPtr<AceType>& dialogComponent, RefPtr<AceType>& customDialog, std::list<DialogOperation>& dialogOperation) CloseDialog() argument
222 SetOpenDialog(DialogProperties& dialogProperties, const WeakPtr<AceType>& controller, std::vector<WeakPtr<AceType>>& dialogs, bool& pending, bool& isShown, std::function<void()>&& cancelTask, std::function<void()>&& buildFunc, RefPtr<AceType>& dialogComponent, RefPtr<AceType>& customDialog, std::list<DialogOperation>& dialogOperation) SetOpenDialog() argument
242 SetCloseDialog(DialogProperties& dialogProperties, const WeakPtr<AceType>& controller, std::vector<WeakPtr<AceType>>& dialogs, bool& pending, bool& isShown, std::function<void()>&& cancelTask, RefPtr<AceType>& dialogComponent, RefPtr<AceType>& customDialog, std::list<DialogOperation>& dialogOperation) SetCloseDialog() argument
[all...]
H A Dcustom_dialog_controller_model_impl.h25 std::vector<WeakPtr<AceType>>& dialogs, bool& pending, bool& isShown, std::function<void()>&& cancelTask,
29 std::vector<WeakPtr<AceType>>& dialogs, bool& pending, bool& isShown, std::function<void()>&& cancelTask,
35 std::function<void()>&& cancelTask, RefPtr<AceType>& dialogComponent, RefPtr<AceType>& customDialog,
38 std::function<void()>&& cancelTask, RefPtr<AceType>& dialogComponent, RefPtr<AceType>& customDialog,
41 bool& isShown, std::function<void()>&& cancelTask, RefPtr<AceType>& dialogComponent,
/foundation/multimedia/player_framework/services/services/player/server/
H A Dplayer_server_task_mgr.h51 const std::string &taskName, const std::shared_ptr<ITaskHandler> &cancelTask = nullptr);
52 int32_t SeekTask(const std::shared_ptr<ITaskHandler> &task, const std::shared_ptr<ITaskHandler> &cancelTask,
54 int32_t SpeedTask(const std::shared_ptr<ITaskHandler> &task, const std::shared_ptr<ITaskHandler> &cancelTask,
70 std::shared_ptr<ITaskHandler> cancelTask; member
H A Dplayer_server_task_mgr.cpp74 const std::string &taskName, const std::shared_ptr<ITaskHandler> &cancelTask) in LaunchTask()
85 (void)cancelTask; in LaunchTask()
106 const std::shared_ptr<ITaskHandler> &cancelTask, in SpeedTask()
127 PlayerServerTaskType::RATE_CHANGE, task, cancelTask, taskName, -1, -1, speedMode in SpeedTask()
147 const std::shared_ptr<ITaskHandler> &cancelTask, in SeekTask()
167 PlayerServerTaskType::CANCEL_TASK, task, cancelTask, taskName, seekMode, seekTime in SeekTask()
172 PlayerServerTaskType::SEEKING, task, cancelTask, taskName, seekMode, seekTime in SeekTask()
212 currTwoPhaseTask_ = item.cancelTask; in MarkTaskDone()
73 LaunchTask(const std::shared_ptr<ITaskHandler> &task, PlayerServerTaskType type, const std::string &taskName, const std::shared_ptr<ITaskHandler> &cancelTask) LaunchTask() argument
105 SpeedTask(const std::shared_ptr<ITaskHandler> &task, const std::shared_ptr<ITaskHandler> &cancelTask, const std::string &taskName, int32_t speedMode) SpeedTask() argument
146 SeekTask(const std::shared_ptr<ITaskHandler> &task, const std::shared_ptr<ITaskHandler> &cancelTask, const std::string &taskName, int32_t seekMode, int32_t seekTime) SeekTask() argument
H A Dplayer_server.cpp460 auto cancelTask = std::make_shared<TaskHandler<void>>([this]() { in HandlePrepare() local
465 (void)taskMgr_.SpeedTask(rateTask, cancelTask, "prepare-speed", config_.speedMode); in HandlePrepare()
816 auto cancelTask = std::make_shared<TaskHandler<void>>([this, mSeconds]() { in Seek() local
823 int32_t ret = taskMgr_.SeekTask(seekTask, cancelTask, "seek", mode, mSeconds); in Seek()
1046 auto cancelTask = std::make_shared<TaskHandler<void>>([this, mode]() { in SetPlaybackSpeed() local
1053 int ret = taskMgr_.SpeedTask(rateTask, cancelTask, "speed", config_.speedMode); in SetPlaybackSpeed()
1135 auto cancelTask = std::make_shared<TaskHandler<void>>([this]() { in HandleEos() local
1141 int32_t ret = taskMgr_.SeekTask(seekTask, cancelTask, "eos seek", SEEK_PREVIOUS_SYNC, 0); in HandleEos()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Dcustom_dialog_controller_model.h35 std::vector<WeakPtr<AceType>>& dialogs, bool& pending, bool& isShown, std::function<void()>&& cancelTask,
39 std::vector<WeakPtr<AceType>>& dialogs, bool& pending, bool& isShown, std::function<void()>&& cancelTask,
H A Dcustom_dialog_controller_model_ng.h27 std::vector<WeakPtr<AceType>>& dialogs, bool& pending, bool& isShown, std::function<void()>&& cancelTask,
33 std::vector<WeakPtr<AceType>>& dialogs, bool& pending, bool& isShown, std::function<void()>&& cancelTask,
H A Dcustom_dialog_controller_model_ng.cpp20 bool& pending, bool& isShown, std::function<void()>&& cancelTask, std::function<void()>&& buildFunc, in SetOpenDialog()
142 bool& pending, bool& isShown, std::function<void()>&& cancelTask, RefPtr<AceType>& dialogComponent, in SetCloseDialog()
18 SetOpenDialog(DialogProperties& dialogProperties, const WeakPtr<AceType>& controller, std::vector<WeakPtr<AceType>>& dialogs, bool& pending, bool& isShown, std::function<void()>&& cancelTask, std::function<void()>&& buildFunc, RefPtr<AceType>& dialogComponent, RefPtr<AceType>& customDialog, std::list<DialogOperation>& dialogOperation) SetOpenDialog() argument
140 SetCloseDialog(DialogProperties& dialogProperties, const WeakPtr<AceType>& controller, std::vector<WeakPtr<AceType>>& dialogs, bool& pending, bool& isShown, std::function<void()>&& cancelTask, RefPtr<AceType>& dialogComponent, RefPtr<AceType>& customDialog, std::list<DialogOperation>& dialogOperation) SetCloseDialog() argument
/foundation/window/window_manager/window_scene/test/unittest/
H A Dws_ffrt_helper_test.cpp150 auto cancelTask = [] { in HWTEST_F() local
157 GTEST_RUN_TASK(cancelTask); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_customdialog_controller_ffi.cpp137 auto cancelTask = ([cancelCallback = cancelFunction_, node = frameNode, context = pipelineContext]() { in OpenDialog() local
161 dialogs_, pending_, isShown_, std::move(cancelTask), std::move(buildFunc), dialogComponent_, customDialog_, in OpenDialog()
175 auto cancelTask = ([cancelCallback = cancelFunction_, node = frameNode]() { in CloseDialog() local
185 dialogs_, pending_, isShown_, std::move(cancelTask), dialogComponent_, customDialog_, dialogOperation_); in CloseDialog()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/dialog/
H A Djs_custom_dialog_controller.cpp276 auto cancelTask = ([cancelCallback = jsCancelFunction_, node = frameNode, context = pipelineContext]() { in JsOpenDialog() local
302 isShown_, std::move(cancelTask), std::move(buildFunc), dialogComponent_, customDialog_, dialogOperation_); in JsOpenDialog()
321 auto cancelTask = ([cancelCallback = jsCancelFunction_, node = frameNode]() { in JsCloseDialog() local
332 isShown_, std::move(cancelTask), dialogComponent_, customDialog_, dialogOperation_); in JsCloseDialog()
/foundation/multimedia/player_framework/services/services/player/player_mem_manage/
H A Dplayer_server_mem.cpp697 auto cancelTask = std::make_shared<TaskHandler<void>>([&, this]() { in SeekToCurrentTime() local
702 int32_t ret = taskMgr_.SeekTask(seekTask, cancelTask, "seek", mode, mSeconds); in SeekToCurrentTime()

Completed in 13 milliseconds