Home
last modified time | relevance | path

Searched refs:hasNinePatch (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/
H A Dmock_image_source.cpp327 …p ImageSource::GetFinalOutputStep(const DecodeOptions &opts, PixelMap &pixelMap, bool hasNinePatch) in GetFinalOutputStep() argument
332 …mageSource::HasDensityChange(const DecodeOptions &opts, ImageInfo &srcImageInfo, bool hasNinePatch) in HasDensityChange() argument
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_test.cpp1211 bool hasNinePatch = true; variable
1214 FinalOutputStep ret = imageSource->GetFinalOutputStep(opt, pixelMap, hasNinePatch);
1217 ret = imageSource->GetFinalOutputStep(opt, pixelMap, hasNinePatch);
1233 bool hasNinePatch = true; variable
1240 FinalOutputStep ret = imageSource->GetFinalOutputStep(opt, pixelMap, hasNinePatch);
1246 hasNinePatch = false;
1249 ret = imageSource->GetFinalOutputStep(opt, pixelMap, hasNinePatch);
/ohos5.0/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dimage_source.h294 …nalOutputStep GetFinalOutputStep(const DecodeOptions &opts, PixelMap &pixelMap, bool hasNinePatch);
295 bool HasDensityChange(const DecodeOptions &opts, ImageInfo &srcImageInfo, bool hasNinePatch);
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp1193 bool hasNinePatch = mainDecoder_->HasProperty(NINE_PATCH); in CreatePixelMap() local
1194 finalOutputStep = GetFinalOutputStep(opts_, *(pixelMap.get()), hasNinePatch); in CreatePixelMap()
2629 …p ImageSource::GetFinalOutputStep(const DecodeOptions &opts, PixelMap &pixelMap, bool hasNinePatch) in GetFinalOutputStep() argument
2649 bool densityChange = HasDensityChange(opts, info, hasNinePatch); in GetFinalOutputStep()
2670 …mageSource::HasDensityChange(const DecodeOptions &opts, ImageInfo &srcImageInfo, bool hasNinePatch) in HasDensityChange() argument
2672 return !hasNinePatch && (srcImageInfo.baseDensity > 0) && (opts.fitDensity > 0) && in HasDensityChange()