Home
last modified time | relevance | path

Searched refs:newOffsetY (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dsub_menu_layout_algorithm.cpp68 … auto newOffsetY = static_cast<float>(pipelineContext->GetCustomTitleHeight().ConvertToPx()) + in Layout() local
70 wrapperOffset = OffsetF(newOffsetX, newOffsetY); in Layout()
150 … auto newOffsetY = static_cast<float>(pipelineContext->GetCustomTitleHeight().ConvertToPx()) + in GetSubMenuPosition() local
152 position -= OffsetF(newOffsetX, newOffsetY); in GetSubMenuPosition()
H A Dmenu_layout_algorithm.cpp2187 … auto newOffsetY = static_cast<float>(pipelineContext->GetCustomTitleHeight().ConvertToPx()) + in InitTargetSizeAndPosition() local
2189 targetOffset_ -= OffsetF(newOffsetX, newOffsetY); in InitTargetSizeAndPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.cpp5515 …auto newOffsetY = selectController_->GetCaretRect().GetY() - PreferredLineHeight() * 0.5 - textRec… in HandleSelectionUp() local
5516 if (GreatOrEqual(newOffsetY, 0.0)) { in HandleSelectionUp()
5518 Offset(selectController_->GetCaretRect().GetX() - contentRect_.GetX(), newOffsetY))); in HandleSelectionUp()
5533 …auto newOffsetY = selectController_->GetCaretRect().GetY() + PreferredLineHeight() * 1.5 - textRec… in HandleSelectionDown() local
5534 if (LessOrEqual(newOffsetY, textRect_.Height())) { in HandleSelectionDown()
5536 Offset(selectController_->GetCaretRect().GetX() - contentRect_.GetX(), newOffsetY))); in HandleSelectionDown()