Home
last modified time | relevance | path

Searched refs:cross (Results 1 - 17 of 17) sorted by relevance

/foundation/arkui/ui_lite/frameworks/components/
H A Dui_chart.cpp710 Point& cross) in GetLineCrossPoint()
732 cross.x = static_cast<int16_t>(right / left); in GetLineCrossPoint()
738 cross.y = static_cast<int16_t>(right / left); in GetLineCrossPoint()
739 if ((cross.x >= MATH_MIN(p1.x, p2.x)) && (cross.x <= MATH_MAX(p1.x, p2.x)) && in GetLineCrossPoint()
740 (cross.x >= MATH_MIN(p3.x, p4.x)) && (cross.x <= MATH_MAX(p3.x, p4.x))) { in GetLineCrossPoint()
752 void UIChartPolyline::FindCrossPoints(const ChartLine& line, const ChartLine& polyLine, CrossPointSet& cross) in FindCrossPoints() argument
754 if (GetLineCrossPoint(line.start, line.end, polyLine.start, polyLine.end, cross.nextFirst)) { in FindCrossPoints()
756 if (!cross in FindCrossPoints()
706 GetLineCrossPoint(const Point& p1, const Point& p2, const Point& p3, const Point& p4, Point& cross) GetLineCrossPoint() argument
805 CrossPointSet cross = {{0}}; DrawGradientColor() local
847 SetDrawLineCross(BufferInfo& gfxDstBuffer, const Rect& invalidatedArea, UIChartDataSerial* data, CrossPointSet& cross, BaseGfxEngine* baseGfxEngine, int16_t startY, int16_t mixScale) SetDrawLineCross() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/
H A Drender_grid_scroll.cpp253 const RefPtr<RenderNode>& child, int32_t main, int32_t cross, int32_t mainSpan, int32_t crossSpan) in SetChildPosition()
268 for (int32_t i = 0; i < cross; ++i) { in SetChildPosition()
271 positionCross += cross * (*crossGap_); in SetChildPosition()
282 crossLen += GetSize(gridCells_.at(main).at(cross + i), false); in SetChildPosition()
407 void RenderGridScroll::BuildGrid(std::vector<double>& main, std::vector<double>& cross) in BuildGrid() argument
411 cross = ParseArgs(GetColumnsTemplate(), colSize_, colGap_); in BuildGrid()
413 cross = ParseArgs(GetColumnsTemplate(), colSize_, colGap_); in BuildGrid()
415 for (auto width : cross) { in BuildGrid()
420 cross = ParseArgs(GetRowTemplate(), rowSize_, rowGap_); in BuildGrid()
422 for (auto height : cross) { in BuildGrid()
252 SetChildPosition( const RefPtr<RenderNode>& child, int32_t main, int32_t cross, int32_t mainSpan, int32_t crossSpan) SetChildPosition() argument
440 std::vector<double> cross; InitialGridProp() local
509 CheckGridPlaced( int32_t index, int32_t main, int32_t cross, int32_t& mainSpan, int32_t& crossSpan) CheckGridPlaced() argument
548 LayoutChild(const RefPtr<RenderNode>& child, int32_t main, int32_t cross, int32_t mainSpan, int32_t crossSpan, bool needPosition) LayoutChild() argument
596 MakeInnerLayoutParam( int32_t main, int32_t cross, int32_t mainSpan, int32_t crossSpan, bool itemIsPercentUnit) const MakeInnerLayoutParam() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/
H A Dwater_flow_segmented_layout.cpp237 for (int32_t cross = 0; cross < crossCnt; ++cross) { in SegmentedInit()
238 itemsCrossSize_[i][cross] = itemSize; in SegmentedInit()
255 std::pair<std::vector<double>, double> cross; in RegularInit() local
257 cross = ParseTemplateArgs( in RegularInit()
260 cross = ParseTemplateArgs( in RegularInit()
263 crossLens = cross.first; in RegularInit()
267 crossGaps_ = { cross.second }; in RegularInit()
H A Dwater_flow_layout_info.cpp57 // FlowItem that have not been loaded at the beginning of each cross need to be selected as startIndex_ for in UpdateStartIndex()
123 auto cross = items_[seg].find(crossIndex); in GetMainHeight() local
124 if (cross == items_[seg].end()) { in GetMainHeight()
127 auto item = cross->second.find(itemIndex); in GetMainHeight()
128 if (item == cross->second.end()) { in GetMainHeight()
141 auto cross = items_[GetSegment(itemIndex)].find(crossIndex); in GetStartMainPos() local
142 if (cross == items_[GetSegment(itemIndex)].end()) { in GetStartMainPos()
145 auto item = cross->second.find(itemIndex); in GetStartMainPos()
146 if (item == cross->second.end()) { in GetStartMainPos()
229 // first item height in this cross i in GetCrossIndexForNextItem()
[all...]
H A Dwater_flow_layout_info.h68 * @brief Get the next available cross index to place a new item.
233 ItemInfo(int32_t cross, float offset, float size) : crossIdx(cross), mainOffset(offset), mainSize(size) {} in ItemInfo()
H A Dwater_flow_layout_algorithm.cpp55 std::pair<std::vector<double>, double> cross; in InitialItemsCrossSize() local
57 cross = in InitialItemsCrossSize()
60 cross = in InitialItemsCrossSize()
63 crossLens = cross.first; in InitialItemsCrossSize()
67 crossGap_ = cross.second; in InitialItemsCrossSize()
69 // cross count changed by auto-fill and cross size change in InitialItemsCrossSize()
92 TAG_LOGI(AceLogTag::ACE_WATERFLOW, "cross size is 0, skip measure"); in Measure()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
H A Dwrap_layout_algorithm.h34 ContentInfo(float main, float cross, int32_t total, const std::list<RefPtr<LayoutWrapper>>& nodeList) in ContentInfo()
35 : mainLength(main), crossLength(cross), count(total), itemList(nodeList) in ContentInfo()
50 result.append(", cross length: "); in ToString()
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_chart.h920 bool GetLineCrossPoint(const Point& p1, const Point& p2, const Point& p3, const Point& p4, Point& cross);
921 void FindCrossPoints(const ChartLine& line, const ChartLine& polyLine, CrossPointSet& cross);
927 CrossPointSet& cross,
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/
H A Dwater_flow_layout_sw.cpp133 std::pair<std::vector<double>, double> cross; in SingleInit() local
137 cross = in SingleInit()
140 cross = ParseTemplateArgs(WaterFlowLayoutUtils::PreParseArgs(rowsTemplate), crossSize, crossGaps_[0], itemCnt_); in SingleInit()
142 if (cross.first.empty()) { in SingleInit()
143 cross.first = { crossSize }; in SingleInit()
145 crossGaps_[0] = cross.second; in SingleInit()
148 for (const auto& len : cross.first) { in SingleInit()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/
H A Dgrid_scroll_layout_algorithm.cpp333 std::pair<std::vector<double>, double> cross; in InitialItemsCrossSize() local
335 cross = ParseTemplateArgs(GridUtils::ParseArgs(rowsTemplate), crossSize, crossGap_, childrenCount); in InitialItemsCrossSize()
337 cross = ParseTemplateArgs(GridUtils::ParseArgs(columnsTemplate), crossSize, crossGap_, childrenCount); in InitialItemsCrossSize()
339 crossLens = cross.first; in InitialItemsCrossSize()
340 crossGap_ = cross.second; in InitialItemsCrossSize()
437 // adjust startMainLine based on the new cross count in ReloadToStartIndex()
696 auto cross = axis_ == Axis::VERTICAL ? crossCount_ : mainCount_; in NeedAdjust() local
711 if ((currentItemColStart_ < 0) || (currentItemColStart_ >= static_cast<int32_t>(cross))) { in NeedAdjust()
717 if ((currentItemColEnd_ < 0) || (currentItemColEnd_ >= static_cast<int32_t>(cross))) { in NeedAdjust()
1541 // [itemFractionCount] is now only in direction of cross axi in CreateChildConstraint()
1708 CheckGridPlaced( int32_t index, int32_t main, int32_t cross, int32_t mainSpan, int32_t crossSpan) CheckGridPlaced() argument
[all...]
H A Dgrid_scroll_layout_algorithm.h115 // Compote position of grid item in cross axis.
121 bool CheckGridPlaced(int32_t index, int32_t main, int32_t cross, int32_t mainSpan, int32_t crossSpan);
211 std::map<int32_t, float> itemsCrossSize_; // grid item's size in cross axis.
224 // Map structure: [index, crossPosition], store cross position of each item.
/foundation/arkui/napi/jsvm/
H A Dbuild_jsvm_inter.sh33 --cross-compiling \
/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/
H A Drender_water_flow.cpp1299 for (auto& cross : itemsByCrossIndex_) { in ClearItemsByCrossIndex()
1300 for (auto item = cross.begin(); item != cross.end();) { in ClearItemsByCrossIndex()
1302 item = cross.erase(item); in ClearItemsByCrossIndex()
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/
H A D3d_dm_lighting_common.h241 const vec3 bitangent = cross(polygonNormal, tangent.xyz) * tangentW.w; in CalcTbnMatrix()
255 const vec3 anisoTangent = cross(anisoDir, V); in GetAnistropicReflectionVector()
256 const vec3 anisoNormal = cross(anisoTangent, anisoDir); in GetAnistropicReflectionVector()
/foundation/multimodalinput/input/frameworks/napi/pointer/src/
H A Djs_pointer_context.cpp959 napi_value cross = nullptr; in CreatePointerStyle() local
960 CHKRP(napi_create_int32(env, MOUSE_ICON::CROSS, &cross), CREATE_INT32); in CreatePointerStyle()
1039 DECLARE_NAPI_STATIC_PROPERTY("CROSS", cross), in CreatePointerStyle()
/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/
H A Drender_grid_layout.cpp1525 for (int cross = 0; cross < colCount_; cross++) {
1526 auto crossIter = rowGrid->second.find(cross);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js5457 this.value?.space?.cross);

Completed in 42 milliseconds