/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | divider_painter.h | 36 dividerColor_(std::nullopt), lineCap_(LineCap::SQUARE) in DividerPainter() 40 dividerColor_(std::nullopt), lineCap_(LineCap::SQUARE) in DividerPainter()
|
H A D | divider_painter.cpp | 26 pen.SetCapStyle(ToRSCapStyle(lineCap_.value_or(LineCap::SQUARE))); in DrawLine() 33 if (lineCap_.value_or(LineCap::SQUARE) == LineCap::BUTT) { in DrawLine()
|
/foundation/arkui/ace_engine/frameworks/core/components/divider/ |
H A D | rosen_render_divider.cpp | 49 case LineCap::SQUARE: in Paint() 66 case LineCap::SQUARE: in Paint()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/ |
H A D | divider_render_property.h | 62 propLineCap_.value_or(LineCap::SQUARE) == LineCap::BUTT 64 : (propLineCap_.value_or(LineCap::SQUARE) == LineCap::ROUND ? "ROUND" : "SQUARE"),
|
H A D | divider_modifier.cpp | 44 lineCap = lineCap == LineCap::BUTT ? LineCap::SQUARE : lineCap; in onDraw()
|
H A D | divider_paint_method.h | 54 if (lineCap_ == LineCap::SQUARE || lineCap_ == LineCap::ROUND) {
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_divider.cpp | 59 if (static_cast<int>(LineCap::SQUARE) == lineCap) { in SetLineCap() 60 lineCapStyle = LineCap::SQUARE; in SetLineCap()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | divider_modifier.cpp | 45 if (static_cast<int>(LineCap::SQUARE) == lineCap) { in SetDividerLineCap() 46 lineCapStyle = LineCap::SQUARE; in SetDividerLineCap()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_divider_ffi.cpp | 25 const std::vector<LineCap> LINECAP = { LineCap::BUTT, LineCap::ROUND, LineCap::SQUARE };
|
/foundation/arkui/ace_engine/test/mock/core/render/ |
H A D | mock_drawing_convertor.cpp | 38 case LineCap::SQUARE: in ToRSCapStyle()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | shape_abstract_model_impl.cpp | 63 if (static_cast<int>(LineCapStyle::SQUARE) == lineCapStyle) { in SetStrokeLineCap() 64 component->SetStrokeLineCap(LineCapStyle::SQUARE); in SetStrokeLineCap()
|
H A D | shape_model_impl.cpp | 143 if (static_cast<int>(LineCapStyle::SQUARE) == lineCapStyle) { in SetStrokeLineCap() 144 component->SetStrokeLineCap(LineCapStyle::SQUARE); in SetStrokeLineCap()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_paint_method.cpp | 62 DividerPainter dividerPainter(dividerLineWidth, contentRect.Width(), false, dividerColor, LineCap::SQUARE);
in GetForegroundDrawFunction()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_content_modifier.cpp | 58 width_, 0, isVertical_, color_->Get().ToColor(), LineCap::SQUARE); in onDraw()
|
H A D | list_item_group_paint_method.cpp | 47 dgInfo.constrainStrokeWidth, laneLen, vertical_, divider_.color, LineCap::SQUARE); in PaintDivider()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_divider.cpp | 48 divider.dividerChild_->SetLineCap(LineCap::SQUARE); in SetSpecializedStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_paint_method.cpp | 63 DividerPainter dividerPainter(dividerLineWidth, contentRect.Width(), false, dividerColor, LineCap::SQUARE); in GetForegroundDrawFunction()
|
/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | render_list_item.cpp | 137 auto ratio = std::pow(distance, SQUARE) * ITEM_RATIO / std::pow(ITEM_DISTANCE_BASE * scale, SQUARE); in CalculateScaleFactorOnWatch() 163 auto ratio = std::pow(distance, SQUARE) * ITEM_RATIO / std::pow(ITEM_DISTANCE_BASE * scale, SQUARE); in CalculateScaleFactorOnWatch()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | divider_composed_element.cpp | 103 case LineCap::SQUARE: in ConvertLineCapToString()
|
/foundation/arkui/ace_engine/frameworks/base/ressched/ |
H A D | ressched_report.cpp | 270 double distance = sqrt(pow(lastMoveInfo.x - upEventInfo.x, SQUARE) + pow(lastMoveInfo.y - upEventInfo.y, SQUARE)); in GetUpVelocity()
|
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | curve.h | 28 constexpr double SQUARE = 2.0; member 112 return 1.0f - std::pow(1.0f - time, SQUARE);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | sk_painter.cpp | 92 } else if (static_cast<int>(LineCapStyle::SQUARE) == lineCap) { in SetPen() 165 } else if (static_cast<int>(LineCapStyle::SQUARE) == lineCap) { in SetPen()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_painter.cpp | 63 } else if (static_cast<int>(LineCapStyle::SQUARE) == lineCap) { in SetPen()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | paint_state.h | 147 SQUARE, member in OHOS::Ace::LineCapStyle
|
/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | event_normalize_handler.cpp | 73 [[ maybe_unused ]] constexpr int32_t SQUARE { 2 }; 788 double offset = sqrt(pow(itemMove.GetDisplayX() - itemDown.GetDisplayX(), SQUARE) + in CalcTouchOffset() 789 pow(itemMove.GetDisplayY() - itemDown.GetDisplayY(), SQUARE)); in CalcTouchOffset()
|