/foundation/arkui/ace_engine/frameworks/core/components/bubble/ |
H A D | bubble_element.cpp | 16 #include "core/components/bubble/bubble_element.h" 18 #include "core/components/bubble/render_bubble.h" 24 RefPtr<BubbleComponent> bubble = AceType::DynamicCast<BubbleComponent>(component_); in PerformBuild() local 25 if (bubble) { in PerformBuild() 26 id_ = bubble->GetId(); in PerformBuild() 27 stateChangeEvent_ = bubble->GetStateChangeEvent(); in PerformBuild() 29 UpdateChild(child, bubble->GetChild()); in PerformBuild() 37 const auto& bubble = AceType::DynamicCast<RenderBubble>(renderNode_); in OnKeyEvent() local 38 if (bubble) { in OnKeyEvent() 39 return bubble in OnKeyEvent() 53 auto bubble = AceType::DynamicCast<RenderBubble>(renderNode_); FirePopEvent() local [all...] |
H A D | render_bubble.cpp | 16 #include "core/components/bubble/render_bubble.h" 53 auto bubble = weak.Upgrade(); in RenderBubble() 54 if (bubble) { in RenderBubble() 55 bubble->HandleTouch(info.GetTouches().front().GetLocalLocation()); in RenderBubble() 62 const auto bubble = AceType::DynamicCast<BubbleComponent>(component); in Update() local 63 if (!bubble) { in Update() 68 if (!bubble->GetPopupParam()) { in Update() 72 bubbleComponent_ = bubble; in Update() 73 maskColor_ = bubble->GetPopupParam()->GetMaskColor(); in Update() 74 backgroundColor_ = bubble in Update() 113 UpdateArrowOffset(const RefPtr<BubbleComponent>& bubble, const Placement& placement) UpdateArrowOffset() argument [all...] |
H A D | render_bubble.h | 22 #include "core/components/bubble/bubble_component.h" 137 void UpdateArrowOffset(const RefPtr<BubbleComponent>& bubble, const Placement& placement);
|
/foundation/arkui/ace_engine/frameworks/core/components/popup/ |
H A D | popup_element.cpp | 19 #include "core/components/bubble/bubble_component.h" 79 RefPtr<BubbleComponent> bubble = AceType::MakeRefPtr<BubbleComponent>(popup_->GetChild()); in ShowPopupInSubWindow() local 80 bubble->SetPopupParam(popup_->GetPopupParam()); in ShowPopupInSubWindow() 81 bubble->SetId(popup_->GetId()); in ShowPopupInSubWindow() 82 bubble->SetDisabledStatus(popup_->IsDisabledStatus()); in ShowPopupInSubWindow() 83 bubble->SetStateChangeEvent([weak = WeakClaim(this)](bool isVisible) { in ShowPopupInSubWindow() 89 tween->SetChild(bubble); in ShowPopupInSubWindow() 91 weakStack_ = bubble->GetWeakStack(); in ShowPopupInSubWindow() 131 RefPtr<BubbleComponent> bubble = AceType::MakeRefPtr<BubbleComponent>(popup_->GetChild()); in ShowPopup() local 132 bubble in ShowPopup() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/ |
H A D | indexer_component.cpp | 81 RefPtr<BoxComponent> bubble = AceType::MakeRefPtr<BoxComponent>(); in BuildBubbleBox() local 82 bubble->SetFlex(BoxFlex::FLEX_NO); in BuildBubbleBox() 83 bubble->SetAlignment(Alignment::CENTER); in BuildBubbleBox() 84 bubble->SetWidth(BUBBLE_BOX_SIZE, DimensionUnit::VP); in BuildBubbleBox() 85 bubble->SetHeight(BUBBLE_BOX_SIZE, DimensionUnit::VP); in BuildBubbleBox() 95 bubble->SetBackDecoration(bubbleBack_); in BuildBubbleBox() 101 bubble->SetChild(bubbleText_); in BuildBubbleBox() 102 bubble->SetEnableDebugBoundary(true); in BuildBubbleBox() 103 RefPtr<DisplayComponent> displayComponent = AceType::MakeRefPtr<DisplayComponent>(bubble); in BuildBubbleBox()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/ |
H A D | bubble_paint_method.h | 43 auto bubble = weak.Upgrade(); 44 if (bubble) { 45 bubble->PaintMask(canvas, paintWrapper); 46 bubble->ClipBubble(paintWrapper); 47 bubble->PaintBorder(canvas, paintWrapper); 55 auto bubble = weak.Upgrade(); 56 if (bubble) { 57 bubble->PaintInnerBorder(canvas, paintWrapper); 58 bubble->PaintOuterBorder(canvas, paintWrapper);
|
/foundation/arkui/ace_engine/frameworks/core/components/progress/ |
H A D | render_bubble_progress.cpp | 39 auto bubble = weak.Upgrade(); in OnPostFlush() 40 if (!bubble) { in OnPostFlush() 43 bubble->step_ = static_cast<int32_t>(progress); in OnPostFlush() 44 float fraction = progress - bubble->step_; in OnPostFlush() 46 bubble->lightToDark_ = evaluatorDarkToLight->Evaluate(Color(LIGHT_COLOR), Color(DARK_COLOR), fraction); in OnPostFlush() 47 bubble->darkToLight_ = evaluatorDarkToLight->Evaluate(Color(DARK_COLOR), Color(LIGHT_COLOR), fraction); in OnPostFlush() 48 bubble->MarkNeedRender(); in OnPostFlush()
|
/foundation/arkui/ace_engine/frameworks/core/components/indexer/ |
H A D | indexer_list_component.h | 30 bool bubble = true, bool multiLanguage = false) in IndexerListComponent() 35 indexer_ = AceType::MakeRefPtr<IndexerComponent>(list_, circleMode, bubble, multiLanguage); in IndexerListComponent() 45 bool circleMode = false, bool isRightToLeft = false, bool bubble = true, bool multiLanguage = false) in IndexerListComponent() 50 indexer_ = AceType::MakeRefPtr<IndexerComponent>(list_, circleMode, label, bubble, multiLanguage); in IndexerListComponent()
|
H A D | indexer_component.cpp | 144 RefPtr<BoxComponent> bubble = AceType::MakeRefPtr<BoxComponent>(); in BuildBubbleBox() local 145 bubble->SetFlex(BoxFlex::FLEX_NO); in BuildBubbleBox() 146 bubble->SetAlignment(Alignment::CENTER); in BuildBubbleBox() 150 bubble->SetWidth(BUBBLE_BOX_SIZE_CIRCLE, DimensionUnit::VP); in BuildBubbleBox() 151 bubble->SetHeight(BUBBLE_BOX_SIZE_CIRCLE, DimensionUnit::VP); in BuildBubbleBox() 155 bubble->SetMargin(Edge(200)); in BuildBubbleBox() 156 bubble->SetWidth(BUBBLE_BOX_SIZE, DimensionUnit::VP); in BuildBubbleBox() 157 bubble->SetHeight(BUBBLE_BOX_SIZE, DimensionUnit::VP); in BuildBubbleBox() 163 bubble->SetBackDecoration(back); in BuildBubbleBox() 175 bubble in BuildBubbleBox() [all...] |
H A D | indexer_component.h | 79 IndexerComponent(const RefPtr<ListComponent>& list, bool circleMode, bool bubble = true, bool multiLanguage = false) in IndexerComponent() 81 bubbleEnabled_(bubble), multiLanguageEnabled_(multiLanguage) in IndexerComponent() 97 bool bubble = true, bool multiLanguage = false) in IndexerComponent() 98 : list_(list), circleMode_(circleMode), bubbleEnabled_(bubble), multiLanguageEnabled_(multiLanguage) in IndexerComponent()
|
/foundation/arkui/ace_engine/frameworks/core/components/stack/ |
H A D | stack_element.cpp | 18 #include "core/components/bubble/render_bubble.h" 534 auto bubble = DynamicCast<BubbleElement>(element); in GetBubble() local 535 if (bubble) { in GetBubble() 536 return bubble; in GetBubble()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_list.cpp | 404 bool bubble = bubble_.second ? bubble_.first : true; in CreateOrUpdateIndexer() local 409 listComponent_, isCircle, IsRightToLeft(), bubble, multiLanguage); in CreateOrUpdateIndexer() 412 listComponent_, indexerAlphabet_, isCircle, IsRightToLeft(), bubble, multiLanguage); in CreateOrUpdateIndexer()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/subwindow/ |
H A D | subwindow_ohos.cpp | 50 #include "core/components/bubble/bubble_component.h" 424 auto bubble = AceType::DynamicCast<BubbleComponent>(popup->GetChild()); in ShowPopup() local 425 if (bubble) { in ShowPopup() 426 bubble->SetWeakStack(WeakClaim(RawPtr(stack))); in ShowPopup()
|