Home
last modified time | relevance | path

Searched refs:rootHeight (Results 1 - 25 of 30) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components/form/
H A Drender_form.cpp25 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 Dsub_container.cpp94 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 Drender_plugin.cpp24 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 Dplugin_sub_container.cpp121 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 Dfull_screen_manager.cpp54 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 Dmock_pipeline_context.h35 void SetRootSize(double rootWidth, double rootHeight);
H A Dmock_pipeline_context.cpp167 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 Dvideo_full_screen_pattern.cpp66 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 Dsafe_area_manager.cpp93 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 Dsafe_area_manager.h125 bool UpdateKeyboardSafeArea(float keyboardHeight, std::optional<uint32_t> rootHeight = std::nullopt);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/
H A Dtoast_pattern.cpp196 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 Dscroll_bar.cpp227 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 Dsliding_panel_layout_algorithm.cpp124 auto rootHeight = PipelineContext::GetCurrentRootHeight(); in Layout() local
125 childOffset = OffsetF(childOffsetX, rootHeight); in Layout()
H A Dsliding_panel_pattern.cpp277 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 Dcomponent_test_tester_impl.cpp223 auto rootHeight = context->GetRootHeight(); in FlingImpl() local
225 NG::RectF screenRect(0.0, 0.0, rootWidth * scale, rootHeight * scale); in FlingImpl()
H A Daction.cpp218 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 Dcomponent_test_component_impl.cpp623 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 Dinspector.cpp166 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 Dinspector.cpp397 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 Dsafe_area_manager_test_ng.cpp298 * @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 Djs_inspector_manager.cpp120 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 Dtext_field_manager.cpp62 auto rootHeight = pipeline->GetRootHeight(); in SetClickPosition() local
63 if (GreatOrEqual(position.GetY(), rootHeight)) { in SetClickPosition()
/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_context.h299 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 Ddialog_layout_algorithm.cpp478 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 Drs_render_thread_visitor.cpp486 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()

Completed in 24 milliseconds

12