Home
last modified time | relevance | path

Searched refs:imagePixelMap (Results 1 – 25 of 38) sorted by relevance

12

/ohos5.0/docs/zh-cn/third-party-cases/
H A Dimage-edit.md53 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 Dlive-view-notification.md40 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 Dlive-view-notification.md40 …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 Dtext_styles.h131 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 Dspan_node.cpp856 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 Djs-apis-app-ability-startOptions.md52 let imagePixelMap: image.PixelMap;
59 imagePixelMap = data;
62 startWindowIcon: imagePixelMap,
H A Djs-apis-inner-application-uiAbilityContext-sys.md1312 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 Djs-apis-arkui-Prefetcher.md213 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 Djs-apis-app-ability-startOptions.md52 let imagePixelMap: image.PixelMap;
59 imagePixelMap = data;
62 startWindowIcon: imagePixelMap,
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-Prefetcher.md203 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 Dts-basic-components-imageanimator.md339 imagePixelMap: Array<PixelMap> = []
345 this.imagePixelMap.push(await this.getPixmapFromMedia($r('app.media.icon')))
346 this.images.push({src:this.imagePixelMap[0]})
H A Dts-universal-styled-string.md1554 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 Dts-basic-components-image.md875 @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 Darkts-styled-string.md340 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 DInjectNoticeUtil.ts100 …let imagePixelMap = resourceManager.getDrawableDescriptor($r('app.media.icon_notice')).getPixelMap…
113 smallIcon: imagePixelMap,
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-styled-string.md335 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 Dcanvas_rendering_context_2d_model_ng.cpp714 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 Dts-basic-components-imageanimator.md332 imagePixelMap: Array<PixelMap> = []
338 this.imagePixelMap.push(await this.getPixmapFromMedia($r('app.media.icon')))
339 this.images.push({src:this.imagePixelMap[0]})
H A Dts-universal-styled-string.md1552 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 Dspan_to_html.cpp406 if (!options.image || !options.imagePixelMap) { in ImageToHtml()
410 auto pixelMap = options.imagePixelMap.value(); in ImageToHtml()
H A Dhtml_to_span.cpp705 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 Drich_editor_common_test_ng.h169 .imagePixelMap = std::nullopt,
H A Drich_editor_keyboard_shortcut_test_ng.cpp457 options.imagePixelMap = pixelMap;
854 options.imagePixelMap = pixelMap;
H A Drich_editor_pattern_testone_ng.cpp688 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 Djs_span_object.cpp727 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()

12