Home
last modified time | relevance | path

Searched refs:density_ (Results 1 – 5 of 5) sorted by relevance

/base/global/resource_management/interfaces/js/innerkits/core/include/
Dresource_manager_data_context.h56 uint32_t density_; member
65 errCode_(0), density_(0) {} in ResMgrDataContext()
/base/global/resource_management/interfaces/js/innerkits/core/src/
Dresource_manager_napi_sync_impl.cpp447 … RState state = resMgr->GetMediaBase64DataById(resId, dataContext->value_, dataContext->density_); in ProcesstMediaContentBase64Resource()
468 …if (ResourceManagerNapiUtils::GetDensity(env, argv[ARRAY_SUBCRIPTOR_ONE], dataContext->density_) !… in GetMediaContentBase64Sync()
493 dataContext->density_); in ProcessMediaContentResource()
514 …if (ResourceManagerNapiUtils::GetDensity(env, argv[ARRAY_SUBCRIPTOR_ONE], dataContext->density_) !… in GetMediaContentSync()
629 …if (ResourceManagerNapiUtils::GetDensity(env, argv[ARRAY_SUBCRIPTOR_ONE], dataContext->density_) !… in GetDrawableDescriptor()
642 state, drawableType, dataContext->density_); in GetDrawableDescriptor()
813 …if (ResourceManagerNapiUtils::GetDensity(env, argv[ARRAY_SUBCRIPTOR_ONE], dataContext->density_) !… in GetDrawableDescriptorByName()
827 resMgr, state, drawableType, dataContext->density_); in GetDrawableDescriptorByName()
930 dataContext->value_, dataContext->density_); in ProcessMediaBase64ResourceByName()
954 …if (ResourceManagerNapiUtils::GetDensity(env, argv[ARRAY_SUBCRIPTOR_ONE], dataContext->density_) !… in GetMediaBase64ByNameSync()
[all …]
Dresource_manager_napi_async_impl.cpp185 … (i == 1 && ResourceManagerNapiUtils::GetDensity(env, argv[i], dataContext->density_) != SUCCESS) { in ProcessNameParamV9()
218 … (i == 1 && ResourceManagerNapiUtils::GetDensity(env, argv[i], dataContext->density_) != SUCCESS) { in ProcessIdParamV9()
258 … (i == 1 && ResourceManagerNapiUtils::GetDensity(env, argv[i], dataContext->density_) != SUCCESS) { in ProcessResourceParamV9()
493 dataContext->density_); in __anonc2ab6a610402()
534 state = resMgr->GetMediaBase64DataById(resId, dataContext->value_, dataContext->density_); in __anonc2ab6a610502()
542 dataContext->value_, dataContext->density_); in __anonc2ab6a610502()
707 dataContext->len_, dataContext->mediaData, dataContext->density_); in __anonc2ab6a610a02()
/base/global/resource_management/frameworks/resmgr/include/
Dres_config_impl.h178 float density_; variable
/base/global/resource_management/frameworks/resmgr/src/
Dres_config_impl.cpp45 density_(SCREEN_DENSITY_NOT_SET), in ResConfigImpl()
156 this->density_ = screenDensity; in SetScreenDensity()
179 return this->density_; in GetScreenDensity()