Home
last modified time | relevance | path

Searched refs:dipScale_ (Results 1 – 25 of 36) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dborder_image_painter.cpp29 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 Dborder_image_painter.h70 double dipScale_ = 0.0; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dscreen_system_manager.h60 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 Dmenu_layoutScd_test_ng.cpp261 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 Dmenu_pattern_test_ng.cpp140 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 Dmenu_expand_test_ng.cpp123 ScreenSystemManager::GetInstance().dipScale_ = 1.0; in TearDown()
H A Dmenu_origin_test_ng.cpp150 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 Dmenu_patternEx_test_ng.cpp146 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 Drender_badge.cpp128 dipScale_ = context->GetDipScale(); in PerformLayout()
136 Size paddingSize = badge_->GetPadding().GetLayoutSizeInPx(dipScale_); in PerformLayout()
H A Drender_badge.h68 double dipScale_ = 1.0; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drosen_mask_painter.cpp109 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 Drosen_mask_painter.h74 double dipScale_ = 1.0f; variable
H A Drosen_render_box.cpp357 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 Drosen_render_box.h232 double dipScale_ = 0.0; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/
H A Drender_collapsing_navigation_bar.cpp109 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 Drender_collapsing_navigation_bar.h76 double dipScale_ = 0.0; variable
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/pipeline/
H A Dmock_pipeline_context.h52 double dipScale_ = 1.0; variable
H A Dmock_pipeline_context.cpp800 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 Drender_text.h163 double dipScale_ = 1.0; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_base.cpp269 return (dimension.Value() * dipScale_); in NormalizeToPx()
279 return dimension.Value() / dipScale_; in ConvertPxToVp()
484 dipScale_ = density_ / viewScale_; in UpdateRootSizeAndScale()
H A Dpipeline_context.cpp2175 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 Drender_node.h183 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 Drosen_decoration_painter.h236 double dipScale_ = 1.0; variable
H A Drosen_decoration_painter.cpp1114 : 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 Drender_list.h437 double dipScale_ = 1.0; variable

12