/foundation/arkui/ace_engine/frameworks/base/system_bar/ |
H A D | system_bar_style.h | 23 class SystemBarStyle : public AceType { class 24 DECLARE_ACE_TYPE(SystemBarStyle, AceType) 26 SystemBarStyle() = default; 27 ~SystemBarStyle() = default; 29 static RefPtr<SystemBarStyle> CreateStyleFromJsObj(void* env, void* value);
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | system_bar_style_ohos.h | 27 class SystemBarStyleOhos : public SystemBarStyle { 28 DECLARE_ACE_TYPE(SystemBarStyleOhos, SystemBarStyle) 34 static void SetSystemBarStyle(const sptr<Rosen::Window>& window, const RefPtr<SystemBarStyle>& style); 37 friend class SystemBarStyle;
|
H A D | system_bar_style_ohos.cpp | 49 RefPtr<SystemBarStyle> SystemBarStyle::CreateStyleFromJsObj(void* env, void* value) in CreateStyleFromJsObj() 77 void SystemBarStyleOhos::SetSystemBarStyle(const sptr<Rosen::Window>& window, const RefPtr<SystemBarStyle>& style) in SetSystemBarStyle()
|
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | system_bar_style_ohos.cpp | 19 RefPtr<SystemBarStyle> SystemBarStyle::CreateStyleFromJsObj(void* env, void* value) in CreateStyleFromJsObj()
|
H A D | system_bar_style_ohos.h | 22 class SystemBarStyleOhos : public SystemBarStyle { 23 DECLARE_ACE_TYPE(SystemBarStyleOhos, SystemBarStyle)
|
/foundation/arkui/ace_engine/test/mock/base/ |
H A D | mock_system_bar_style.h | 24 class MockSystemBarStyle : public SystemBarStyle { 25 DECLARE_ACE_TYPE(MockSystemBarStyle, SystemBarStyle);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/ |
H A D | navdestination_pattern.h | 229 void SetSystemBarStyle(const RefPtr<SystemBarStyle>& style); 230 const std::optional<RefPtr<SystemBarStyle>>& GetBackupStyle() const in GetBackupStyle() 234 const std::optional<RefPtr<SystemBarStyle>>& GetCurrentStyle() const in GetCurrentStyle() 268 std::optional<RefPtr<SystemBarStyle>> backupStyle_; 269 std::optional<RefPtr<SystemBarStyle>> currStyle_;
|
H A D | navdestination_model.h | 73 virtual void SetSystemBarStyle(const RefPtr<SystemBarStyle>& style) {}; in SetSystemBarStyle()
|
H A D | navdestination_model_ng.h | 66 void SetSystemBarStyle(const RefPtr<SystemBarStyle>& style) override;
|
H A D | navdestination_pattern.cpp | 410 void NavDestinationPattern::SetSystemBarStyle(const RefPtr<SystemBarStyle>& style) in SetSystemBarStyle()
|
H A D | navdestination_model_ng.cpp | 721 void NavDestinationModelNG::SetSystemBarStyle(const RefPtr<SystemBarStyle>& style) in SetSystemBarStyle()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/ |
H A D | navigation_system_bar_style_test_ng.cpp | 204 * @tc.steps: step2. set SystemBarStyle callbacks of WindowManager. in HWTEST_F() 210 std::optional<RefPtr<SystemBarStyle>> styleForSet; in HWTEST_F() 211 windowManager->SetSetSystemBarStyleCallBack([&styleForSet](const RefPtr<SystemBarStyle>& style) { in HWTEST_F() 214 std::optional<RefPtr<SystemBarStyle>> styleForGet = AceType::MakeRefPtr<MockSystemBarStyle>(); in HWTEST_F() 215 windowManager->SetGetSystemBarStyleCallBack([&styleForGet]() -> RefPtr<SystemBarStyle> { in HWTEST_F() 223 std::optional<RefPtr<SystemBarStyle>> newStyle1 = AceType::MakeRefPtr<MockSystemBarStyle>(); in HWTEST_F() 233 std::optional<RefPtr<SystemBarStyle>> newStyle2 = AceType::MakeRefPtr<MockSystemBarStyle>(); in HWTEST_F() 262 * @tc.steps: step2. set SystemBarStyle callbacks of WindowManager. in HWTEST_F() 269 RefPtr<SystemBarStyle> styleForSet = nullptr; in HWTEST_F() 270 windowManager->SetSetSystemBarStyleCallBack([&styleForSet, &funcCalled](const RefPtr<SystemBarStyle> in HWTEST_F() [all...] |
H A D | navigation_pattern_testtwo_ng.cpp | 278 auto style = AceType::MakeRefPtr<SystemBarStyle>(); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/ |
H A D | container_window_manager.h | 32 using GetSystemBarStyleCallback = std::function<RefPtr<SystemBarStyle>(void)>;
33 using SetSystemBarStyleCallback = std::function<void(const RefPtr<SystemBarStyle>&)>;
243 RefPtr<SystemBarStyle> GetSystemBarStyle()
in GetSystemBarStyle() 251 void SetSystemBarStyle(const RefPtr<SystemBarStyle>& style)
in SetSystemBarStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navigation_pattern.h | 381 void SetSystemBarStyle(const RefPtr<SystemBarStyle>& style); 557 std::optional<RefPtr<SystemBarStyle>> backupStyle_; 558 std::optional<RefPtr<SystemBarStyle>> currStyle_;
|
H A D | navigation_model.h | 91 virtual void SetSystemBarStyle(const RefPtr<SystemBarStyle>& style) {}; in SetSystemBarStyle()
|
H A D | navigation_model_ng.h | 96 void SetSystemBarStyle(const RefPtr<SystemBarStyle>& style) override;
|
H A D | navigation_model_ng.cpp | 1472 void NavigationModelNG::SetSystemBarStyle(const RefPtr<SystemBarStyle>& style) in SetSystemBarStyle()
|
H A D | navigation_pattern.cpp | 320 void NavigationPattern::SetSystemBarStyle(const RefPtr<SystemBarStyle>& style) in SetSystemBarStyle()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_navdestination.cpp | 569 RefPtr<SystemBarStyle> style = nullptr; in SetSystemBarStyle() 574 style = SystemBarStyle::CreateStyleFromJsObj(env, styleObj); in SetSystemBarStyle()
|
H A D | js_navigation.cpp | 838 RefPtr<SystemBarStyle> style = nullptr; in SetSystemBarStyle() 843 style = SystemBarStyle::CreateStyleFromJsObj(env, styleObj); in SetSystemBarStyle()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ace_container.cpp | 2340 [window = uiWindow_]() -> RefPtr<SystemBarStyle> { in InitWindowCallback() 2344 [window = uiWindow_](const RefPtr<SystemBarStyle>& style) { in InitWindowCallback()
|