Home
last modified time | relevance | path

Searched refs:SQUARE (Results 1 - 25 of 50) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Ddivider_painter.h36 dividerColor_(std::nullopt), lineCap_(LineCap::SQUARE) in DividerPainter()
40 dividerColor_(std::nullopt), lineCap_(LineCap::SQUARE) in DividerPainter()
H A Ddivider_painter.cpp26 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 Drosen_render_divider.cpp49 case LineCap::SQUARE: in Paint()
66 case LineCap::SQUARE: in Paint()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/
H A Ddivider_render_property.h62 propLineCap_.value_or(LineCap::SQUARE) == LineCap::BUTT
64 : (propLineCap_.value_or(LineCap::SQUARE) == LineCap::ROUND ? "ROUND" : "SQUARE"),
H A Ddivider_modifier.cpp44 lineCap = lineCap == LineCap::BUTT ? LineCap::SQUARE : lineCap; in onDraw()
H A Ddivider_paint_method.h54 if (lineCap_ == LineCap::SQUARE || lineCap_ == LineCap::ROUND) {
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_divider.cpp59 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 Ddivider_modifier.cpp45 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 Dcj_divider_ffi.cpp25 const std::vector<LineCap> LINECAP = { LineCap::BUTT, LineCap::ROUND, LineCap::SQUARE };
/foundation/arkui/ace_engine/test/mock/core/render/
H A Dmock_drawing_convertor.cpp38 case LineCap::SQUARE: in ToRSCapStyle()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dshape_abstract_model_impl.cpp63 if (static_cast<int>(LineCapStyle::SQUARE) == lineCapStyle) { in SetStrokeLineCap()
64 component->SetStrokeLineCap(LineCapStyle::SQUARE); in SetStrokeLineCap()
H A Dshape_model_impl.cpp143 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 Ddatepicker_paint_method.cpp62 DividerPainter dividerPainter(dividerLineWidth, contentRect.Width(), false, dividerColor, LineCap::SQUARE); in GetForegroundDrawFunction()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_content_modifier.cpp58 width_, 0, isVertical_, color_->Get().ToColor(), LineCap::SQUARE); in onDraw()
H A Dlist_item_group_paint_method.cpp47 dgInfo.constrainStrokeWidth, laneLen, vertical_, divider_.color, LineCap::SQUARE); in PaintDivider()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_divider.cpp48 divider.dividerChild_->SetLineCap(LineCap::SQUARE); in SetSpecializedStyle()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_paint_method.cpp63 DividerPainter dividerPainter(dividerLineWidth, contentRect.Width(), false, dividerColor, LineCap::SQUARE); in GetForegroundDrawFunction()
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drender_list_item.cpp137 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 Ddivider_composed_element.cpp103 case LineCap::SQUARE: in ConvertLineCapToString()
/foundation/arkui/ace_engine/frameworks/base/ressched/
H A Dressched_report.cpp270 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 Dcurve.h28 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 Dsk_painter.cpp92 } 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 Ddrawing_painter.cpp63 } else if (static_cast<int>(LineCapStyle::SQUARE) == lineCap) { in SetPen()
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dpaint_state.h147 SQUARE, member in OHOS::Ace::LineCapStyle
/foundation/multimodalinput/input/service/event_handler/src/
H A Devent_normalize_handler.cpp73 [[ 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()

Completed in 11 milliseconds

12