/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | image-edit.md | 53 this.imagePixelMap = pixelMap 59 this.imagePixelMap = pixelMap 65 this.imagePixelMap = pixelMap 71 this.imagePixelMap = pixelMap 88 第2步中将编辑好的pixelMap传递给状态变量imagePixelMap,本步中直接将imagePixelMap传入Image组件进行渲染显示。 145 this.imagePixelMap = pixelMap 152 this.imagePixelMap = pixelMap 159 this.imagePixelMap = pixelMap 166 this.imagePixelMap = pixelMap 173 this.imagePixelMap = pixelMap [all …]
|
/ohos5.0/docs/zh-cn/application-dev/notification/ |
H A D | live-view-notification.md | 40 let imagePixelMap: image.PixelMap | undefined = undefined; // 需要获取图片PixelMap信息 42 imagePixelMap = await image.createPixelMap(color, { 48 if(imagePixelMap !== undefined) { 61 icons: [imagePixelMap], 66 icon: imagePixelMap,
|
/ohos5.0/docs/en/application-dev/notification/ |
H A D | live-view-notification.md | 40 …let imagePixelMap: image.PixelMap | undefined = undefined; // Obtain the image pixel map informati… 42 imagePixelMap = await image.createPixelMap(color, { 48 if(imagePixelMap !== undefined) { 61 icons: [imagePixelMap], 66 icon: imagePixelMap,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_styles.h | 131 std::optional<RefPtr<PixelMap>> imagePixelMap; member 142 if (imagePixelMap && *imagePixelMap) { in ToString() 144 pixSize += std::to_string((*imagePixelMap)->GetWidth()); in ToString() 146 pixSize += std::to_string((*imagePixelMap)->GetHeight()); in ToString()
|
H A D | span_node.cpp | 856 if (options.imagePixelMap.has_value()) { in EncodeTlv() 858 TLVUtil::WritePixelMap(buff, options.imagePixelMap.value()); in EncodeTlv() 901 sameSpan->options.imagePixelMap = TLVUtil::ReadPixelMap(buff, cursor); in DecodeTlv() 1004 if (options.imagePixelMap.has_value()) { in GetSpanResultObject() 1005 resultObject.valuePixelMap = options.imagePixelMap.value(); in GetSpanResultObject()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-app-ability-startOptions.md | 52 let imagePixelMap: image.PixelMap; 59 imagePixelMap = data; 62 startWindowIcon: imagePixelMap,
|
H A D | js-apis-inner-application-uiAbilityContext-sys.md | 1312 let imagePixelMap: image.PixelMap; 1320 imagePixelMap = data; 1321 this.context.setMissionIcon(imagePixelMap, (err: BusinessError) => { 1373 let imagePixelMap: image.PixelMap; 1381 imagePixelMap = data; 1382 this.context.setMissionIcon(imagePixelMap)
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | js-apis-arkui-Prefetcher.md | 213 Image(this.info.imagePixelMap) 226 imagePixelMap: image.PixelMap | undefined; 255 if (item.imagePixelMap) { 265 item.imagePixelMap = await imageSource.createPixelMap();
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-app-ability-startOptions.md | 52 let imagePixelMap: image.PixelMap; 59 imagePixelMap = data; 62 startWindowIcon: imagePixelMap,
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-arkui-Prefetcher.md | 203 Image(this.info.imagePixelMap) 216 imagePixelMap: image.PixelMap | undefined; 245 if (item.imagePixelMap) { 255 item.imagePixelMap = await imageSource.createPixelMap();
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-imageanimator.md | 339 imagePixelMap: Array<PixelMap> = [] 345 this.imagePixelMap.push(await this.getPixmapFromMedia($r('app.media.icon'))) 346 this.images.push({src:this.imagePixelMap[0]})
|
H A D | ts-universal-styled-string.md | 1554 imagePixelMap: image.PixelMap | undefined = undefined 1570 console.info("aboutToAppear initial imagePixelMap") 1571 this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')) 1598 if (this.imagePixelMap !== undefined) { 1600 value: this.imagePixelMap, 2007 imagePixelMap: image.PixelMap | undefined = undefined 2014 console.info("aboutToAppear initial imagePixelMap") 2015 this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')) 2043 if (this.imagePixelMap !== undefined) { 2045 value: this.imagePixelMap,
|
H A D | ts-basic-components-image.md | 875 @State imagePixelMap: image.PixelMap | undefined = undefined 883 this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.app_icon')) 888 Image(this.imagePixelMap, this.options)
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-styled-string.md | 340 imagePixelMap: image.PixelMap | undefined = undefined; 356 console.info("aboutToAppear initial imagePixelMap"); 357 this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.sea')); 462 if (this.imagePixelMap !== undefined) { 464 value: this.imagePixelMap,
|
/ohos5.0/base/powermgr/power_manager/power_dialog/entry/src/main/ets/InjectNotice/ |
H A D | InjectNoticeUtil.ts | 100 …let imagePixelMap = resourceManager.getDrawableDescriptor($r('app.media.icon_notice')).getPixelMap… 113 smallIcon: imagePixelMap,
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-styled-string.md | 335 imagePixelMap: image.PixelMap | undefined = undefined 351 console.info("aboutToAppear initial imagePixelMap") 352 this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.sea')) 457 if (this.imagePixelMap !== undefined) { 459 value: this.imagePixelMap,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_rendering_context_2d_model_ng.cpp | 714 auto imagePixelMap = AceType::DynamicCast<PixelMap>(pixelMap); in TransferFromImageBitmap() local 715 CHECK_NULL_VOID(imagePixelMap); in TransferFromImageBitmap() 716 pattern->TransferFromImageBitmap(imagePixelMap); in TransferFromImageBitmap()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-imageanimator.md | 332 imagePixelMap: Array<PixelMap> = [] 338 this.imagePixelMap.push(await this.getPixmapFromMedia($r('app.media.icon'))) 339 this.images.push({src:this.imagePixelMap[0]})
|
H A D | ts-universal-styled-string.md | 1552 imagePixelMap: image.PixelMap | undefined = undefined 1568 console.info("aboutToAppear initial imagePixelMap") 1569 this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')) 1596 if (this.imagePixelMap !== undefined) { 1598 value: this.imagePixelMap, 2005 imagePixelMap: image.PixelMap | undefined = undefined 2012 console.info("aboutToAppear initial imagePixelMap") 2013 this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.icon')) 2041 if (this.imagePixelMap !== undefined) { 2043 value: this.imagePixelMap,
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/html/ |
H A D | span_to_html.cpp | 406 if (!options.image || !options.imagePixelMap) { in ImageToHtml() 410 auto pixelMap = options.imagePixelMap.value(); in ImageToHtml()
|
H A D | html_to_span.cpp | 705 option.imagePixelMap = image->GetPixelMap(); in HandleImagePixelMap() 707 if (option.imagePixelMap.has_value() && option.imagePixelMap.value() != nullptr) { in HandleImagePixelMap() 708 auto pixel = option.imagePixelMap.value(); in HandleImagePixelMap()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_common_test_ng.h | 169 .imagePixelMap = std::nullopt,
|
H A D | rich_editor_keyboard_shortcut_test_ng.cpp | 457 options.imagePixelMap = pixelMap; 854 options.imagePixelMap = pixelMap;
|
H A D | rich_editor_pattern_testone_ng.cpp | 688 options.imagePixelMap = pixelMap; 690 EXPECT_EQ(options.imagePixelMap.has_value(), true);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/ |
H A D | js_span_object.cpp | 727 options.imagePixelMap = GetDrawablePixmap(imageValue); in CreateImageOptions() 729 options.imagePixelMap = CreatePixelMapFromNapiValue(imageValue); in CreateImageOptions() 804 if (imageOptions.imagePixelMap.has_value()) { in GetImageSrc() 806 ret = ConvertPixmap(imageOptions.imagePixelMap.value()); in GetImageSrc()
|