Home
last modified time | relevance | path

Searched refs:IsMoreSuitable (Results 1 – 14 of 14) sorted by relevance

/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
Dres_config_impl_test.cpp506 EXPECT_TRUE(current->IsMoreSuitable(other, request));
507 EXPECT_TRUE(other->IsMoreSuitable(current, request));
523 EXPECT_TRUE(current->IsMoreSuitable(other, request));
524 EXPECT_TRUE(other->IsMoreSuitable(current, request));
540 EXPECT_TRUE(current->IsMoreSuitable(other, request));
541 EXPECT_FALSE(other->IsMoreSuitable(current, request));
557 EXPECT_TRUE(current->IsMoreSuitable(other, request));
558 EXPECT_FALSE(other->IsMoreSuitable(current, request));
574 EXPECT_TRUE(current->IsMoreSuitable(other, request));
575 EXPECT_FALSE(other->IsMoreSuitable(current, request));
[all …]
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dres_config_impl_test.cpp605 EXPECT_TRUE(current->IsMoreSuitable(other, request));
606 EXPECT_TRUE(other->IsMoreSuitable(current, request));
622 EXPECT_TRUE(current->IsMoreSuitable(other, request));
623 EXPECT_TRUE(other->IsMoreSuitable(current, request));
639 EXPECT_TRUE(current->IsMoreSuitable(other, request));
640 EXPECT_FALSE(other->IsMoreSuitable(current, request));
656 EXPECT_TRUE(current->IsMoreSuitable(other, request));
657 EXPECT_FALSE(other->IsMoreSuitable(current, request));
673 EXPECT_TRUE(current->IsMoreSuitable(other, request));
674 EXPECT_FALSE(other->IsMoreSuitable(current, request));
[all …]
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
Dlocale_matcher.h24 static int8_t IsMoreSuitable(const ResLocale *current,
Dres_config_impl.h38 bool IsMoreSuitable(const ResConfigImpl *other, const ResConfigImpl *request) const;
/base/global/resource_management/frameworks/resmgr/include/
Dlocale_matcher.h24 static int8_t IsMoreSuitable(const ResLocale *current,
Dres_config_impl.h40 …bool IsMoreSuitable(const ResConfigImpl *other, const ResConfigImpl *request, uint32_t density = 0…
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dres_config_impl.cpp212 bool ResConfigImpl::IsMoreSuitable(const ResConfigImpl *other, in IsMoreSuitable() function in OHOS::Global::Resource::ResConfigImpl
217 LocaleMatcher::IsMoreSuitable(this->GetResLocale(), other->GetResLocale(), in IsMoreSuitable()
Dhap_manager.cpp144 if (!bestResConfig->IsMoreSuitable(resConfig, currentResConfig)) { in FindQualifierValueByName()
176 if (!bestResConfig->IsMoreSuitable(resConfig, currentResConfig)) { in FindQualifierValueById()
Dres_locale.cpp459 …if (LocaleMatcher::IsMoreSuitable(tempCandidate.at(j), tempCandidate.at(j + 1), currentLocale) <= … in FindAndSort()
Dlocale_matcher.cpp601 int8_t LocaleMatcher::IsMoreSuitable(const ResLocale *current, in IsMoreSuitable() function in OHOS::Global::Resource::LocaleMatcher
/base/global/resource_management/frameworks/resmgr/src/
Dres_config_impl.cpp381 bool ResConfigImpl::IsMoreSuitable(const ResConfigImpl *other, in IsMoreSuitable() function in OHOS::Global::Resource::ResConfigImpl
389 int8_t result = LocaleMatcher::IsMoreSuitable(this->GetResLocale(), other->GetResLocale(), in IsMoreSuitable()
Dhap_manager.cpp214 if (!bestOverlayResConfig->IsMoreSuitable(resConfig, currentResConfig, density)) { in GetBestMatchResource()
224 if (!bestResConfig->IsMoreSuitable(resConfig, currentResConfig, density)) { in GetBestMatchResource()
232 if (bestOverlayResConfig->IsMoreSuitable(bestResConfig, currentResConfig, density)) { in GetBestMatchResource()
Dres_locale.cpp469 …if (LocaleMatcher::IsMoreSuitable(tempCandidate.at(j), tempCandidate.at(j + 1), currentLocale) <= … in FindAndSort()
Dlocale_matcher.cpp600 int8_t LocaleMatcher::IsMoreSuitable(const ResLocale *current, in IsMoreSuitable() function in OHOS::Global::Resource::LocaleMatcher