/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | text_testfour_ng.cpp | 973 ASSERT_NE(imageNode, nullptr); 1032 ASSERT_NE(imageNode, nullptr); 1091 ASSERT_NE(imageNode, nullptr); 1152 ASSERT_NE(imageNode, nullptr); 1214 ASSERT_NE(imageNode, nullptr); 1276 ASSERT_NE(imageNode, nullptr); 1337 ASSERT_NE(imageNode, nullptr); 1399 ASSERT_NE(imageNode, nullptr); 1460 ASSERT_NE(imageNode, nullptr); 1518 EXPECT_EQ(imageNode, nullptr); [all …]
|
H A D | text_testfive_ng.cpp | 82 auto imageNode = imageWeak.Upgrade(); variable 83 ASSERT_NE(imageNode, nullptr); 144 auto imageNode = imageWeak.Upgrade(); variable 145 ASSERT_NE(imageNode, nullptr); 205 auto imageNode = imageWeak.Upgrade(); variable 206 ASSERT_NE(imageNode, nullptr); 261 EXPECT_EQ(imageNode, nullptr); 314 EXPECT_EQ(imageNode, nullptr); 366 EXPECT_EQ(imageNode, nullptr); 2319 ASSERT_NE(imageNode, nullptr); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/utils/ |
H A D | drag_animation_helper.cpp | 59 auto imageNode = child.imageNode.Upgrade(); in CalcDistanceBeforeLifting() local 60 CHECK_NULL_VOID(imageNode); in CalcDistanceBeforeLifting() 116 auto imageNode = child.imageNode.Upgrade(); in PlayGatherNodeTranslateAnimation() local 117 CHECK_NULL_VOID(imageNode); in PlayGatherNodeTranslateAnimation() 139 auto imageNode = child.imageNode.Upgrade(); in PlayGatherNodeOpacityAnimation() local 140 CHECK_NULL_VOID(imageNode); in PlayGatherNodeOpacityAnimation() 141 auto imageContext = imageNode->GetRenderContext(); in PlayGatherNodeOpacityAnimation() 238 auto imageNode = child.imageNode.Upgrade(); in PlayGatherAnimation() local 239 CHECK_NULL_VOID(imageNode); in PlayGatherAnimation() 297 CHECK_NULL_RETURN(imageNode, OffsetF()); in CalcBadgeTextOffset() [all …]
|
H A D | drag_animation_helper.h | 49 …const RefPtr<OverlayManager>& manager, const RefPtr<FrameNode>& imageNode, const RefPtr<FrameNode>… 50 …etF CalcBadgeTextOffset(const RefPtr<MenuPattern>& menuPattern, const RefPtr<FrameNode>& imageNode,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/ |
H A D | container_modal_view.cpp | 279 auto imageNode = imageWk.Upgrade(); in AddButtonHover() local 280 CHECK_NULL_VOID(buttonNode && imageNode); in AddButtonHover() 324 auto imageNode = imageWk.Upgrade(); in AddButtonMouse() local 325 CHECK_NULL_VOID(buttonNode && imageNode); in AddButtonMouse() 365 AddButtonOnEvent(inputHub, buttonNode, imageNode, isCloseBtn); in AddButtonStyleMouseEvent() 378 auto imageNode = imageWk.Upgrade(); in AddButtonHoverEvent() local 379 CHECK_NULL_VOID(imageNode); in AddButtonHoverEvent() 396 imageNode->MarkModifyDone(); in AddButtonHoverEvent() 409 auto imageNode = imageWk.Upgrade(); in AddButtonOnEvent() local 410 CHECK_NULL_VOID(imageNode); in AddButtonOnEvent() [all …]
|
H A D | container_modal_view.h | 36 static void AddButtonHover(RefPtr<FrameNode>& buttonNode, RefPtr<FrameNode>& imageNode); 37 static void AddButtonMouse(RefPtr<FrameNode>& buttonNode, RefPtr<FrameNode>& imageNode); 38 …ButtonStyleMouseEvent(RefPtr<FrameNode>& buttonNode, RefPtr<FrameNode>& imageNode, bool isCloseBtn… 44 …tEventHub>& inputHub, RefPtr<FrameNode>& buttonNode, RefPtr<FrameNode>& imageNode, bool isCloseBtn… 46 …tEventHub>& inputHub, RefPtr<FrameNode>& buttonNode, RefPtr<FrameNode>& imageNode, bool isCloseBtn…
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/manager/ |
H A D | drag_animation_helper_test_ng.cpp | 106 auto imageNode = FrameNode::GetOrCreateFrameNode(V2::IMAGE_ETS_TAG, imageNodeId, variable 110 gatherNodeInfo.imageNode = AceType::WeakClaim(AceType::RawPtr(imageNode)); 194 auto imageNode = FrameNode::GetOrCreateFrameNode(V2::IMAGE_ETS_TAG, imageNodeId, variable 196 gatherNodeInfo.imageNode = AceType::WeakClaim(AceType::RawPtr(imageNode)); 205 auto renderContext = imageNode->GetRenderContext(); 246 auto imageNode = FrameNode::GetOrCreateFrameNode(V2::IMAGE_ETS_TAG, imageNodeId, variable 249 gatherNodeInfo.imageNode = AceType::WeakClaim(AceType::RawPtr(imageNode)); 256 DragAnimationHelper::CalcBadgeTextPosition(menuPattern, overlayManager, imageNode, textNode);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | drag_event.cpp | 1069 CHECK_NULL_VOID(imageNode); in UpdatePreviewAttr() 1106 CHECK_NULL_VOID(imageNode); in CreatePreviewNode() 1126 imageNode->SetActive(true); in CreatePreviewNode() 1148 CHECK_NULL_VOID(imageNode); in MountPixelMap() 1274 CHECK_NULL_VOID(imageNode); in SetPixelMap() 1310 imageNode->SetActive(true); in SetPixelMap() 1338 CHECK_NULL_VOID(imageNode); in UpdatePreviewOptionFromModifier() 1568 CHECK_NULL_VOID(imageNode); in ShowPixelMapAnimation() 1801 CHECK_NULL_VOID(imageNode); in SetImageNodeInitAttr() 1839 CHECK_NULL_VOID(imageNode); in SetImageNodeFinishAttr() [all …]
|
H A D | drag_event.h | 142 const RefPtr<FrameNode>& imageNode, const OffsetF& frameOffset, float scale = -1.0f); 143 …tic void UpdatePreviewAttr(const RefPtr<FrameNode>& frameNode, const RefPtr<FrameNode>& imageNode); 145 const RefPtr<FrameNode>& frameNode, RefPtr<FrameNode>& imageNode, float dragPreviewScale); 146 static void SetPreviewDefaultAnimateProperty(const RefPtr<FrameNode>& imageNode); 148 …const RefPtr<FrameNode>& imageNode, const RefPtr<FrameNode>& textNode, bool isDragPixelMap = false… 159 … void ShowPixelMapAnimation(const RefPtr<FrameNode>& imageNode, const RefPtr<FrameNode>& frameNode, 286 … void SetImageNodeInitAttr(const RefPtr<FrameNode>& frameNode, const RefPtr<FrameNode>& imageNode); 287 …oid SetImageNodeFinishAttr(const RefPtr<FrameNode>& frameNode, const RefPtr<FrameNode>& imageNode);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_input_response_area.cpp | 160 auto imageNode = FrameNode::CreateFrameNode( in CreateNode() local 162 imageNode->SetDraggable(false); in CreateNode() 184 imageNode->MarkModifyDone(); in CreateNode() 185 imageNode->MountToParent(stackNode); in CreateNode() 186 passwordNode_ = imageNode; in CreateNode() 231 auto imageNode = passwordNode_.Upgrade(); in Refresh() local 232 if (!imageNode) { in Refresh() 532 auto imageNode = cleanNode_->GetFirstChild(); in UpdateCleanNode() local 533 CHECK_NULL_VOID(imageNode); in UpdateCleanNode() 597 CHECK_NULL_VOID(imageNode); in Refresh() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image_animator/ |
H A D | image_animator_model_ng.cpp | 37 …auto imageNode = FrameNode::CreateFrameNode(V2::IMAGE_ETS_TAG, -1, AceType::MakeRefPtr<ImagePatter… in Create() local 38 CHECK_NULL_VOID(imageNode); in Create() 39 auto imagePattern = AceType::DynamicCast<ImagePattern>(imageNode->GetPattern()); in Create() 42 …auto imageLayoutProperty = AceType::DynamicCast<ImageLayoutProperty>(imageNode->GetLayoutProperty(… in Create() 46 frameNode->AddChild(imageNode); in Create() 156 …auto imageNode = FrameNode::CreateFrameNode(V2::IMAGE_ETS_TAG, -1, AceType::MakeRefPtr<ImagePatter… in CreateFrameNode() local 157 CHECK_NULL_RETURN(imageNode, nullptr); in CreateFrameNode() 158 auto imagePattern = AceType::DynamicCast<ImagePattern>(imageNode->GetPattern()); in CreateFrameNode() 161 …auto imageLayoutProperty = AceType::DynamicCast<ImageLayoutProperty>(imageNode->GetLayoutProperty(… in CreateFrameNode() 165 frameNode->AddChild(imageNode); in CreateFrameNode()
|
H A D | image_animator_pattern.cpp | 101 auto cacheImageNode = cacheImageIter->imageNode; in SetShowingIndex() 196 cacheImage.imageNode->GetGeometryNode()->SetContentSize( in UpdateCacheImageInfo() 198 cacheImage.imageNode->MarkModifyDone(); in UpdateCacheImageInfo() 208 cacheImage.imageNode->MarkModifyDone(); in UpdateCacheImageInfo() 215 if (IsShowingSrc(iter->imageNode, src)) { in FindCacheImageNode() 226 if (IsShowingSrc(iter->imageNode, src)) { in FindCacheImageNode() 245 CHECK_NULL_VOID(imageNode); in GenerateCachedImages() 249 auto imageLayoutProperty = imageNode->GetLayoutProperty(); in GenerateCachedImages() 252 AddImageLoadSuccessEvent(imageNode); in GenerateCachedImages() 253 cacheImages_.emplace_back(CacheImageStruct(imageNode)); in GenerateCachedImages() [all …]
|
H A D | image_animator_pattern.h | 41 CacheImageStruct(const RefPtr<FrameNode>& imageNode) : imageNode(imageNode) {} in CacheImageStruct() 43 RefPtr<FrameNode> imageNode; member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/ |
H A D | menu_view.cpp | 267 CHECK_NULL_VOID(menuTheme && imageNode); in ShowBorderRadiusAndShadowAnimation() 564 CHECK_NULL_VOID(imageNode); in ShowPixelMapScaleAnimationProc() 718 auto imageNode = imageWK.Upgrade(); in SetAccessibilityPixelMap() local 719 CHECK_NULL_VOID(imageNode); in SetAccessibilityPixelMap() 724 imageNode->MarkModifyDone(); in SetAccessibilityPixelMap() 752 SetAccessibilityPixelMap(target, imageNode); in SetPixelMap() 763 imageNode->MarkModifyDone(); in SetPixelMap() 775 imageNode->MarkModifyDone(); in SetPixelMap() 776 imageNode->MountToParent(wrapperNode); in SetPixelMap() 921 CHECK_NULL_VOID(imageNode); in CalcHoverScaleInfo() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/ |
H A D | tool_bar_test_ng.cpp | 246 auto imageNode = FrameNode::CreateFrameNode( variable 248 ASSERT_NE(imageNode, nullptr); 255 barItemNode->SetIconNode(imageNode); 279 auto imageNode = FrameNode::CreateFrameNode( variable 281 ASSERT_NE(imageNode, nullptr); 389 auto imageNode = FrameNode::GetOrCreateFrameNode( variable 391 barItem1->SetIconNode(imageNode); 396 EXPECT_NE(imageNode->GetTag(), V2::SYMBOL_ETS_TAG); 400 imageNode->tag_ = V2::SYMBOL_ETS_TAG; 403 EXPECT_EQ(imageNode->GetTag(), V2::SYMBOL_ETS_TAG);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/ |
H A D | close_icon_pattern.cpp | 52 auto imageNode = FrameNode::CreateFrameNode( in InitCloseIcon() local 54 auto imageLayoutProperty = imageNode->GetLayoutProperty<ImageLayoutProperty>(); in InitCloseIcon() 63 imageNode->MarkModifyDone(); in InitCloseIcon() 72 buttonNode->AddChild(imageNode); in InitCloseIcon()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/ |
H A D | drag_drop_manager.cpp | 1655 dragPreviewInfo.imageNode = imageNode; in GetDragPreviewInfo() 1770 CHECK_NULL_VOID(info_.imageNode); in DoDragMoveAnimate() 1830 CHECK_NULL_VOID(info_.imageNode); in UpdateDragPreviewScale() 1860 CHECK_NULL_VOID(info_.imageNode); in DoDragStartAnimation() 1972 auto imageNode = gatherNodeChildrenInfo[i].imageNode.Upgrade(); in UpdateGatherNodeAttr() local 1973 CHECK_NULL_VOID(imageNode); in UpdateGatherNodeAttr() 1994 const RefPtr<FrameNode>& imageNode) in UpdateGatherNodePosition() argument 1996 CHECK_NULL_VOID(imageNode); in UpdateGatherNodePosition() 2004 auto imageNode = child.imageNode.Upgrade(); in UpdateGatherNodePosition() local 2005 CHECK_NULL_VOID(imageNode); in UpdateGatherNodePosition() [all …]
|
/ohos5.0/foundation/arkui/advanced_ui_component/interface/treeview/ |
H A D | treeview.js | 681 this.nodeItem.imageNode = e.getNodeItem().imageNode; 1141 o.icon = t.getNodeItem().imageNode.normalSource; 1142 o.selectedIcon = t.getNodeItem().imageNode.selectedSource; 1143 o.editIcon = t.getNodeItem().imageNode.editSource; 1207 …t.children[e].getNodeItem().imageNode && (o[e].itemIcon = t.children[e].getNodeItem().imageNode.so… 2558 Row.height(e.getNodeItem().imageNode.itemHeight); 2559 Row.width(e.getNodeItem().imageNode.itemWidth); 2565 Image.create(e.getNodeItem().imageNode.normalSource); 2567 Image.height(e.getNodeItem().imageNode.itemHeight); 2568 Image.width(e.getNodeItem().imageNode.itemWidth); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/ |
H A D | text_picker_column_test_ng.cpp | 411 ASSERT_NE(imageNode, nullptr); 457 ASSERT_NE(imageNode, nullptr); 539 ASSERT_NE(imageNode, nullptr); 586 ASSERT_NE(imageNode, nullptr); 653 ASSERT_NE(imageNode, nullptr); 688 ASSERT_NE(imageNode, nullptr); 765 ASSERT_NE(imageNode, nullptr); 804 ASSERT_NE(imageNode, nullptr); 886 ASSERT_NE(imageNode, nullptr); 929 ASSERT_NE(imageNode, nullptr); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | drag_event_test_ng_property_config.cpp | 248 EXPECT_NE(imageNode, nullptr); 250 dragEventActuator->UpdatePreviewAttr(frameNode, imageNode); 315 ASSERT_NE(imageNode, nullptr); 316 auto imageContext = imageNode->GetRenderContext(); 411 EXPECT_NE(imageNode, nullptr); 412 auto imageContext = imageNode->GetRenderContext(); 419 dragEventActuator->SetImageNodeInitAttr(frameNode, imageNode); 429 dragEventActuator->SetImageNodeInitAttr(frameNode, imageNode); 437 dragEventActuator->SetImageNodeInitAttr(frameNode, imageNode); 475 EXPECT_NE(imageNode, nullptr); [all …]
|
H A D | drag_event_test_ng.cpp | 846 auto imageContext = imageNode->GetRenderContext(); 863 EXPECT_EQ(imageNode->IsPreviewNeedScale(), false); 864 dragEventActuator->SetPreviewDefaultAnimateProperty(imageNode); 1037 RefPtr<FrameNode> imageNode = nullptr; variable 1039 EXPECT_NE(imageNode, nullptr); 1106 RefPtr<FrameNode> imageNode = nullptr; variable 1108 EXPECT_NE(imageNode, nullptr); 1362 EXPECT_NE(imageNode, nullptr); 1780 auto imageNode = FrameNode::CreateFrameNode( variable 1782 EXPECT_NE(imageNode, nullptr); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | component_snapshot.cpp | 128 auto imageNode = AceType::DynamicCast<FrameNode>(node); in ProcessImageNode() local 129 if (imageNode && AceType::DynamicCast<ImagePattern>(imageNode->GetPattern())) { in ProcessImageNode() 130 auto imagePattern = AceType::DynamicCast<ImagePattern>(imageNode->GetPattern()); in ProcessImageNode() 150 auto imageNode = AceType::DynamicCast<FrameNode>(node); in CheckImageSuccessfullyLoad() local 151 CHECK_NULL_RETURN(imageNode, false); in CheckImageSuccessfullyLoad() 152 auto imagePattern = AceType::DynamicCast<ImagePattern>(imageNode->GetPattern()); in CheckImageSuccessfullyLoad() 163 imageNode->GetId(), static_cast<int32_t>(imageStateManger->GetCurrentState()), in CheckImageSuccessfullyLoad() 164 imageNode->GetInspectorId().value_or("").c_str()); in CheckImageSuccessfullyLoad()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/agingadapation/ |
H A D | aging_adapation_dialog_util.cpp | 34 auto imageNode = FrameNode::CreateFrameNode( in ShowLongPressDialog() local 36 auto imageLayoutProperty = imageNode->GetLayoutProperty<ImageLayoutProperty>(); in ShowLongPressDialog() 56 imageNode->MountToParent(columnNode); in ShowLongPressDialog() 57 imageNode->MarkModifyDone(); in ShowLongPressDialog() 63 imageNode->MountToParent(columnNode); in ShowLongPressDialog() 64 imageNode->MarkModifyDone(); in ShowLongPressDialog()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | tool_bar_pattern.cpp | 184 RefPtr<FrameNode> imageNode = AceType::DynamicCast<FrameNode>(barItemNode->GetIconNode()); in ShowDialogWithNode() local 193 if (imageNode != nullptr) { in ShowDialogWithNode() 194 if (imageNode->GetTag() == V2::SYMBOL_ETS_TAG) { in ShowDialogWithNode() 195 dialogNode_ = AgingAdapationDialogUtil::ShowLongPressDialog(message, imageNode); in ShowDialogWithNode() 198 auto imageLayoutProperty = imageNode->GetLayoutProperty<ImageLayoutProperty>(); in ShowDialogWithNode()
|
/ohos5.0/foundation/arkui/advanced_ui_component/source/TreeView/ |
H A D | TreeView.ets | 285 private nodeItem: { imageNode?: ImageNode, 651 private nodeItem: { imageNode?: ImageNode, 699 this.nodeItem.imageNode = node.getNodeItem().imageNode; 1129 if (parent.getNodeItem().imageNode != null) { 1141 if (parent.getNodeItem().imageNode != null) { 1442 if (nodeInfo.getNodeItem().imageNode != null) { 2591 if (item.getNodeItem().imageNode) { 2615 minWidth: item.getNodeItem().imageNode ? 2618 maxWidth: item.getNodeItem().imageNode ? 2650 if (item.getNodeItem().imageNode) { [all …]
|