/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | dimension.cpp | 96 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 D | js_view_measure_layout.cpp | 51 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 D | grid_system_manager.h | 63 double GetDipScale() const in GetDipScale() function 65 return ScreenSystemManager::GetInstance().GetDipScale(); in GetDipScale()
|
H A D | grid_column_info.cpp | 49 double dipScale = GridSystemManager::GetInstance().GetDipScale(); in GetWidth() 99 double dipScale = GridSystemManager::GetInstance().GetDipScale(); in GetOffset()
|
H A D | screen_system_manager.cpp | 47 auto dipScale = context->GetDipScale(); in GetSize()
|
H A D | grid_container_info.cpp | 57 double dipScale = GridSystemManager::GetInstance().GetDipScale(); in BuildColumnWidth()
|
H A D | screen_system_manager.h | 81 double GetDipScale() const in GetDipScale() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/piece/ |
H A D | render_piece.cpp | 64 size = parent->GetLayoutSize() - margin.GetLayoutSizeInPx(context->GetDipScale()); in OnPaintFinish() 65 globalOffset = parent->GetGlobalOffset() + margin.GetOffsetInPx(context->GetDipScale()); in OnPaintFinish()
|
H A D | rosen_render_piece.cpp | 44 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 D | rosen_render_positioned.cpp | 28 auto dipScale = context->GetDipScale(); in Update()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | calc_length.cpp | 30 scaleProperty.vpScale = static_cast<float>(pipeline->GetDipScale()); in CreateScaleProperty()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/clip/ |
H A D | rosen_render_clip.cpp | 56 double dipScale = context->GetDipScale(); in SyncGeometryProperties()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | rosen_render_tab_bar_item.cpp | 45 double dipScale = pipelineContext->GetDipScale(); in Paint()
|
H A D | render_tab_bar.cpp | 165 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 D | render_single_child_scroll.cpp | 202 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 D | media_queryer.cpp | 85 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 D | render_tip.cpp | 63 childSize_ = layoutSize + padding_.GetLayoutSizeInPx(context->GetDipScale()); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/badge/ |
H A D | render_badge.cpp | 128 dipScale_ = context->GetDipScale(); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | rosen_render_list_item.cpp | 129 dipScale = pipelineContext->GetDipScale(); in PaintUniversalBackground() 192 pipelineContext ? pipelineContext->GetDipScale() : 1.0); in PaintWithFocusEffect()
|
H A D | render_list_item.cpp | 129 scale = pipelineContext->GetDipScale(); in CalculateScaleFactorOnWatch() 152 scale = pipelineContext->GetDipScale(); in CalculateScaleFactorOnWatch()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/refresh/ |
H A D | render_refresh.cpp | 158 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 D | dom_grid_container.cpp | 67 auto dipScale = GridSystemManager::GetInstance().GetDipScale(); in CallSpecializedMethod()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | rosen_render_text_field.cpp | 279 … 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 D | rosen_render_transform.cpp | 206 auto dipScale = context->GetDipScale(); in ConvertDimensionToScaleBySize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/ |
H A D | rosen_render_radio.cpp | 223 dipScale = pipelineContext->GetDipScale(); in DrawTouchBoard()
|