/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_triangle.cpp | 94 void DrawTriangle::StepToNextPointOnEdge(Edge& edge) in StepToNextPointOnEdge() argument 96 if (edge.dPoint.x > edge.dPoint.y) { in StepToNextPointOnEdge() 97 edge.curPoint.x += edge.uPoint.x; in StepToNextPointOnEdge() 98 edge.eps += edge.dPoint.y; in StepToNextPointOnEdge() 99 if ((edge.eps << 1) >= edge.dPoint.x) { in StepToNextPointOnEdge() 100 edge in StepToNextPointOnEdge() 115 Edge edge = { {0, 0}, {0, 0}, {0, 0}, 0 }; InitEdge() local [all...] |
H A D | draw_triangle.h | 40 static void StepToNextPointOnEdge(Edge& edge);
|
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | graph.cpp | 33 EdgeNode *edge = vertexNode.firstEdge; in ~Graph() local 34 while (edge != nullptr) { in ~Graph() 35 EdgeNode *nextEdge = edge->next; in ~Graph() 36 delete edge; in ~Graph() 37 edge = nextEdge; in ~Graph() 47 LOG_WARN(UDMF_CLIENT, "abnormal edge, startNode:%{public}s, endNode:%{public}s. ", in AddEdge() 56 EdgeNode *edge = new EdgeNode; // add new edge in AddEdge() local 57 edge->adjIndex = end; in AddEdge() 58 edge in AddEdge() 69 EdgeNode *edge = nullptr; Dfs() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | edge.cpp | 16 #include "core/components/common/properties/edge.h" 34 bool Edge::FromString(const std::string& value, Edge& edge) in FromString() argument 41 edge.top_ = StringUtils::StringToDimension(offsets[0]); in FromString() 42 edge.right_ = StringUtils::StringToDimension(offsets[0]); in FromString() 43 edge.bottom_ = StringUtils::StringToDimension(offsets[0]); in FromString() 44 edge.left_ = StringUtils::StringToDimension(offsets[0]); in FromString() 47 edge.top_ = StringUtils::StringToDimension(offsets[0]); in FromString() 48 edge.right_ = StringUtils::StringToDimension(offsets[1]); in FromString() 49 edge.bottom_ = StringUtils::StringToDimension(offsets[0]); in FromString() 50 edge in FromString() [all...] |
H A D | border.h | 34 explicit Border(const BorderEdge& edge) : Border(edge, edge, edge, edge) {} in Border() argument 36 explicit Border(const BorderImageEdge& edge) : Border(edge, edge, edge, edge) {} in Border() argument 38 Border(const BorderEdge& edge, const Radius& radius) Border() argument 165 SetLeftEdge(const BorderEdge& edge) SetLeftEdge() argument 170 SetTopEdge(const BorderEdge& edge) SetTopEdge() argument 175 SetRightEdge(const BorderEdge& edge) SetRightEdge() argument 180 SetBottomEdge(const BorderEdge& edge) SetBottomEdge() argument [all...] |
H A D | edge.h | 59 // Parse string to edge, support four formats(value separated by one space): 60 // 1. 1px, edge has same value. 64 static bool FromString(const std::string& value, Edge& edge); 155 Edge operator+(const Edge& edge) const in operator +() 157 return Edge(left_ + edge.left_, top_ + edge.top_, right_ + edge.right_, bottom_ + edge.bottom_); in operator +() 160 Edge operator-(const Edge& edge) const in operator -() 162 return Edge(left_ - edge in operator -() [all...] |
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | property_animatable_helper.h | 23 #include "core/components/common/properties/edge.h" 46 BorderEdge edge = Get(*border); in Set() local 47 Dimension width = edge.GetWidth(); in Set() 52 edge.SetWidth(width); in Set() 53 std::bind(setter_, border, edge)(); in Set() 59 BorderEdge edge = Get(*border); in Set() local 60 if (edge.GetColor() == value) { in Set() 63 edge.SetColor(value); in Set() 64 std::bind(setter_, border, edge)(); in Set() 70 BorderEdge edge in Set() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_tab_bar.cpp | 212 Edge edge; in ParseEdge() local 217 edge.SetLeft(ParseDimension(offsets[0])); in ParseEdge() 218 edge.SetRight(ParseDimension(offsets[0])); in ParseEdge() 219 edge.SetTop(ParseDimension(offsets[0])); in ParseEdge() 220 edge.SetBottom(ParseDimension(offsets[0])); in ParseEdge() 223 edge.SetLeft(ParseDimension(offsets[0])); in ParseEdge() 224 edge.SetRight(ParseDimension(offsets[1])); in ParseEdge() 225 edge.SetTop(ParseDimension(offsets[0])); in ParseEdge() 226 edge.SetBottom(ParseDimension(offsets[0])); in ParseEdge() 229 edge in ParseEdge() [all...] |
H A D | dom_badge.cpp | 41 auto edge = boxComponent_->GetPadding(); in PrepareSpecializedComponent() local 42 if (edge == Edge::NONE) { in PrepareSpecializedComponent() 45 declaration->SetPadding(edge); in PrepareSpecializedComponent()
|
H A D | dom_button.cpp | 438 Edge edge; in PrepareWaitingWithText() local 439 edge.SetLeft(buttonDeclaration_->GetInnerPadding()); in PrepareWaitingWithText() 441 innerPadding->SetPadding(edge); in PrepareWaitingWithText() 488 Edge edge; in PrepareChildren() local 491 edge.SetBottom(INNER_PADDING); in PrepareChildren() 493 edge.SetTop(INNER_PADDING); in PrepareChildren() 495 edge.SetLeft(INNER_PADDING); in PrepareChildren() 497 edge.SetRight(INNER_PADDING); in PrepareChildren() 498 edge.SetBottom(Dimension(1.0, DimensionUnit::PX)); in PrepareChildren() 502 innerPaddingChild_->SetPadding(edge); in PrepareChildren() 532 auto edge = boxComponent_->GetPadding(); AddPadding() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_input_ai_checker.cpp | 61 auto edge = textRect.GetX() + textRect.Width(); in IsMultiClickAtBoundary() local 62 if (handleOffset.GetX() >= edge - FLOAT_DIFF_COMPARE) { in IsMultiClickAtBoundary() 64 handleOffset.GetX(), edge); in IsMultiClickAtBoundary()
|
/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/ |
H A D | navigation_bar_component_base.cpp | 59 Edge edge; in BuildPadding() local 61 edge.SetBottom(Dimension(size, DimensionUnit::VP)); in BuildPadding() 63 edge.SetRight(Dimension(size, DimensionUnit::VP)); in BuildPadding() 65 padding->SetPadding(edge); in BuildPadding()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_scroll_ffi.h | 34 void ScrollEdge(ScrollEdgeType edge); 75 CJ_EXPORT void FfiOHOSAceFrameworkScrollOnScrollEdge(void (*callback)(int32_t edge)); 84 CJ_EXPORT void FfiOHOSAceFrameworkScrollerScrollEdge(int64_t selfID, int32_t edge);
|
H A D | cj_scroll_ffi.cpp | 85 void NativeNGScroller::ScrollEdge(ScrollEdgeType edge) in ScrollEdge() argument 91 controller_->ScrollToEdge(edge, true); in ScrollEdge() 221 void FfiOHOSAceFrameworkScrollOnScrollEdge(void (*callback)(int32_t edge)) in FfiOHOSAceFrameworkScrollOnScrollEdge() argument 289 void FfiOHOSAceFrameworkScrollerScrollEdge(int64_t selfID, int32_t edge) in FfiOHOSAceFrameworkScrollerScrollEdge() argument 291 if (!Utils::CheckParamsValid(edge, SCROLL_EDGE_TYPES.size())) { in FfiOHOSAceFrameworkScrollerScrollEdge() 297 self_->ScrollEdge(SCROLL_EDGE_TYPES[edge]); in FfiOHOSAceFrameworkScrollerScrollEdge()
|
H A D | cj_transitioneffect_ffi.cpp | 63 int64_t FfiOHOSAceFrameworkTransitionEffectMove(int32_t edge) in FfiOHOSAceFrameworkTransitionEffectMove() argument 65 auto chainedTransitionEffect = NativeTransitionEffect::Move(edge); in FfiOHOSAceFrameworkTransitionEffectMove()
|
H A D | cj_transitioneffect_ffi.h | 36 CJ_EXPORT int64_t FfiOHOSAceFrameworkTransitionEffectMove(int32_t edge);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_piece.cpp | 59 Edge edge; in Create() local 60 edge.SetLeft(theme->GetPaddingHorizontal()); in Create() 61 edge.SetRight(theme->GetPaddingHorizontal()); in Create() 62 edge.SetTop(theme->GetPaddingVertical()); in Create() 63 edge.SetBottom(theme->GetPaddingVertical()); in Create() 64 box->SetPadding(edge); in Create()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/ |
H A D | bubble_paint_method.cpp | 91 BorderEdge edge = border_.Left(); in PaintBorder() local 93 edge = border_.GetValidEdge(); in PaintBorder() 94 border_ = Border(edge); in PaintBorder() 99 float borderWidth = edge.GetWidth().ConvertToPx(); in PaintBorder() 102 paint.SetColor(edge.GetColor().GetValue()); in PaintBorder() 104 if (edge.GetBorderStyle() == BorderStyle::DOTTED) { in PaintBorder() 116 } else if (edge.GetBorderStyle() == BorderStyle::DASHED) { in PaintBorder() 768 Edge edge; in GetArrowOffset() local 769 InitEdgeSize(edge); in GetArrowOffset() 773 motionRange = childSize_.Width() - edge in GetArrowOffset() 803 InitEdgeSize(Edge& edge) InitEdgeSize() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/ |
H A D | swiper_indicator_utils.h | 105 static float GetValidEdgeLength(float swiperLength, float indicatorLength, const Dimension& edge) in GetValidEdgeLength() argument 107 float edgeLength = edge.Unit() == DimensionUnit::PERCENT ? swiperLength * edge.Value() : edge.ConvertToPx(); in GetValidEdgeLength()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | utils.h | 575 inline std::string ConvertSideToString(AlignDeclaration::Edge edge) in ConvertSideToString() argument 577 if (edge == AlignDeclaration::Edge::TOP) { in ConvertSideToString() 579 } else if (edge == AlignDeclaration::Edge::CENTER) { in ConvertSideToString() 581 } else if (edge == AlignDeclaration::Edge::BOTTOM) { in ConvertSideToString() 583 } else if (edge == AlignDeclaration::Edge::BASELINE) { in ConvertSideToString() 585 } else if (edge == AlignDeclaration::Edge::START) { in ConvertSideToString() 587 } else if (edge == AlignDeclaration::Edge::MIDDLE) { in ConvertSideToString() 589 } else if (edge == AlignDeclaration::Edge::END) { in ConvertSideToString()
|
/foundation/arkui/ace_engine/frameworks/core/components/dialog_tween/ |
H A D | dialog_tween_component.h | 20 #include "core/components/common/properties/edge.h" 164 void SetMargin(const Edge& edge) in SetMargin() argument 166 margin_ = edge; in SetMargin()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/ |
H A D | dot_indicator_layout_algorithm.cpp | 126 float swiperLength, float indicatorLength, const Dimension& edge) in GetValidEdgeLength() 128 return SwiperIndicatorUtils::GetValidEdgeLength(swiperLength, indicatorLength, edge); in GetValidEdgeLength() 125 GetValidEdgeLength( float swiperLength, float indicatorLength, const Dimension& edge) GetValidEdgeLength() argument
|
H A D | dot_indicator_layout_algorithm.h | 54 static double GetValidEdgeLength(float swiperLength, float indicatorLength, const Dimension& edge);
|
/foundation/resourceschedule/ffrt/src/sync/ |
H A D | mutex_private.h | 66 void AddNode(uint64_t task, uint64_t ownerTask, bool edge) in AddNode() argument 70 if (edge) { in AddNode()
|
/foundation/arkui/ace_engine/frameworks/core/components/flex/ |
H A D | render_flex_item.cpp | 75 std::pair<AnimatableDimension, bool>& edge = in PerformLayout() local 77 edge.first = offset; in PerformLayout() 78 edge.second = true; in PerformLayout()
|