/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | border_image_painter.cpp | 29 dipScale_ = dipscaleInfo.vpScale; in BorderImagePainter() 72 … imageLeft.GetBorderImageSlice().NormalizeToPx(dipScale_, 0.0, lpxScale_, imageWidth_, leftSlice_); in InitBorderImageSlice() 75 …imageRight.GetBorderImageSlice().NormalizeToPx(dipScale_, 0.0, lpxScale_, imageWidth_, rightSlice_… in InitBorderImageSlice() 78 … imageTop.GetBorderImageSlice().NormalizeToPx(dipScale_, 0.0, lpxScale_, imageHeight_, topSlice_); in InitBorderImageSlice() 116 … widthProp_.leftDimen->NormalizeToPx(dipScale_, 0.0, lpxScale_, paintSize_.Width(), leftWidth_); in InitBorderImageWidth() 121 … widthProp_.rightDimen->NormalizeToPx(dipScale_, 0.0, lpxScale_, paintSize_.Width(), rightWidth_); in InitBorderImageWidth() 126 … widthProp_.topDimen->NormalizeToPx(dipScale_, 0.0, lpxScale_, paintSize_.Height(), topWidth_); in InitBorderImageWidth() 130 dipScale_, 0.0, lpxScale_, paintSize_.Height(), bottomWidth_); in InitBorderImageWidth() 173 … widthProp_.leftDimen->NormalizeToPx(dipScale_, 0.0, lpxScale_, paintSize_.Width(), leftOutset_); in InitBorderImageOutset() 183 … widthProp_.topDimen->NormalizeToPx(dipScale_, 0.0, lpxScale_, paintSize_.Height(), topOutset_); in InitBorderImageOutset() [all …]
|
H A D | border_image_painter.h | 70 double dipScale_ = 0.0; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | screen_system_manager.h | 60 dipScale_ = dipScale; in SetWindowInfo() 67 dipScale_ = dipScale; in SetWindowInfo() 83 return dipScale_; in GetDipScale() 101 double dipScale_ = 1.0; variable
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/ |
H A D | menu_layoutScd_test_ng.cpp | 261 context->dipScale_ = DIP_SCALE; 336 context->dipScale_ = DIP_SCALE; 399 context->dipScale_ = DIP_SCALE; 468 context->dipScale_ = DIP_SCALE; 529 context->dipScale_ = DIP_SCALE; 601 context->dipScale_ = DIP_SCALE; 671 context->dipScale_ = DIP_SCALE; 723 context->dipScale_ = DIP_SCALE; 769 context->dipScale_ = DIP_SCALE; 815 context->dipScale_ = DIP_SCALE; [all …]
|
H A D | menu_pattern_test_ng.cpp | 140 ScreenSystemManager::GetInstance().dipScale_ = 1.0; in TearDown() 218 ScreenSystemManager::GetInstance().dipScale_ = DIP_SCALE; 221 context->dipScale_ = DIP_SCALE; 253 ScreenSystemManager::GetInstance().dipScale_ = DIP_SCALE; 256 context->dipScale_ = DIP_SCALE; 288 ScreenSystemManager::GetInstance().dipScale_ = DIP_SCALE; 291 context->dipScale_ = DIP_SCALE; 722 context->dipScale_ = DIP_SCALE; 757 context->dipScale_ = DIP_SCALE; 792 context->dipScale_ = DIP_SCALE; [all …]
|
H A D | menu_expand_test_ng.cpp | 123 ScreenSystemManager::GetInstance().dipScale_ = 1.0; in TearDown()
|
H A D | menu_origin_test_ng.cpp | 150 ScreenSystemManager::GetInstance().dipScale_ = 1.0; in TearDown() 1670 ScreenSystemManager::GetInstance().dipScale_ = DIP_SCALE; 1710 ScreenSystemManager::GetInstance().dipScale_ = DIP_SCALE; 1752 ScreenSystemManager::GetInstance().dipScale_ = DIP_SCALE; 1797 ScreenSystemManager::GetInstance().dipScale_ = DIP_SCALE; 1842 ScreenSystemManager::GetInstance().dipScale_ = DIP_SCALE; 2074 ScreenSystemManager::GetInstance().dipScale_ = DIP_SCALE; 2078 context->dipScale_ = DIP_SCALE;
|
H A D | menu_patternEx_test_ng.cpp | 146 ScreenSystemManager::GetInstance().dipScale_ = 1.0; in TearDown() 1501 ScreenSystemManager::GetInstance().dipScale_ = DIP_SCALE; 1505 context->dipScale_ = DIP_SCALE; 1544 ScreenSystemManager::GetInstance().dipScale_ = DIP_SCALE; 1548 context->dipScale_ = DIP_SCALE;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/badge/ |
H A D | render_badge.cpp | 128 dipScale_ = context->GetDipScale(); in PerformLayout() 136 Size paddingSize = badge_->GetPadding().GetLayoutSizeInPx(dipScale_); in PerformLayout()
|
H A D | render_badge.h | 68 double dipScale_ = 1.0; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | rosen_mask_painter.cpp | 109 dipScale_ = pipelineContext->GetDipScale(); in LoadGradient() 182 decoration_, paintRect, Size(paintRect.Width(), paintRect.Height()), dipScale_); in GetGradientPaint() 194 decoration_, paintRect, Size(paintRect.Width(), paintRect.Height()), dipScale_); in GetGradientPaint()
|
H A D | rosen_mask_painter.h | 74 double dipScale_ = 1.0f; variable
|
H A D | rosen_render_box.cpp | 357 canvas.get(), renderBox->image_, renderBox->dipScale_); 454 …er = RosenDecorationPainter::CreateGradientShader(backDecoration_->GetGradient(), size, dipScale_); 1511 dipScale_ = context->GetDipScale(); 1530 static_cast<float>(dipScale_), 1555 RosenDecorationPainter::PaintBorder(rsNode, border, dipScale_); 1563 static_cast<int>(MATERIAL_BLUR_STYLE::STYLE_CARD_THICK_LIGHT), dipScale_);
|
H A D | rosen_render_box.h | 232 double dipScale_ = 0.0; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/ |
H A D | render_collapsing_navigation_bar.cpp | 109 if (!NearEqual(dipScale_, dipScale)) { in PerformLayout() 110 dipScale_ = dipScale; in PerformLayout() 111 … positionY_.Update(-scrollableHeight_, 0.0, BIGGER_TITLE_POSITION_OFFSET.ConvertToPx(dipScale_)); in PerformLayout()
|
H A D | render_collapsing_navigation_bar.h | 76 double dipScale_ = 0.0; variable
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/pipeline/ |
H A D | mock_pipeline_context.h | 52 double dipScale_ = 1.0; variable
|
H A D | mock_pipeline_context.cpp | 800 return (dimension.Value() * dipScale_); in NormalizeToPx() 852 return dimension.Value() / dipScale_; in ConvertPxToVp()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/ |
H A D | render_text.h | 163 double dipScale_ = 1.0; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/ |
H A D | pipeline_base.cpp | 269 return (dimension.Value() * dipScale_); in NormalizeToPx() 279 return dimension.Value() / dipScale_; in ConvertPxToVp() 484 dipScale_ = density_ / viewScale_; in UpdateRootSizeAndScale()
|
H A D | pipeline_context.cpp | 2175 dipScale_ = density_ / viewScale_; in OnSurfaceDensityChanged() 2188 if (!NearZero(viewScale_) && !NearZero(dipScale_)) { in OnSystemBarHeightChanged() 2189 statusBarHeight = statusBar / viewScale_ / dipScale_; in OnSystemBarHeightChanged() 2190 navigationBarHeight = navigationBar / viewScale_ / dipScale_; in OnSystemBarHeightChanged() 2249 ScreenSystemManager::GetInstance().SetWindowInfo(rootWidth_, density_, dipScale_); in SetRootSizeWithWidthHeight()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | render_node.h | 183 bool dipScaleChange = !NearEqual(pipeline->GetDipScale(), dipScale_); in Layout() 184 dipScale_ = pipeline->GetDipScale(); in Layout() 1316 double dipScale_ = 0.0; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | rosen_decoration_painter.h | 236 double dipScale_ = 1.0; variable
|
H A D | rosen_decoration_painter.cpp | 1114 : dipScale_(dipScale), paintRect_(paintRect), decoration_(decoration), paintSize_(paintSize) in RosenDecorationPainter() 1160 PaintBorder(rsNode, borderFour, dipScale_); in PaintDecoration() 1292 PaintBorder(rsNode, border, dipScale_); in PaintDecoration() 1327 PaintBorder(rsNode, border, dipScale_); in PaintDecoration() 3101 auto shader = CreateGradientShader(gradient, size, dipScale_); in PaintShadow() 3117 return CreateGradientShader(gradient, size, dipScale_); in PaintShadow() 3182 return (dimension.Value() * dipScale_); in PaintShadow()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | render_list.h | 437 double dipScale_ = 1.0; variable
|