Searched refs:updateFlags (Results 1 - 7 of 7) sorted by relevance
/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | resource_configuration.cpp | 35 bool ResourceConfiguration::ParseJsonColorMode(const std::unique_ptr<JsonValue>& jsonConfig, uint32_t& updateFlags) in ParseJsonColorMode() argument 54 AddFlag(updateFlags, ResourceConfiguration::COLOR_MODE_UPDATED_FLAG); in ParseJsonColorMode() 59 bool ResourceConfiguration::ParseJsonFontRatio(const std::unique_ptr<JsonValue>& jsonConfig, uint32_t& updateFlags) in ParseJsonFontRatio() argument 71 AddFlag(updateFlags, ResourceConfiguration::FONT_RATIO_UPDATED_FLAG); in ParseJsonFontRatio() 76 bool ResourceConfiguration::UpdateFromJsonString(const std::string jsonStr, uint32_t& updateFlags) in UpdateFromJsonString() argument 78 updateFlags = 0; in UpdateFromJsonString() 82 ParseJsonColorMode(jsonConfig, updateFlags); in UpdateFromJsonString() 83 ParseJsonFontRatio(jsonConfig, updateFlags); in UpdateFromJsonString()
|
H A D | resource_configuration.h | 98 bool UpdateFromJsonString(const std::string jsonStr, uint32_t& updateFlags); 151 bool ParseJsonColorMode(const std::unique_ptr<JsonValue>& jsonConfig, uint32_t& updateFlags); 152 bool ParseJsonFontRatio(const std::unique_ptr<JsonValue>& jsonConfig, uint32_t& updateFlags);
|
/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | base_utils_test.cpp | 373 uint32_t updateFlags = ResourceConfiguration::COLOR_MODE_UPDATED_FLAG; in HWTEST_F() local 374 bool isUpdateFromJsonString = resConfiguration.UpdateFromJsonString(inputTestJsonStr, updateFlags); in HWTEST_F() 390 uint32_t updateFlags = ResourceConfiguration::COLOR_MODE_UPDATED_FLAG; in HWTEST_F() local 391 bool isUpdateFromJsonString = resConfiguration.UpdateFromJsonString(inputTestJsonStr, updateFlags); in HWTEST_F() 408 uint32_t updateFlags = ResourceConfiguration::COLOR_MODE_UPDATED_FLAG; in HWTEST_F() local 409 bool isUpdateFromJsonString = resConfiguration.UpdateFromJsonString(inputTestJsonStr, updateFlags); in HWTEST_F() 426 uint32_t updateFlags = ResourceConfiguration::COLOR_MODE_UPDATED_FLAG; in HWTEST_F() local 427 bool isUpdateFromJsonString = resConfiguration.UpdateFromJsonString(inputTestJsonStr, updateFlags); in HWTEST_F() 429 ASSERT_EQ(updateFlags, ResourceConfiguration::FONT_RATIO_UPDATED_FLAG); in HWTEST_F() 445 uint32_t updateFlags in HWTEST_F() local [all...] |
/foundation/window/window_manager/wm/src/ |
H A D | window_extension_session_impl.cpp | 330 auto updateFlags = extensionWindowFlags_; in SetPrivacyMode() local 331 updateFlags.privacyModeFlag = isPrivacyMode; in SetPrivacyMode() 334 auto ret = UpdateExtWindowFlags(updateFlags, actions); in SetPrivacyMode() 336 extensionWindowFlags_ = updateFlags; in SetPrivacyMode() 977 auto updateFlags = extensionWindowFlags_; in HideNonSecureWindows() local 978 updateFlags.hideNonSecureWindowsFlag = shouldHide; in HideNonSecureWindows() 981 auto ret = UpdateExtWindowFlags(updateFlags, actions); in HideNonSecureWindows() 983 extensionWindowFlags_ = updateFlags; in HideNonSecureWindows() 999 auto updateFlags = extensionWindowFlags_; in SetWaterMarkFlag() local 1000 updateFlags in SetWaterMarkFlag() [all...] |
H A D | window_impl.cpp | 521 uint32_t updateFlags = property_->GetWindowFlags() | (static_cast<uint32_t>(flag)); in AddWindowFlag() local 522 return SetWindowFlags(updateFlags); in AddWindowFlag() 538 uint32_t updateFlags = property_->GetWindowFlags() & (~(static_cast<uint32_t>(flag))); in RemoveWindowFlag() local 539 return SetWindowFlags(updateFlags); in RemoveWindowFlag()
|
H A D | window_scene_session_impl.cpp | 2674 uint32_t updateFlags = property_->GetWindowFlags() | (static_cast<uint32_t>(flag)); in AddWindowFlag() local 2675 return SetWindowFlags(updateFlags); in AddWindowFlag() 2683 uint32_t updateFlags = property_->GetWindowFlags() & (~(static_cast<uint32_t>(flag))); in RemoveWindowFlag() local 2684 return SetWindowFlags(updateFlags); in RemoveWindowFlag()
|
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | ace_container.cpp | 535 uint32_t updateFlags = 0; in UpdateResourceConfiguration() local 537 if (!resConfig.UpdateFromJsonString(jsonStr, updateFlags) || !updateFlags) { in UpdateResourceConfiguration() 541 if (ResourceConfiguration::TestFlag(updateFlags, ResourceConfiguration::COLOR_MODE_UPDATED_FLAG)) { in UpdateResourceConfiguration()
|
Completed in 21 milliseconds