Home
last modified time | relevance | path

Searched refs:imageResource (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_source_mdk_kits.cpp640 static int32_t NativePropertyModify(ImageSource* native, ImageResource &imageResource, in NativePropertyModify() argument
643 auto type = imageResource.type; in NativePropertyModify()
648 } else if (type == ImageResourceType::IMAGE_RESOURCE_FD && imageResource.fd != INVALID_FD) { in NativePropertyModify()
650 errorCode = native->ModifyImageProperty(DEFAULT_INDEX, key, val, imageResource.fd); in NativePropertyModify()
651 } else if (type == ImageResourceType::IMAGE_RESOURCE_PATH && !imageResource.path.empty()) { in NativePropertyModify()
653 errorCode = native->ModifyImageProperty(DEFAULT_INDEX, key, val, imageResource.path); in NativePropertyModify()
655 imageResource.buffer != nullptr && imageResource.bufferSize > SIZE_ZERO) { in NativePropertyModify()
658 imageResource.buffer, imageResource.bufferSize); in NativePropertyModify()
690 auto imageResource = args->napi->GetImageResource(); in ImageSourceNapiModifyImageProperty() local
691 auto res = NativePropertyModify(native, imageResource, key, val); in ImageSourceNapiModifyImageProperty()
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-shared-element-transition.md183 ForEach(this.data.images, (imageResource: Resource, index: number) => {
184 Image(imageResource)
186 }, (imageResource: Resource, index: number) => index.toString())
2106 ForEach(this.data.images, (imageResource: Resource, index: number) => {
2107 Image(imageResource)
2109 }, (imageResource: Resource, index: number) => index.toString())
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-shared-element-transition.md183 ForEach(this.data.images, (imageResource: Resource, index: number) => {
184 Image(imageResource)
186 }, (imageResource: Resource, index: number) => index.toString())
2106 ForEach(this.data.images, (imageResource: Resource, index: number) => {
2107 Image(imageResource)
2109 }, (imageResource: Resource, index: number) => index.toString())