/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
D | res_config_impl_test.cpp | 506 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/ |
D | res_config_impl_test.cpp | 605 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/ |
D | locale_matcher.h | 24 static int8_t IsMoreSuitable(const ResLocale *current,
|
D | res_config_impl.h | 38 bool IsMoreSuitable(const ResConfigImpl *other, const ResConfigImpl *request) const;
|
/base/global/resource_management/frameworks/resmgr/include/ |
D | locale_matcher.h | 24 static int8_t IsMoreSuitable(const ResLocale *current,
|
D | res_config_impl.h | 40 …bool IsMoreSuitable(const ResConfigImpl *other, const ResConfigImpl *request, uint32_t density = 0…
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | res_config_impl.cpp | 212 bool ResConfigImpl::IsMoreSuitable(const ResConfigImpl *other, in IsMoreSuitable() function in OHOS::Global::Resource::ResConfigImpl 217 LocaleMatcher::IsMoreSuitable(this->GetResLocale(), other->GetResLocale(), in IsMoreSuitable()
|
D | hap_manager.cpp | 144 if (!bestResConfig->IsMoreSuitable(resConfig, currentResConfig)) { in FindQualifierValueByName() 176 if (!bestResConfig->IsMoreSuitable(resConfig, currentResConfig)) { in FindQualifierValueById()
|
D | res_locale.cpp | 459 …if (LocaleMatcher::IsMoreSuitable(tempCandidate.at(j), tempCandidate.at(j + 1), currentLocale) <= … in FindAndSort()
|
D | locale_matcher.cpp | 601 int8_t LocaleMatcher::IsMoreSuitable(const ResLocale *current, in IsMoreSuitable() function in OHOS::Global::Resource::LocaleMatcher
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | res_config_impl.cpp | 381 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()
|
D | hap_manager.cpp | 214 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()
|
D | res_locale.cpp | 469 …if (LocaleMatcher::IsMoreSuitable(tempCandidate.at(j), tempCandidate.at(j + 1), currentLocale) <= … in FindAndSort()
|
D | locale_matcher.cpp | 600 int8_t LocaleMatcher::IsMoreSuitable(const ResLocale *current, in IsMoreSuitable() function in OHOS::Global::Resource::LocaleMatcher
|