Home
last modified time | relevance | path

Searched refs:nodeWidth (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_input_response_area.h39 virtual void Layout(LayoutWrapper* layoutWrapper, int32_t index, float& nodeWidth) = 0;
45 …tual OffsetF GetChildOffset(SizeF parentSize, RectF contentRect, SizeF childSize, float nodeWidth);
58 void LayoutChild(LayoutWrapper* layoutWrapper, int32_t index, float& nodeWidth);
78 void Layout(LayoutWrapper* layoutWrapper, int32_t index, float& nodeWidth) override;
146 void Layout(LayoutWrapper* layoutWrapper, int32_t index, float& nodeWidth) override;
177 void Layout(LayoutWrapper* layoutWrapper, int32_t index, float& nodeWidth) override;
H A Dtext_input_response_area.cpp40 …d TextInputResponseArea::LayoutChild(LayoutWrapper* layoutWrapper, int32_t index, float& nodeWidth) in LayoutChild() argument
57 auto childOffset = GetChildOffset(textInputFrameSize, contentRect, childFrameSize, nodeWidth); in LayoutChild()
63 nodeWidth += childFrameSize.Width(); in LayoutChild()
73 return OffsetF(nodeWidth, offset.GetY()); in GetChildOffset()
75 return OffsetF(parentSize.Width() - childSize.Width() - nodeWidth, offset.GetY()); in GetChildOffset()
278 void PasswordResponseArea::Layout(LayoutWrapper* layoutWrapper, int32_t index, float& nodeWidth) in Layout() argument
283 LayoutChild(layoutWrapper, index, nodeWidth); in Layout()
412 void UnitResponseArea::Layout(LayoutWrapper* layoutWrapper, int32_t index, float& nodeWidth) in Layout() argument
417 LayoutChild(layoutWrapper, index, nodeWidth); in Layout()
455 void CleanNodeResponseArea::Layout(LayoutWrapper *layoutWrapper, int32_t index, float &nodeWidth) in Layout() argument
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/symbol_animation/
H A Dsymbol_node_build.cpp105 float nodeWidth = rect.GetWidth(); in DecomposeSymbolAndDraw() local
107 Vector4f nodeBounds = Vector4f(offsetX_, offsetY_, nodeWidth, nodeHeight); in DecomposeSymbolAndDraw()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/symbol_engine/
H A Dhm_symbol_node_build.cpp226 float nodeWidth = rect.GetWidth(); in DecomposeSymbolAndDraw() local
228 Vector4f nodeBounds = Vector4f(offsetX_, offsetY_, nodeWidth, nodeHeight); in DecomposeSymbolAndDraw()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp2687 …double noGreenBorderWidth = GreatOrEqual(nodeWidth - (2 * lineWidth), 0.0) ? (nodeWidth - (2 * lin… in UpdateAccessibilityRoundRect()
3219 float nodeWidth = geometryNode->GetFrameSize().Width(); in RoundToPixelGrid() local
3221 float absoluteRight = relativeLeft + nodeWidth; in RoundToPixelGrid()
3260 float nodeWidth = geometryNode->GetFrameSize().Width(); in RoundToPixelGrid() local
3262 float absoluteRight = relativeLeft + nodeWidth; in RoundToPixelGrid()
3310 float nodeWidth = geometryNode->GetFrameSize().Width(); in OnePixelRounding() local
3314 float absoluteRight = relativeLeft + nodeWidth; in OnePixelRounding()
3324 float nodeWidthTemp = OnePixelValueRounding(nodeWidth); in OnePixelRounding()
3325 roundToPixelErrorX += nodeWidthI - nodeWidth; in OnePixelRounding()
3368 float absoluteRight = relativeLeft + nodeWidth; in OnePixelRounding()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/
H A Dxcomponent_pattern.cpp1829 float nodeWidth = width; in AdjustPaintRect() local
1831 float absoluteRight = relativeLeft + nodeWidth; in AdjustPaintRect()
1844 float nodeWidthTemp = RoundValueToPixelGrid(nodeWidth, isRound, false, false); in AdjustPaintRect()
1845 roundToPixelErrorX += nodeWidthI - nodeWidth; in AdjustPaintRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_pattern.cpp204 float nodeWidth = width; in AdjustPaintRect() local
206 float absoluteRight = relativeLeft + nodeWidth; in AdjustPaintRect()
219 float nodeWidthTemp = RoundValueToPixelGrid(nodeWidth, isRound, false, false); in AdjustPaintRect()
220 roundToPixelErrorX += nodeWidthI - nodeWidth; in AdjustPaintRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/relative_container/
H A Drelative_container_layout_algorithm.cpp1919 auto nodeWidth = childWrapper->GetGeometryNode()->GetMarginFrameSize().Width(); in AdjustOffsetRtl() local
1920 auto newNodeX = containerWidth - nodeWidth - oldNodeX - padding_.Width(); in AdjustOffsetRtl()