Home
last modified time | relevance | path

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

/base/global/resource_management/frameworks/resmgr/include/
Dres_config_impl.h70 void SetColorMode(ColorMode colorMode);
164 bool IsColorModeMatch(ColorMode colorMode) const;
Dhap_parser.h198 std::string colorMode; member
210 ColorMode colorMode = COLOR_MODE_NOT_SET; member
/base/global/resource_management/frameworks/resmgr/src/
Dres_config_impl.cpp121 void ResConfigImpl::SetColorMode(ColorMode colorMode) in SetColorMode() argument
123 this->colorMode_ = colorMode; in SetColorMode()
350 bool ResConfigImpl::IsColorModeMatch(ColorMode colorMode) const in IsColorModeMatch()
352 if (this->colorMode_ != COLOR_MODE_NOT_SET && colorMode != COLOR_MODE_NOT_SET) { in IsColorModeMatch()
353 if (this->colorMode_ != colorMode) { in IsColorModeMatch()
/base/print/print_fwk/interfaces/kits/jskits/
D@ohos.print.d.ts110 colorMode: number; // color mode property
138 colorMode: number; // color mode property
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Dprinter_capability.h65 void SetColorMode(uint32_t colorMode);
Dprint_job.h61 void SetColorMode(uint32_t colorMode);
/base/global/resource_management/frameworks/resmgr/src/utils/
Dhap_parser.cpp618 configKey.colorMode = GetColorMode(kp->value_); in CreateResConfigFromKeyParams()
642 resConfig->SetColorMode(configKey->colorMode); in BuildResConfig()
687 ColorMode colorMode = COLOR_MODE_NOT_SET; in GetColorMode() local
689 colorMode = DARK; in GetColorMode()
691 colorMode = LIGHT; in GetColorMode()
693 return colorMode; in GetColorMode()
760 determiner.colorMode = keyParam->GetStr(); in ToFolderPath()
808 PathAppend(path, determiner->colorMode, connecter2); in BuildFolderPath()
/base/global/resource_management/interfaces/inner_api/include/
Dres_config.h44 virtual void SetColorMode(ColorMode colorMode) = 0;
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprinter_capability.cpp90 void PrinterCapability::SetColorMode(uint32_t colorMode) in SetColorMode() argument
92 colorMode_ = colorMode; in SetColorMode()
Dprint_job.cpp148 void PrintJob::SetColorMode(uint32_t colorMode) in SetColorMode() argument
150 colorMode_ = colorMode; in SetColorMode()
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dresource_manager_test_common.h65 void AddColorModeResource(DeviceType deviceType, ColorMode colorMode, float screenDensity);
Dresource_manager_test_common.cpp113 void ResourceManagerTestCommon::AddColorModeResource(DeviceType deviceType, ColorMode colorMode, in AddColorModeResource() argument
123 rc->SetColorMode(colorMode); in AddColorModeResource()
/base/print/print_fwk/frameworks/helper/src/
Dprinter_capability_helper.cpp69 … uint32_t colorMode = NapiPrintUtils::GetUint32Property(env, jsValue, PARAM_CAPABILITY_COLORMODE); in BuildFromJs() local
71 nativeObj->SetColorMode(colorMode); in BuildFromJs()
Dprint_job_helper.cpp126 uint32_t colorMode = NapiPrintUtils::GetUint32Property(env, jsValue, PARAM_JOB_COLORMODE); in BuildFromJs() local
135 nativeObj->SetColorMode(colorMode); in BuildFromJs()