Home
last modified time | relevance | path

Searched refs:contentHeight (Results 1 - 25 of 28) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components/semi_modal/
H A Drender_semi_modal.cpp185 auto contentHeight = GetScrollContentHeight(); in UpdateMinBlankHeight() local
187 contentHeight += dragBar_->GetLayoutSize().Height(); in UpdateMinBlankHeight()
189 contentHeight += navigationHeight_; in UpdateMinBlankHeight()
190 minBlankHeight_ = GetLayoutParam().GetMaxSize().Height() - contentHeight; in UpdateMinBlankHeight()
201 auto contentHeight = GetScrollContentHeight(); in UpdateDefaultBlankHeight() local
203 contentHeight += dragBar_->GetLayoutSize().Height(); in UpdateDefaultBlankHeight()
205 contentHeight += navigationHeight_; in UpdateDefaultBlankHeight()
209 maxSize.Height() - std::min(contentHeight, GetLayoutParam().GetMaxSize().Height() * CONTENT_DEFAULT_RATIO); in UpdateDefaultBlankHeight()
211 defaultBlankHeight_ = maxSize.Height() - std::min(contentHeight, inputHeight_); in UpdateDefaultBlankHeight()
288 auto contentHeight in FirstLayout() local
539 auto contentHeight = GetScrollContentHeight(); HandleDragEnd() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/
H A Drich_text_component.cpp50 [renderRichText, weak = WeakClaim(this)](int32_t width, int32_t height, int32_t contentHeight) { in CreateRenderNode()
64 [weakRender, width, height, contentHeight] { in CreateRenderNode()
67 renderRichText->UpdateLayoutParams(width, height, contentHeight); in CreateRenderNode()
H A Drender_rich_text.cpp166 void RenderRichText::UpdateLayoutParams(const int32_t width, const int32_t height, const int32_t contentHeight) in UpdateLayoutParams() argument
183 auto diff = contentHeight - height; in UpdateLayoutParams()
184 LOGI("richtext update layout h:%{public}d c-h:%{public}d", height, contentHeight); in UpdateLayoutParams()
H A Drender_rich_text.h40 void UpdateLayoutParams(const int32_t width, const int32_t height, const int32_t contentHeight);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_layout_algorithm.cpp57 auto contentHeight = childCount * itemSize_; in Measure() local
61 contentHeight = GreatNotEqual(contentHeight, maxContentHeight_) ? maxContentHeight_ : contentHeight; in Measure()
62 itemHeight_ = GreatNotEqual(contentHeight, 0.0f) && childCount > 0 ? contentHeight / childCount : 0.0f; in Measure()
65 : std::clamp(contentHeight + verticalPadding, 0.0f, layoutConstraint.maxSize.Height()); in Measure()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_area/
H A Dtext_area_layout_algorithm.cpp101 float contentHeight = 0.0f; in Measure() local
105 contentHeight = contentSize.Height(); in Measure()
111 contentHeight += counterSize.Height(); in Measure()
118 frameSize.SetHeight(contentHeight + pattern->GetVerticalPaddingAndBorderSum() + PARAGRAPH_SAVE_BOUNDARY); in Measure()
123 ConstraintHeight(layoutWrapper, frameSize, contentHeight); in Measure()
129 float contentHeight) in ConstraintHeight()
143 frameSize.SetHeight(contentHeight + pattern->GetVerticalPaddingAndBorderSum()); in ConstraintHeight()
128 ConstraintHeight(LayoutWrapper* layoutWrapper, OptionalSizeF& frameSize, float contentHeight) ConstraintHeight() argument
H A Dtext_area_layout_algorithm.h30 float contentHeight);
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dimage_analyzer_manager.cpp43 analyzerUIConfig_.contentHeight = pixelMap->GetHeight(); in CreateAnalyzerOverlay()
93 analyzerUIConfig_.contentHeight = info.contentHeight; in CreateMovingPhotoAnalyzerOverlay()
151 analyzerUIConfig_.contentHeight = pixelMap->GetHeight(); in UpdateAnalyzerOverlay()
183 analyzerUIConfig_.contentHeight = info.contentHeight; in UpdateMovingPhotoAnalyzerOverlay()
312 analyzerUIConfig_.contentHeight != frameSize.Height() - paddingHeight; in UpdateAnalyzerUIConfig()
315 analyzerUIConfig_.contentHeight = frameSize.Height()- paddingHeight; in UpdateAnalyzerUIConfig()
347 analyzerUIConfig_.contentHeight != info.height || in UpdateVideoConfig()
408 analyzerUIConfig_.contentHeight in UpdatePressOverlay()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/image/
H A Dimage_event.h28 int32_t loadingStatus = 1, double contentWidth = 0.0, double contentHeight = 0.0, double contentOffsetX = 0.0, in LoadImageSuccessEvent()
31 contentWidth_(contentWidth), contentHeight_(contentHeight), contentOffsetX_(contentOffsetX), in LoadImageSuccessEvent()
/foundation/arkui/ace_engine/interfaces/inner_api/ace/ai/
H A Dimage_analyzer.h98 float contentHeight = 0.0f; member
118 contentHeight = info.height; in UpdateFromInfo()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmulti_menu_layout_algorithm.cpp177 float contentHeight = 0.0f; in UpdateSelfSize() local
182 contentHeight += childSize.Height(); in UpdateSelfSize()
184 layoutWrapper->GetGeometryNode()->SetContentSize(SizeF(contentWidth, contentHeight)); in UpdateSelfSize()
197 auto idealHeight = GreatNotEqual(userHeight_, 0.0f) ? userHeight_ : contentHeight; in UpdateSelfSize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_layout_algorithm.cpp108 auto contentHeight = defaultCaretHeight; in MeasureEmptyContentSize() local
111 contentHeight = presetParagraph->GetHeight(); in MeasureEmptyContentSize()
113 return SizeF(width, static_cast<float>(contentHeight)); in MeasureEmptyContentSize()
143 auto contentHeight = std::min(res.Height(), maxHeight); in MeasureContent() local
144 return SizeF(res.Width(), contentHeight); in MeasureContent()
/foundation/window/window_manager/wm/src/
H A Dpicture_in_picture_controller.cpp602 uint32_t contentHeight = 0; in UpdateWinRectByComponent() local
603 pipOption_->GetContentSize(contentWidth, contentHeight); in UpdateWinRectByComponent()
604 if (contentWidth == 0 || contentHeight == 0) { in UpdateWinRectByComponent()
606 contentHeight = DEFAULT_ASPECT_RATIO[1]; in UpdateWinRectByComponent()
611 windowRect_.height_ = contentHeight; in UpdateWinRectByComponent()
628 uint32_t contentHeight = 0; in UpdateWinRectByComponent() local
629 pipOption_->GetContentSize(contentWidth, contentHeight); in UpdateWinRectByComponent()
631 windowRect_.height_ = contentHeight; in UpdateWinRectByComponent()
/foundation/arkui/ace_engine/frameworks/core/common/ai/
H A Dimage_analyzer_manager.h32 float contentHeight = 0.0f; member
/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll/
H A Dscroll_inner_layout_test_ng.cpp108 const float contentHeight = SCROLL_HEIGHT - 10.f; in HWTEST_F() local
109 ViewAbstract::SetHeight(AceType::RawPtr(frameNode_), CalcLength(contentHeight)); in HWTEST_F()
111 float ratio = contentHeight / CONTENT_MAIN_SIZE; in HWTEST_F()
112 float activeBarHeight = contentHeight * ratio; in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_input/
H A Dtext_input_layout_algorithm.cpp92 float contentHeight = 0.0f; in Measure() local
96 contentHeight = contentSize.Height(); in Measure()
122 auto actualHeight = contentHeight + pattern->GetVerticalPaddingAndBorderSum(); in Measure()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dimage_painter.cpp209 float contentHeight = contentRect.Height(); in DrawImageWithRepeat() local
219 static_cast<uint32_t>((ceil((contentHeight - config.dstRect_.GetY()) / singleImageHeight))) - 1, in DrawImageWithRepeat()
225 static_cast<float>(offset.GetY() + contentHeight)); in DrawImageWithRepeat()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_layout_algorithm.cpp184 auto contentHeight = GreatNotEqual(paragraph_->GetLongestLine(), 0.0) in InlineMeasureContent() local
188 return SizeF(contentWidth, std::min(inlineIdealHeight, contentHeight)); in InlineMeasureContent()
325 auto contentHeight = std::min(contentConstraint.maxSize.Height(), height); in PlaceHolderMeasureContent() local
329 return SizeF(contentWidth, contentHeight); in PlaceHolderMeasureContent()
354 auto contentHeight = std::min(contentConstraint.maxSize.Height() - counterNodeHeight, height); in TextAreaMeasureContent() local
357 return SizeF(contentWidth, contentHeight); in TextAreaMeasureContent()
367 float contentHeight = CalculateContentHeight(contentConstraint); in TextInputMeasureContent() local
369 return SizeF(contentWidth, contentHeight); in TextInputMeasureContent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/
H A Dnavdestination_layout_algorithm.cpp182 float contentHeight = size.Height() - titleBarAndToolBarHeight; in MeasureContentChild() local
188 constraint.selfIdealSize = OptionalSizeF(size.Width(), contentHeight); in MeasureContentChild()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnav_bar_layout_algorithm.cpp229 float contentHeight = navigationSize.Height() - titleBarHeight - toolBarHeight - toolBarDividerHeight; in MeasureContentChild() local
235 constraint.selfIdealSize = OptionalSizeF(navigationSize.Width(), contentHeight); in MeasureContentChild()
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/resource/
H A Drich_text_delegate.cpp54 constexpr char NTC_PARAM_CONTENT_HEIGHT[] = "contentHeight";
405 int32_t contentHeight = GetIntParam(param, NTC_PARAM_CONTENT_HEIGHT); in OnGotLayoutParam() local
408 webviewLayoutCallback_(layoutWidth, layoutHeight, contentHeight); in OnGotLayoutParam()
/foundation/arkui/ace_engine/frameworks/core/components/panel/
H A Drender_sliding_panel.cpp275 auto contentHeight = maxSize.Height() - blankHeight_; in InnerLayout() local
277 innerLayout.SetMaxSize(Size(maxWidth, contentHeight)); in InnerLayout()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_pattern.cpp1582 float contentHeight = info.lastMainSize_ - info.contentEndPadding_;
1587 if (GetAlwaysEnabled() && info.HeightSumSmaller(contentHeight, mainGap)) {
1588 // overScroll with contentHeight < viewport
1597 return contentHeight - heightInView;
1599 float disToBot = gridLayoutInfo_.GetDistanceToBottom(contentHeight, heightInView, mainGap);
1658 float contentHeight = std::max(GetMainContentSize(), info.totalHeightOfItemsInView_);
1660 info.lastMainSize_ - info.contentEndPadding_, contentHeight, GetMainGap());
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Ddot_indicator_paint_method.cpp291 auto contentHeight = indicatorPadding + itemHeight + indicatorPadding; in CalculateNormalMargin() local
293 contentHeight = indicatorPadding + selectedItemHeight + indicatorPadding; in CalculateNormalMargin()
296 float marginY = ((axis_ == Axis::HORIZONTAL ? frameSize.Height() : frameSize.Width()) - contentHeight) * 0.5; in CalculateNormalMargin()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/
H A Drefresh_pattern.cpp488 auto contentHeight = geometryNode->GetPaddingSize().Height(); in CalculatePullDownRatio() local
489 if (NearZero(contentHeight)) { in CalculatePullDownRatio()
499 auto gamma = scrollOffset_ / contentHeight; in CalculatePullDownRatio()

Completed in 26 milliseconds

12