Home
last modified time | relevance | path

Searched refs:GetDipScale (Results 1 – 25 of 59) sorted by relevance

123

/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Ddimension.cpp96 return value_ / pipeline->GetDipScale(); in ConvertToVp()
99 return value_ / pipeline->GetDipScale(); in ConvertToVp()
105 return value_ * pipeline->GetLogicScale() / pipeline->GetDipScale(); in ConvertToVp()
122 return value_ * pipeline->GetDipScale(); in ConvertToPx()
145 return value_ / pipeline->GetDipScale() / fontScale; in ConvertToFp()
148 return value_ / pipeline->GetDipScale() / fontScale; in ConvertToFp()
154 return value_ * pipeline->GetLogicScale() / pipeline->GetDipScale() / fontScale; in ConvertToFp()
181 return value_ * pipeline->GetDipScale(); in ConvertToPxDistribute()
196 return value_ * pipeline->GetDipScale() * fontScale; in ConvertToPxByCustomFontScale()
205 return value_ * pipeline->GetDipScale() * fontScale; in ConvertToPxByAppFontScale()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_measure_layout.cpp51 constraint->SetProperty<double>("minWidth", minSize.Width() / pipeline->GetDipScale()); in GenConstraintNG()
52 constraint->SetProperty<double>("minHeight", minSize.Height() / pipeline->GetDipScale()); in GenConstraintNG()
53 constraint->SetProperty<double>("maxWidth", maxSize.Width() / pipeline->GetDipScale()); in GenConstraintNG()
54 constraint->SetProperty<double>("maxHeight", maxSize.Height() / pipeline->GetDipScale()); in GenConstraintNG()
71 constraint->SetProperty<double>("minWidth", minSize.Width() / pipeline->GetDipScale()); in GenPlaceChildrenConstraintNG()
72 constraint->SetProperty<double>("minHeight", minSize.Height() / pipeline->GetDipScale()); in GenPlaceChildrenConstraintNG()
128 double px2vpScale = pipeline ? 1.0 / pipeline->GetDipScale() : 1.0; in GenEdgesGlobalized()
145 double px2vpScale = pipeline ? 1.0 / pipeline->GetDipScale() : 1.0; in GenBorderWidthGlobalized()
218 GreatNotEqual(originGeoRect.Width(), 0.0f) ? originGeoRect.Width() / pipeline->GetDipScale() in GenSelfLayoutInfo()
223 … GreatNotEqual(originGeoRect.Height(), 0.0f) ? originGeoRect.Height() / pipeline->GetDipScale() in GenSelfLayoutInfo()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dgrid_system_manager.h63 double GetDipScale() const in GetDipScale() function
65 return ScreenSystemManager::GetInstance().GetDipScale(); in GetDipScale()
H A Dgrid_column_info.cpp49 double dipScale = GridSystemManager::GetInstance().GetDipScale(); in GetWidth()
99 double dipScale = GridSystemManager::GetInstance().GetDipScale(); in GetOffset()
H A Dscreen_system_manager.cpp47 auto dipScale = context->GetDipScale(); in GetSize()
H A Dgrid_container_info.cpp57 double dipScale = GridSystemManager::GetInstance().GetDipScale(); in BuildColumnWidth()
H A Dscreen_system_manager.h81 double GetDipScale() const in GetDipScale() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/piece/
H A Drender_piece.cpp64 size = parent->GetLayoutSize() - margin.GetLayoutSizeInPx(context->GetDipScale()); in OnPaintFinish()
65 globalOffset = parent->GetGlobalOffset() + margin.GetOffsetInPx(context->GetDipScale()); in OnPaintFinish()
H A Drosen_render_piece.cpp44 pieceSize -= margin.GetLayoutSizeInPx(context->GetDipScale()); in Paint()
45 pieceOffset += margin.GetOffsetInPx(context->GetDipScale()); in Paint()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/positioned/
H A Drosen_render_positioned.cpp28 auto dipScale = context->GetDipScale(); in Update()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dcalc_length.cpp30 scaleProperty.vpScale = static_cast<float>(pipeline->GetDipScale()); in CreateScaleProperty()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/clip/
H A Drosen_render_clip.cpp56 double dipScale = context->GetDipScale(); in SyncGeometryProperties()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Drosen_render_tab_bar_item.cpp45 double dipScale = pipelineContext->GetDipScale(); in Paint()
H A Drender_tab_bar.cpp165 tabItemOffsets_.emplace_back(padding_.GetOffsetInPx(context->GetDipScale())); in PerformLayoutChildren()
593 childSize += indicatorPadding_.GetLayoutSizeInPx(context->GetDipScale()); in MakeIndicatorLayoutParam()
624 …0.0, childSize.Height() / DOUBLE_FACTOR) + indicatorPadding_.GetOffsetInPx(context->GetDipScale()); in MakeIndicatorOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Drender_single_child_scroll.cpp202 Size paddingSize = padding_.GetLayoutSizeInPx(context->GetDipScale()); in PerformLayout()
203 Offset paddingOffset = padding_.GetOffsetInPx(context->GetDipScale()); in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/media_query/
H A Dmedia_queryer.cpp85 if (pipeline && !NearZero(pipeline->GetDipScale())) { in TransferValue()
86 transfer = 1.0 / pipeline->GetDipScale(); in TransferValue()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tip/
H A Drender_tip.cpp63 childSize_ = layoutSize + padding_.GetLayoutSizeInPx(context->GetDipScale()); in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/badge/
H A Drender_badge.cpp128 dipScale_ = context->GetDipScale(); in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drosen_render_list_item.cpp129 dipScale = pipelineContext->GetDipScale(); in PaintUniversalBackground()
192 pipelineContext ? pipelineContext->GetDipScale() : 1.0); in PaintWithFocusEffect()
H A Drender_list_item.cpp129 scale = pipelineContext->GetDipScale(); in CalculateScaleFactorOnWatch()
152 scale = pipelineContext->GetDipScale(); in CalculateScaleFactorOnWatch()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/refresh/
H A Drender_refresh.cpp158 scale_ = context->GetDipScale(); in CalcLoadingParams()
611 if (!NearEqual(scale_, context->GetDipScale())) { in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_grid_container.cpp67 auto dipScale = GridSystemManager::GetInstance().GetDipScale(); in CallSpecializedMethod()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drosen_render_text_field.cpp279 … decoration_, GetPaintRect() - deflateSize, size - deflateSize, pipelineContext->GetDipScale()); in PaintDecoration()
519 …PaintRect() - deflateSize, GetPaintRect().GetSize() - deflateSize, pipelineContext->GetDipScale());
710 decorationHeight = decoration_->VerticalSpaceOccupied(pipelineContext->GetDipScale());
729 innerRect_ = GetInnerRect(*decoration_, innerRect_, pipelineContext->GetDipScale());
784 … limitWidth = maxWidth - decoration_->HorizontalSpaceOccupied(pipelineContext->GetDipScale());
1895 … lastLayoutSize_.Height() < decoration_->VerticalSpaceOccupied(pipelineContext->GetDipScale())) {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/transform/
H A Drosen_render_transform.cpp206 auto dipScale = context->GetDipScale(); in ConvertDimensionToScaleBySize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Drosen_render_radio.cpp223 dipScale = pipelineContext->GetDipScale(); in DrawTouchBoard()

123