/foundation/arkui/ace_engine/frameworks/core/components/form/ |
H A D | render_form.cpp | 25 Dimension rootHeight = 0.0_vp; in Update() local 28 rootHeight = form->GetHeight(); in Update() 31 if (rootWidht_ == rootWidht && rootHeight_ == rootHeight) { in Update() 36 if (rootWidht.IsValid() && rootHeight.IsValid()) { in Update() 37 drawSize_ = Size(NormalizeToPx(rootWidht), NormalizeToPx(rootHeight)); in Update() 40 rootHeight_ = rootHeight; in Update()
|
H A D | sub_container.cpp | 94 Dimension rootHeight = 0.0_vp; in UpdateRootElementSize() local 103 rootHeight = formInfo->height; in UpdateRootElementSize() 109 rootHeight = formComponent->GetHeight(); in UpdateRootElementSize() 113 if (rootWidht_ == rootWidth && rootHeight_ == rootHeight) { in UpdateRootElementSize() 119 surfaceHeight_ = outSidePipelineContext_.Upgrade()->NormalizeToPx(rootHeight); in UpdateRootElementSize() 121 pipelineContext_->SetRootSize(density_, rootWidth.Value(), rootHeight.Value()); in UpdateRootElementSize()
|
/foundation/arkui/ace_engine/frameworks/core/components/plugin/ |
H A D | render_plugin.cpp | 24 Dimension rootHeight = 0.0_vp; in Update() local 27 rootHeight = plugin->GetHeight(); in Update() 30 if (rootWidth_ == rootWidth && rootHeight_ == rootHeight) { in Update() 34 rootHeight_ = rootHeight; in Update()
|
H A D | plugin_sub_container.cpp | 121 Dimension rootHeight = 0.0_vp; in UpdateRootElementSize() local 130 rootHeight = pluginInfo->height; in UpdateRootElementSize() 136 rootHeight = pluginComponent->GetHeight(); in UpdateRootElementSize() 140 if (rootWidth_ == rootWidth && rootHeight_ == rootHeight) { in UpdateRootElementSize() 144 surfaceHeight_ = outSidePipelineContext_.Upgrade()->NormalizeToPx(rootHeight); in UpdateRootElementSize() 146 pipelineContext_->SetRootSize(density_, rootWidth.Value(), rootHeight.Value()); in UpdateRootElementSize()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/full_screen/ |
H A D | full_screen_manager.cpp | 54 auto rootHeight = PipelineContext::GetCurrentRootHeight(); in RequestFullScreen() local 56 auto calcRootHeight = CalcLength(rootHeight); in RequestFullScreen() 59 parentLayoutConstraint.maxSize.SetHeight(static_cast<float>(rootHeight)); in RequestFullScreen()
|
/foundation/arkui/ace_engine/test/mock/core/pipeline/ |
H A D | mock_pipeline_context.h | 35 void SetRootSize(double rootWidth, double rootHeight);
|
H A D | mock_pipeline_context.cpp | 167 void MockPipelineContext::SetRootSize(double rootWidth, double rootHeight) in SetRootSize() argument 170 rootHeight_ = rootHeight; in SetRootSize()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/ |
H A D | video_full_screen_pattern.cpp | 66 float rootHeight = PipelineContext::GetCurrentRootHeight(); in RequestFullScreen() local 68 parentConstraint.maxSize.SetHeight(rootHeight); in RequestFullScreen()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/safe_area/ |
H A D | safe_area_manager.cpp | 93 bool SafeAreaManager::UpdateKeyboardSafeArea(float keyboardHeight, std::optional<uint32_t> rootHeight) in UpdateKeyboardSafeArea() argument 99 bottom = rootHeight.has_value() ? rootHeight.value() : PipelineContext::GetCurrentRootHeight(); in UpdateKeyboardSafeArea()
|
H A D | safe_area_manager.h | 125 bool UpdateKeyboardSafeArea(float keyboardHeight, std::optional<uint32_t> rootHeight = std::nullopt);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/ |
H A D | toast_pattern.cpp | 196 auto rootHeight = wrapperRect_.Height(); in GetOffsetY() local 206 offsetY = Dimension(rootHeight - toastBottom - textHeight); in GetOffsetY() 208 offsetY = Dimension(rootHeight - toastBottom); in GetOffsetY() 217 offsetY = Dimension((rootHeight - textHeight) / 2.0f); in GetOffsetY() 219 offsetY = Dimension(rootHeight - textHeight); in GetOffsetY() 246 auto rootHeight = Dimension(wrapperRect_.Height()); in GetBottomValue() local 255 toastBottom = rootHeight * toastBottom.Value(); in GetBottomValue()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | scroll_bar.cpp | 227 auto rootHeight = context->GetRootHeight(); in GetRootSize() local 229 return Size(rootWidth, rootHeight); in GetRootSize()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/ |
H A D | sliding_panel_layout_algorithm.cpp | 124 auto rootHeight = PipelineContext::GetCurrentRootHeight(); in Layout() local 125 childOffset = OffsetF(childOffsetX, rootHeight); in Layout()
|
H A D | sliding_panel_pattern.cpp | 277 auto rootHeight = PipelineContext::GetCurrentRootHeight(); in FirstLayout() local 279 currentOffset_ = rootHeight; in FirstLayout() 313 auto rootHeight = PipelineContext::GetCurrentRootHeight(); in IsShowChanged() local 314 AnimateTo(rootHeight, mode_.value_or(PanelMode::HALF)); in IsShowChanged()
|
/foundation/arkui/ace_engine/frameworks/component_test/core/ |
H A D | component_test_tester_impl.cpp | 223 auto rootHeight = context->GetRootHeight(); in FlingImpl() local 225 NG::RectF screenRect(0.0, 0.0, rootWidth * scale, rootHeight * scale); in FlingImpl()
|
H A D | action.cpp | 218 auto rootHeight = context->GetRootHeight(); in Decompose() local 220 NG::RectF screenRect(0, 0, rootWidth * scale, rootHeight * scale); in Decompose() 272 auto rootHeight = context->GetRootHeight(); in Decompose() local 274 NG::RectF screenRect(0, 0, rootWidth * scale, rootHeight * scale); in Decompose()
|
H A D | component_test_component_impl.cpp | 623 auto rootHeight = context->GetRootHeight(); in GetContextInfo() local 625 deviceRect.SetRect(0, 0, rootWidth * scale, rootHeight * scale); in GetContextInfo() 627 jsonRoot->Put(INSPECTOR_HEIGHT, std::to_string(rootHeight * scale).c_str()); in GetContextInfo()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | inspector.cpp | 166 double rootHeight = context->GetRootHeight(); in GetInspectorTree() local 169 jsonRoot->Put(INSPECTOR_HEIGHT, std::to_string(rootHeight * scale).c_str()); in GetInspectorTree()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | inspector.cpp | 397 auto rootHeight = context->GetRootHeight(); in GetContextInfo() local 399 deviceRect.SetRect(0, 0, rootWidth * scale, rootHeight * scale); in GetContextInfo() 401 jsonRoot->Put(INSPECTOR_HEIGHT, std::to_string(rootHeight * scale).c_str()); in GetContextInfo() 739 auto rootHeight = context->GetRootHeight(); in GetSimplifiedInspector() local 741 deviceRect.SetRect(0, 0, rootWidth * scale, rootHeight * scale); in GetSimplifiedInspector() 743 jsonRoot->Put(INSPECTOR_HEIGHT, std::to_string(rootHeight * scale).c_str()); in GetSimplifiedInspector()
|
/foundation/arkui/ace_engine/test/unittest/core/manager/ |
H A D | safe_area_manager_test_ng.cpp | 298 * @tc.steps: step3 call UpdateKeyboardSafeAreaTest systemArea not valid and has rootHeight in HWTEST_F() 300 uint32_t rootHeight = SYSTEM_BOTTOM_START; in HWTEST_F() local 302 safeAreaManager_->UpdateKeyboardSafeArea(KEYBOARD_HEIGHT, rootHeight); in HWTEST_F() 304 EXPECT_EQ(retKbi.start, rootHeight - KEYBOARD_HEIGHT); in HWTEST_F() 305 EXPECT_EQ(retKbi.end, rootHeight); in HWTEST_F()
|
/foundation/arkui/ace_engine/adapter/preview/inspector/ |
H A D | js_inspector_manager.cpp | 120 double rootHeight = context->GetRootHeight(); in AssembleJSONTree() local 122 deviceRect_ = Rect(0, 0, rootWidth * scale, rootHeight * scale); in AssembleJSONTree() 124 jsonNode->Put(INSPECTOR_HEIGHT, std::to_string(rootHeight * scale).c_str()); in AssembleJSONTree()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_manager.cpp | 62 auto rootHeight = pipeline->GetRootHeight(); in SetClickPosition() local 63 if (GreatOrEqual(position.GetY(), rootHeight)) { in SetClickPosition()
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/ |
H A D | pipeline_context.h | 299 void SetRootHeight(double rootHeight) in SetRootHeight() argument 301 if (rootHeight > 0.0) { in SetRootHeight() 302 rootHeight_ = rootHeight; in SetRootHeight()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | dialog_layout_algorithm.cpp | 478 auto rootHeight = PipelineContext::GetCurrentRootHeight(); in ProcessMaskRect() local 479 RectF rect = RectF(offset.GetX().ConvertToPxWithSize(rootWidth), offset.GetY().ConvertToPxWithSize(rootHeight), in ProcessMaskRect() 480 width.ConvertToPxWithSize(rootWidth), height.ConvertToPxWithSize(rootHeight)); in ProcessMaskRect()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/ |
H A D | rs_render_thread_visitor.cpp | 486 const float rootHeight = property.GetFrameHeight() * property.GetScaleY(); in ProcessRootRenderNode() local 489 Gravity::RESIZE, RectF { 0.0f, 0.0f, bufferWidth, bufferHeight }, rootWidth, rootHeight, gravityMatrix); in ProcessRootRenderNode()
|