Searched refs:totalWidth (Results 1 - 7 of 7) sorted by relevance
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_digital_clock.cpp | 201 uint16_t totalWidth = timeLabels_[HOUR_ELEMENT]->GetWidth() + timeLabels_[MINUTE_ELEMENT]->GetWidth() + in SetHorizontal() local 207 x = (rect.GetWidth() >> 1) - (totalWidth >> 1); in SetHorizontal() 209 x = rect.GetRight() - totalWidth; in SetHorizontal()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/ |
H A D | data_panel_modifier.cpp | 325 auto totalWidth = context.width; in PaintLinearProgress() local 341 scaleMaxValue = (totalWidth - segmentSize * spaceWidth) / max_->Get(); in PaintLinearProgress() 345 PaintBackground(canvas, offset, totalWidth, context.height, firstSegmentWidth); in PaintLinearProgress() 358 segmentLinearData.totalWidth = totalWidth; in PaintLinearProgress() 369 if (GreatOrEqual(segmentLinearData.segmentWidth + segmentLinearData.xSegment, totalWidth)) { in PaintLinearProgress() 370 segmentLinearData.segmentWidth = totalWidth - preWidthSegment; in PaintLinearProgress() 398 RSCanvas& canvas, OffsetF offset, float totalWidth, float height, float segmentWidth) const in PaintBackground() 404 RSRect rRect(offset.GetX(), offset.GetY(), totalWidth + offset.GetX(), height + offset.GetY()); in PaintBackground() 471 canvas.Translate(segmentLinearData.totalWidth, in PaintColorSegment() 397 PaintBackground( RSCanvas& canvas, OffsetF offset, float totalWidth, float height, float segmentWidth) const PaintBackground() argument [all...] |
H A D | data_panel_modifier.h | 69 float totalWidth = 0.0f; member 188 void PaintBackground(RSCanvas& canvas, OffsetF offset, float totalWidth, float height, float segmentWidth) const;
|
/foundation/arkui/ace_engine/frameworks/core/components/data_panel/ |
H A D | rosen_render_data_panel.h | 58 void PaintBackground(RenderContext& context, const Offset& leftTop, double totalWidth, double height);
|
H A D | rosen_render_data_panel.cpp | 871 RenderContext& context, const Offset& leftTop, double totalWidth, double height) in PaintBackground() 880 rRect.setRectXY(SkRect::MakeWH(totalWidth, height), height, height); in PaintBackground() 887 { leftTop.GetX(), leftTop.GetY(), totalWidth + leftTop.GetX(), height + leftTop.GetY() }, backgroundPaint); in PaintBackground() 890 RSRoundRect rRect(RSRect(0, 0, totalWidth, height), height, height); in PaintBackground() 896 canvas->DrawRect(RSRect(leftTop.GetX(), leftTop.GetY(), totalWidth + leftTop.GetX(), height + leftTop.GetY())); in PaintBackground() 966 auto totalWidth = GetLayoutSize().Width(); in PaintLinearProgress() local 986 scaleMaxValue = (totalWidth - segmentSize * spaceWidth) / GetMaxValue(); in PaintLinearProgress() 990 PaintBackground(context, offset, totalWidth, height); in PaintLinearProgress() 870 PaintBackground( RenderContext& context, const Offset& leftTop, double totalWidth, double height) PaintBackground() argument
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | render_picker_base.cpp | 388 double totalWidth = columnParent_->GetLayoutSize().Width(); in LayoutColumns() local 394 double oneWidth = divideEvenly ? totalWidth / columns_.size() : totalWidth / ratioCount; in LayoutColumns()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_bar_layout_algorithm.cpp | 677 auto totalWidth = contentMainSize_ - scrollMargin_ * TWO; in HandleAlwaysAverageSplitLayoutStyle() local 683 allocatedItemWidth = totalWidth / remainingChildCount; in HandleAlwaysAverageSplitLayoutStyle() 691 totalWidth -= originalVisibleItemLength[index]; in HandleAlwaysAverageSplitLayoutStyle() 694 } while (hasLongItem && remainingChildCount > 0 && Positive(totalWidth)); in HandleAlwaysAverageSplitLayoutStyle()
|
Completed in 9 milliseconds