Home
last modified time | relevance | path

Searched refs:OnBackPressed (Results 1 - 25 of 75) sorted by relevance

123

/foundation/arkui/ace_engine/test/unittest/core/pipeline/
H A Dmock_shared_overlay_manager.cpp20 bool SharedOverlayManager::OnBackPressed() in OnBackPressed() function in OHOS::Ace::NG::SharedOverlayManager
H A Dmock_full_screen_manager.cpp33 bool FullScreenManager::OnBackPressed() in OnBackPressed() function in OHOS::Ace::NG::FullScreenManager
H A Dpipeline_context_test_ng.cpp1263 * @tc.desc: Test the function OnBackPressed.
1276 * @tc.steps2: Call the function OnBackPressed with weakFrontend_ is null. in HWTEST_F()
1280 EXPECT_FALSE(context_->OnBackPressed()); in HWTEST_F()
1283 * @tc.steps3: Call the function OnBackPressed with the return value of in HWTEST_F()
1288 EXPECT_CALL(*frontend, OnBackPressed()).WillRepeatedly(testing::Return(true)); in HWTEST_F()
1292 context_->fullScreenManager_->RequestFullScreen(frameNode); // Set the return value of OnBackPressed to true; in HWTEST_F()
1293 EXPECT_TRUE(context_->OnBackPressed()); in HWTEST_F()
1296 * @tc.steps4: Call the function OnBackPressed with the return value of in HWTEST_F()
1300 // Set the return value of OnBackPressed of fullScreenManager_ to true; in HWTEST_F()
1302 EXPECT_TRUE(context_->OnBackPressed()); in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/mock/core/manager/
H A Dmock_ui_extension_manager.cpp21 bool UIExtensionManager::OnBackPressed() in OnBackPressed() function in OHOS::Ace::NG::UIExtensionManager
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Dability_event_interface.h30 virtual void OnBackPressed() = 0;
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/full_screen/
H A Dfull_screen_manager.cpp100 bool FullScreenManager::OnBackPressed() in OnBackPressed() function in OHOS::Ace::NG::FullScreenManager
113 return videoPattern->OnBackPressed(); in OnBackPressed()
H A Dfull_screen_manager.h39 bool OnBackPressed();
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/
H A Dpage_pattern.h84 bool OnBackPressed();
101 void SetOnBackPressed(std::function<bool()>&& OnBackPressed) in SetOnBackPressed() argument
103 onBackPressed_ = std::move(OnBackPressed); in SetOnBackPressed()
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/shared_overlay/
H A Dshared_overlay_manager.h38 bool OnBackPressed();
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_full_screen_pattern.h38 bool OnBackPressed() override
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_ability.h77 void OnBackPressed() const;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/
H A Dui_extension_manager.h63 bool OnBackPressed();
/foundation/arkui/ace_engine/test/unittest/core/pattern/ui_extension/
H A Dui_extension_manager_test.cpp65 * @tc.desc: Test UIExtensionManager RegisterUIExtensionInFocus/OnBackPressed/GetFocusUiExtensionNode/
90 * @tc.steps: step3. call OnBackPressed. in HWTEST_F()
93 auto onBackPressed = uiExtensionManager->OnBackPressed(); in HWTEST_F()
/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_frontend.h63 MOCK_METHOD(bool, OnBackPressed, (), (override));
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_base.h134 virtual bool OnBackPressed() in OnBackPressed() function in OHOS::Ace::NG::TextBase
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_manager.cpp49 bool TextFieldManagerNG::OnBackPressed() in OnBackPressed() function in OHOS::Ace::NG::TextFieldManagerNG
55 return textBasePattern->OnBackPressed(); in OnBackPressed()
H A Dtext_field_manager.h121 bool OnBackPressed();
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_field_pattern_testthree.cpp383 * @tc.desc: test OnBackPressed
403 bool ret = pattern_->OnBackPressed(); in HWTEST_F()
405 ret = pattern_->OnBackPressed(); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/
H A Djs_frontend.h107 bool OnBackPressed() override;
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Ddeclarative_frontend_ng.h90 bool OnBackPressed() override;
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_ability.h80 void OnBackPressed() override;
H A Dace_ability.cpp562 void AceAbility::OnBackPressed() in OnBackPressed() function in OHOS::Ace::AceAbility
564 LOGI("AceAbility OnBackPressed called "); in OnBackPressed()
565 if (!Platform::AceContainer::OnBackPressed(abilityId_)) { in OnBackPressed()
566 Ability::OnBackPressed(); in OnBackPressed()
819 LOGI("OnInputEvent: Platform AceContainer OnBackPressed called"); in OnInputEvent()
820 if (Platform::AceContainer::OnBackPressed(abilityId_)) { in OnInputEvent()
/foundation/arkui/ace_engine/test/unittest/core/pattern/plugin/mock/
H A Dmock_plugin_frontend.cpp88 bool PluginFrontend::OnBackPressed() in OnBackPressed() function in OHOS::Ace::PluginFrontend
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_pattern_test_ng.cpp1650 * @tc.desc: test OnBackPressed
1659 EXPECT_EQ(richEditorPattern->OnBackPressed(), false); in HWTEST_F()
1666 EXPECT_EQ(richEditorPattern->OnBackPressed(), true); in HWTEST_F()
1671 EXPECT_EQ(richEditorPattern->OnBackPressed(), true); in HWTEST_F()
1674 EXPECT_EQ(richEditorPattern->OnBackPressed(), true); in HWTEST_F()
1882 EXPECT_EQ(richEditorPattern->OnBackPressed(), false); in HWTEST_F()
1899 EXPECT_EQ(richEditorPattern->OnBackPressed(), false); in HWTEST_F()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_ability.cpp145 void Ability::OnBackPressed() in OnBackPressed() function in OHOS::AppExecFwk::Ability

Completed in 19 milliseconds

123